rdstudio 0.2.0__py3-none-any.whl

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 (251) hide show
  1. rdstudio/__init__.py +3 -0
  2. rdstudio/_node/rdstudio.mjs +59351 -0
  3. rdstudio/brief.py +46 -0
  4. rdstudio/build.py +218 -0
  5. rdstudio/classify.py +131 -0
  6. rdstudio/cli.py +369 -0
  7. rdstudio/config.py +115 -0
  8. rdstudio/gitlog.py +92 -0
  9. rdstudio/launcher.py +63 -0
  10. rdstudio/learner.py +187 -0
  11. rdstudio/mcp_server.py +313 -0
  12. rdstudio/okf.py +775 -0
  13. rdstudio/procedures.py +233 -0
  14. rdstudio/references.py +228 -0
  15. rdstudio/reports.py +75 -0
  16. rdstudio/scaffold.py +227 -0
  17. rdstudio/scopes.py +162 -0
  18. rdstudio/search.py +149 -0
  19. rdstudio/serve.py +214 -0
  20. rdstudio/store.py +161 -0
  21. rdstudio/templates/agents/critic.md +20 -0
  22. rdstudio/templates/agents/librarian.md +21 -0
  23. rdstudio/templates/agents/searcher.md +21 -0
  24. rdstudio/templates/agents_section.md +31 -0
  25. rdstudio/templates/claude_section.md +3 -0
  26. rdstudio/templates/knowledge/overview.md +20 -0
  27. rdstudio/templates/knowledge/tasks/bootstrap-knowledge-base.md +45 -0
  28. rdstudio/templates/skills/decision/SKILL.md +47 -0
  29. rdstudio/templates/skills/handoff/SKILL.md +18 -0
  30. rdstudio/templates/skills/ingest-ref/SKILL.md +32 -0
  31. rdstudio/templates/skills/lint-okf/SKILL.md +15 -0
  32. rdstudio/templates/skills/promote/SKILL.md +25 -0
  33. rdstudio/templates/skills/question/SKILL.md +33 -0
  34. rdstudio/templates/skills/record-okf/SKILL.md +61 -0
  35. rdstudio/templates/skills/report/SKILL.md +46 -0
  36. rdstudio/templates/skills/report/template.html +74 -0
  37. rdstudio/templates/skills/search-okf/SKILL.md +36 -0
  38. rdstudio/templates/skills/task/SKILL.md +51 -0
  39. rdstudio/web/app.js +140 -0
  40. rdstudio/web/fonts.css +48 -0
  41. rdstudio/web/icon-192.png +0 -0
  42. rdstudio/web/icon-512.png +0 -0
  43. rdstudio/web/index.html +109 -0
  44. rdstudio/web/js/data.js +125 -0
  45. rdstudio/web/js/diagrams.js +116 -0
  46. rdstudio/web/js/graph.js +396 -0
  47. rdstudio/web/js/knowledge.js +212 -0
  48. rdstudio/web/js/layout-worker.js +15 -0
  49. rdstudio/web/js/layout.js +226 -0
  50. rdstudio/web/js/learn.js +83 -0
  51. rdstudio/web/js/map.js +1293 -0
  52. rdstudio/web/js/markdown.js +173 -0
  53. rdstudio/web/js/pages.js +219 -0
  54. rdstudio/web/js/procedures.js +262 -0
  55. rdstudio/web/js/settings.js +95 -0
  56. rdstudio/web/js/util.js +99 -0
  57. rdstudio/web/report.css +35 -0
  58. rdstudio/web/report.js +104 -0
  59. rdstudio/web/style.css +566 -0
  60. rdstudio/web/sw.js +166 -0
  61. rdstudio/web/themes/cyber.css +139 -0
  62. rdstudio/web/themes/map.css +133 -0
  63. rdstudio/web/themes/notebook.css +134 -0
  64. rdstudio/web/themes/space.css +135 -0
  65. rdstudio/web/themes/studio.css +110 -0
  66. rdstudio/web/vendor/d3.min.js +2 -0
  67. rdstudio/web/vendor/fonts/atkinson-hyperlegible-next-latin-ext-wght-italic.woff2 +0 -0
  68. rdstudio/web/vendor/fonts/atkinson-hyperlegible-next-latin-ext-wght-normal.woff2 +0 -0
  69. rdstudio/web/vendor/fonts/atkinson-hyperlegible-next-latin-wght-italic.woff2 +0 -0
  70. rdstudio/web/vendor/fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2 +0 -0
  71. rdstudio/web/vendor/fonts/caveat-latin-wght-normal.woff2 +0 -0
  72. rdstudio/web/vendor/fonts/ibm-plex-mono-latin-400-normal.woff2 +0 -0
  73. rdstudio/web/vendor/fonts/ibm-plex-mono-latin-600-normal.woff2 +0 -0
  74. rdstudio/web/vendor/fonts/ibm-plex-sans-latin-wght-italic.woff2 +0 -0
  75. rdstudio/web/vendor/fonts/ibm-plex-sans-latin-wght-normal.woff2 +0 -0
  76. rdstudio/web/vendor/fonts/inter-latin-opsz-italic.woff2 +0 -0
  77. rdstudio/web/vendor/fonts/inter-latin-opsz-normal.woff2 +0 -0
  78. rdstudio/web/vendor/fonts/jetbrains-mono-latin-wght-italic.woff2 +0 -0
  79. rdstudio/web/vendor/fonts/jetbrains-mono-latin-wght-normal.woff2 +0 -0
  80. rdstudio/web/vendor/fonts/literata-latin-ext-opsz-italic.woff2 +0 -0
  81. rdstudio/web/vendor/fonts/literata-latin-ext-opsz-normal.woff2 +0 -0
  82. rdstudio/web/vendor/fonts/literata-latin-opsz-italic.woff2 +0 -0
  83. rdstudio/web/vendor/fonts/literata-latin-opsz-normal.woff2 +0 -0
  84. rdstudio/web/vendor/fonts/source-sans-3-latin-wght-italic.woff2 +0 -0
  85. rdstudio/web/vendor/fonts/source-sans-3-latin-wght-normal.woff2 +0 -0
  86. rdstudio/web/vendor/fonts/source-serif-4-latin-opsz-italic.woff2 +0 -0
  87. rdstudio/web/vendor/fonts/source-serif-4-latin-opsz-normal.woff2 +0 -0
  88. rdstudio/web/vendor/hljs/github-dark.min.css +10 -0
  89. rdstudio/web/vendor/hljs/github.min.css +10 -0
  90. rdstudio/web/vendor/hljs/highlight.min.js +1262 -0
  91. rdstudio/web/vendor/hljs/julia.min.js +18 -0
  92. rdstudio/web/vendor/hljs/latex.min.js +33 -0
  93. rdstudio/web/vendor/hljs/matlab.min.js +15 -0
  94. rdstudio/web/vendor/katex/auto-render.min.js +1 -0
  95. rdstudio/web/vendor/katex/fonts/KaTeX_AMS-Regular.woff2 +0 -0
  96. rdstudio/web/vendor/katex/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  97. rdstudio/web/vendor/katex/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
  98. rdstudio/web/vendor/katex/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  99. rdstudio/web/vendor/katex/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  100. rdstudio/web/vendor/katex/fonts/KaTeX_Main-Bold.woff2 +0 -0
  101. rdstudio/web/vendor/katex/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
  102. rdstudio/web/vendor/katex/fonts/KaTeX_Main-Italic.woff2 +0 -0
  103. rdstudio/web/vendor/katex/fonts/KaTeX_Main-Regular.woff2 +0 -0
  104. rdstudio/web/vendor/katex/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  105. rdstudio/web/vendor/katex/fonts/KaTeX_Math-Italic.woff2 +0 -0
  106. rdstudio/web/vendor/katex/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  107. rdstudio/web/vendor/katex/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  108. rdstudio/web/vendor/katex/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  109. rdstudio/web/vendor/katex/fonts/KaTeX_Script-Regular.woff2 +0 -0
  110. rdstudio/web/vendor/katex/fonts/KaTeX_Size1-Regular.woff2 +0 -0
  111. rdstudio/web/vendor/katex/fonts/KaTeX_Size2-Regular.woff2 +0 -0
  112. rdstudio/web/vendor/katex/fonts/KaTeX_Size3-Regular.woff2 +0 -0
  113. rdstudio/web/vendor/katex/fonts/KaTeX_Size4-Regular.woff2 +0 -0
  114. rdstudio/web/vendor/katex/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  115. rdstudio/web/vendor/katex/katex.min.css +1 -0
  116. rdstudio/web/vendor/katex/katex.min.js +1 -0
  117. rdstudio/web/vendor/licenses/atkinson-hyperlegible-next-OFL.txt +93 -0
  118. rdstudio/web/vendor/licenses/caveat-OFL.txt +93 -0
  119. rdstudio/web/vendor/licenses/d3-7.9.0.txt +13 -0
  120. rdstudio/web/vendor/licenses/highlightjs-cdn-assets-11.12.0.txt +29 -0
  121. rdstudio/web/vendor/licenses/ibm-plex-mono-OFL.txt +93 -0
  122. rdstudio/web/vendor/licenses/ibm-plex-sans-OFL.txt +93 -0
  123. rdstudio/web/vendor/licenses/inter-OFL.txt +93 -0
  124. rdstudio/web/vendor/licenses/jetbrains-mono-OFL.txt +93 -0
  125. rdstudio/web/vendor/licenses/katex-0.18.7.txt +21 -0
  126. rdstudio/web/vendor/licenses/literata-OFL.txt +93 -0
  127. rdstudio/web/vendor/licenses/markdown-it-15.0.2.txt +22 -0
  128. rdstudio/web/vendor/licenses/markdown-it-footnote-4.0.0.txt +22 -0
  129. rdstudio/web/vendor/licenses/markdown-it-texmath-1.0.0.txt +21 -0
  130. rdstudio/web/vendor/licenses/mermaid-12.0.0.txt +21 -0
  131. rdstudio/web/vendor/licenses/source-sans-3-OFL.txt +93 -0
  132. rdstudio/web/vendor/licenses/source-serif-4-OFL.txt +93 -0
  133. rdstudio/web/vendor/licenses/vega-6.4.0.txt +27 -0
  134. rdstudio/web/vendor/licenses/vega-embed-7.2.0.txt +27 -0
  135. rdstudio/web/vendor/licenses/vega-lite-6.4.3.txt +27 -0
  136. rdstudio/web/vendor/markdown-it-footnote.min.js +2 -0
  137. rdstudio/web/vendor/markdown-it.min.js +14 -0
  138. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/abnfDiagram-DGLNOSUI.mjs +1 -0
  139. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/architecture-7GRP2DOG-HF4J73XS.mjs +1 -0
  140. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/architectureDiagram-IU6H5EVY.mjs +36 -0
  141. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/blockDiagram-FSX6DT2V.mjs +140 -0
  142. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/c4Diagram-YNRVYILN.mjs +38 -0
  143. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-22SYA5HA.mjs +1 -0
  144. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-2FTYKNOQ.mjs +1 -0
  145. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-36VM3LGA.mjs +1 -0
  146. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-3SEI7E7V.mjs +1 -0
  147. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-3T2MNPEU.mjs +1 -0
  148. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-44AU3KAP.mjs +174 -0
  149. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-4MZOTL6B.mjs +1 -0
  150. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-52IMQVNL.mjs +1 -0
  151. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-5NYYYZGL.mjs +1 -0
  152. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-BOZ75642.mjs +15 -0
  153. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-CVBX6EWK.mjs +1 -0
  154. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-D36F7FYG.mjs +14 -0
  155. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-DEGLBX6O.mjs +213 -0
  156. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-F6PIGZHG.mjs +1 -0
  157. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-FE53TMRB.mjs +133 -0
  158. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-FNR2RGIF.mjs +1 -0
  159. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-GDOATIN3.mjs +32 -0
  160. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-H7BX327W.mjs +2 -0
  161. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-HI3EPXIC.mjs +2 -0
  162. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-JCBDXJ5W.mjs +1 -0
  163. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-JGXDHUYS.mjs +1 -0
  164. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-L2B47AAZ.mjs +1 -0
  165. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-LIEGGFIX.mjs +1 -0
  166. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-LLWYPJEZ.mjs +1 -0
  167. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-MFYRHTYG.mjs +1 -0
  168. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-MIE3LDYP.mjs +1 -0
  169. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-MLQVGYRW.mjs +1 -0
  170. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-MNT3HHAC.mjs +1 -0
  171. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-NRRTYJAG.mjs +1 -0
  172. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-OCMJQKYE.mjs +10 -0
  173. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-PKJCTQEK.mjs +339 -0
  174. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-QADHU5CF.mjs +2 -0
  175. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-QVIEFLGF.mjs +1 -0
  176. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-QX7LGXZU.mjs +1 -0
  177. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-R2KH53MI.mjs +1 -0
  178. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-RXM7Z7NK.mjs +2 -0
  179. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-S4TE5DX6.mjs +1 -0
  180. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-SDIBIOXT.mjs +1 -0
  181. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-TDFULVG6.mjs +1 -0
  182. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-TECWHJ6D.mjs +62 -0
  183. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-TINYC7RT.mjs +70 -0
  184. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-V3KJR4XU.mjs +1 -0
  185. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-VTMXW4ES.mjs +1 -0
  186. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-Y5NT6LW5.mjs +88 -0
  187. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-Y5O5OPKC.mjs +3 -0
  188. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-YZG4BXY6.mjs +1 -0
  189. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/chunk-ZZ52EIBP.mjs +1 -0
  190. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/classDiagram-v2-VV4INRHB.mjs +217 -0
  191. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/cose-bilkent-MSIMRU2B.mjs +1 -0
  192. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/cynefin-OW5HDTMX-KMPDV6GS.mjs +1 -0
  193. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/cynefinDiagram-KTGLXFXK.mjs +62 -0
  194. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/dagre-QJJCSHY4.mjs +4 -0
  195. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/diagram-2ZIM67RP.mjs +3 -0
  196. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/diagram-FYHH5O6R.mjs +24 -0
  197. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/diagram-LYLDACMS.mjs +200 -0
  198. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/diagram-TYT3HRBC.mjs +24 -0
  199. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/diagram-XVIN6YVD.mjs +30 -0
  200. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/diagram-ZO2NLLYC.mjs +41 -0
  201. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/ebnfDiagram-TU3FGH35.mjs +1 -0
  202. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/elk-GHAXNSLK.mjs +27 -0
  203. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/erDiagram-XID3VV23.mjs +99 -0
  204. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/eventmodeling-NTZA5JFV-P5QJSWSK.mjs +1 -0
  205. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/flowDiagram-WPHQAKTU.mjs +1 -0
  206. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/ganttDiagram-QACGSKG6.mjs +292 -0
  207. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/gitGraph-4MIJSDKK-V5NEQQYP.mjs +1 -0
  208. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/gitGraphDiagram-EB76O4HC.mjs +106 -0
  209. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/info-A6RAGUB7-IGBHH2L7.mjs +1 -0
  210. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/infoDiagram-343ZKIDN.mjs +2 -0
  211. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/ishikawaDiagram-UEEU5D75.mjs +70 -0
  212. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/journeyDiagram-4QTZOVLF.mjs +139 -0
  213. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/kanban-definition-VEJL4RG2.mjs +89 -0
  214. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/katex-QVRI4OIV.mjs +257 -0
  215. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/mindmap-definition-C5K5ZT7T.mjs +96 -0
  216. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/packet-AYTQ26CC-PJTKDECJ.mjs +1 -0
  217. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/pegDiagram-FHIILVJB.mjs +1 -0
  218. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/pie-WAS4IAKB-U3JFQXZN.mjs +1 -0
  219. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/pieDiagram-S76BU6V7.mjs +39 -0
  220. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/quadrantDiagram-HZBLWUZE.mjs +7 -0
  221. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/radar-RG4KPBEZ-7T2UW32D.mjs +1 -0
  222. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/railroad-74A4TZTK-DZY7ARDL.mjs +1 -0
  223. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/railroad-abnf-HS5TGJTU-LWS535ZK.mjs +1 -0
  224. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/railroad-ebnf-LZEXJU2U-EA3S4ZFM.mjs +1 -0
  225. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/railroad-peg-WCYAUIDC-DUKZONPX.mjs +1 -0
  226. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/railroadDiagram-R6RP3MQ2.mjs +1 -0
  227. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/requirementDiagram-SGBABQV6.mjs +84 -0
  228. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/sankeyDiagram-IM6M5BOW.mjs +40 -0
  229. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/sequenceDiagram-FGJOIFJ2.mjs +169 -0
  230. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/sizeCapture-ERV5D3W5.mjs +1 -0
  231. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/stateDiagram-v2-6KDGCZ5J.mjs +291 -0
  232. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/swimlanes-OJBUSBEF.mjs +1 -0
  233. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/swimlanesDiagram-LNXYTHDW.mjs +8 -0
  234. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/timeline-definition-7G6YQRTY.mjs +120 -0
  235. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/treeView-Q6P3EWNA-AABPVERA.mjs +1 -0
  236. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/treemap-WGGIJYW6-F2JSY3V3.mjs +1 -0
  237. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/usecaseDiagram-6Y6TMLBO.mjs +383 -0
  238. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/vennDiagram-6RODYPCK.mjs +34 -0
  239. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/wardley-WFR3VGLG-EIT5NWVN.mjs +1 -0
  240. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/wardleyDiagram-RFZKLAPA.mjs +78 -0
  241. rdstudio/web/vendor/mermaid/chunks/mermaid.esm.min/xychartDiagram-TWWI2QJZ.mjs +7 -0
  242. rdstudio/web/vendor/mermaid/mermaid.esm.min.mjs +14 -0
  243. rdstudio/web/vendor/texmath.js +368 -0
  244. rdstudio/web/vendor/vega/vega-embed.min.js +7 -0
  245. rdstudio/web/vendor/vega/vega-lite.min.js +2 -0
  246. rdstudio/web/vendor/vega/vega.min.js +1 -0
  247. rdstudio-0.2.0.dist-info/METADATA +201 -0
  248. rdstudio-0.2.0.dist-info/RECORD +251 -0
  249. rdstudio-0.2.0.dist-info/WHEEL +4 -0
  250. rdstudio-0.2.0.dist-info/entry_points.txt +3 -0
  251. rdstudio-0.2.0.dist-info/licenses/LICENSE +21 -0
rdstudio/web/style.css ADDED
@@ -0,0 +1,566 @@
1
+ /* rdstudio dashboard. Engineering-paper palette; Literata for reading, Atkinson Hyperlegible Next for the interface. */
2
+
3
+ @import url("fonts.css");
4
+ /* Colours, fonts and sizes come from themes/<name>.css, linked before this file. */
5
+
6
+ :root { --safe-top: env(safe-area-inset-top, 0px); --bar-h: calc(52px + var(--safe-top)); --vh: 100vh; }
7
+ @supports (height: 100dvh) { :root { --vh: 100dvh; } } /* excludes mobile browser bars */
8
+
9
+ * { box-sizing: border-box; }
10
+ html, body { margin: 0; height: 100%; }
11
+ body {
12
+ background-color: var(--paper);
13
+ background-image: var(--page-image, none);
14
+ background-size: var(--page-size, auto);
15
+ color: var(--ink);
16
+ font: 16px/1.5 var(--font-ui);
17
+ -webkit-text-size-adjust: 100%;
18
+ }
19
+ a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
20
+ a:hover { text-decoration-thickness: 2px; }
21
+ :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
22
+ button { font: inherit; color: inherit; }
23
+ [hidden] { display: none !important; }
24
+
25
+ /* ------------------------------------------------------------------ bar */
26
+
27
+ .bar {
28
+ position: sticky; top: 0; z-index: 20;
29
+ height: var(--bar-h);
30
+ display: flex; align-items: center; gap: 18px;
31
+ padding: var(--safe-top) 16px 0;
32
+ background: var(--paper-raised);
33
+ border-bottom: 1px solid var(--rule);
34
+ }
35
+ .brand {
36
+ font: 600 18px/1 var(--font-heading, var(--font-text));
37
+ font-size: var(--brand-size, 18px);
38
+ color: var(--ink); text-decoration: none; white-space: nowrap;
39
+ font-variation-settings: "opsz" 36;
40
+ }
41
+ .menu {
42
+ display: none; border: 1px solid var(--rule); background: none;
43
+ width: 36px; height: 36px; border-radius: var(--radius); cursor: pointer;
44
+ }
45
+ .menu svg { display: block; margin: auto; }
46
+ .tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; height: 100%; min-width: 0; flex: 0 1 auto; }
47
+ .tabs::-webkit-scrollbar { display: none; }
48
+ .tabs a {
49
+ display: flex; align-items: center; gap: 6px;
50
+ padding: 0 12px; height: 100%;
51
+ color: var(--ink-soft); text-decoration: none; white-space: nowrap;
52
+ border-bottom: 2px solid transparent; margin-bottom: -1px;
53
+ }
54
+ .tabs a:hover { color: var(--ink); }
55
+ .tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); font-weight: 600; }
56
+ .count {
57
+ font-size: 12px; line-height: 18px; min-width: 20px; padding: 0 6px; text-align: center;
58
+ border-radius: 9px; background: var(--paper-sunk); color: var(--ink-soft); font-weight: 600;
59
+ }
60
+ .count.alert { background: var(--stale); color: var(--paper-raised); }
61
+ .live { margin-left: auto; font-size: 13px; color: var(--ink-faint); white-space: nowrap; }
62
+ .live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
63
+ background: var(--reviewed); margin-right: 6px; vertical-align: 1px; }
64
+ .live.offline::before { background: var(--ink-faint); }
65
+
66
+ /* ------------------------------------------------------------- layouts */
67
+
68
+ #view { min-height: calc(var(--vh) - var(--bar-h)); }
69
+ .page { max-width: 980px; margin: 0 auto; padding: 28px 24px 64px; }
70
+ .page > h1 { font: 600 30px/1.2 var(--font-heading, var(--font-text)); font-size: var(--h1-size, 30px); margin: 0 0 6px; font-variation-settings: "opsz" 48; }
71
+ .lede { color: var(--ink-soft); margin: 0 0 28px; max-width: 64ch; }
72
+
73
+ .kn {
74
+ display: grid;
75
+ grid-template-columns: 272px minmax(0, 1fr) 288px;
76
+ min-height: calc(var(--vh) - var(--bar-h));
77
+ }
78
+ .kn.no-meta { grid-template-columns: 272px minmax(0, 1fr); }
79
+ .tree {
80
+ border-right: 1px solid var(--rule);
81
+ background: var(--paper-raised);
82
+ position: sticky; top: var(--bar-h); height: calc(var(--vh) - var(--bar-h));
83
+ overflow-y: auto; padding: 14px 10px 40px;
84
+ font-size: 15px;
85
+ }
86
+ .doc { padding: 36px clamp(20px, 5vw, 64px) 96px; min-width: 0; }
87
+ .meta {
88
+ border-left: 1px solid var(--rule);
89
+ padding: 36px 20px 64px;
90
+ font-size: 14px;
91
+ position: sticky; top: var(--bar-h); height: calc(var(--vh) - var(--bar-h)); overflow-y: auto;
92
+ }
93
+
94
+ /* --------------------------------------------------------------- tree */
95
+
96
+ .filter {
97
+ width: 100%; padding: 8px 10px; margin: 0 0 12px;
98
+ border: 1px solid var(--rule); border-radius: var(--radius);
99
+ background: var(--paper); color: var(--ink); font: inherit; font-size: 14px;
100
+ }
101
+ .tree ul { list-style: none; margin: 0; padding: 0; }
102
+ .tree ul ul { padding-left: 14px; border-left: 1px solid var(--rule); margin-left: 7px; }
103
+ .tree details > summary { list-style: none; cursor: pointer; }
104
+ .tree details > summary::-webkit-details-marker { display: none; }
105
+ .tree .dir {
106
+ display: flex; align-items: center; gap: 6px;
107
+ padding: 5px 6px; border-radius: 4px; font-weight: 600;
108
+ }
109
+ .tree .dir .twisty { width: 12px; color: var(--ink-faint); transition: transform .12s; flex: none; }
110
+ .tree details[open] > summary .twisty { transform: rotate(90deg); }
111
+ .tree .dir a { color: var(--ink); text-decoration: none; }
112
+ .tree .dir a:hover { text-decoration: underline; }
113
+ .tree .item a {
114
+ display: flex; align-items: baseline; gap: 8px;
115
+ padding: 4px 6px; border-radius: 4px;
116
+ color: var(--ink-soft); text-decoration: none; line-height: 1.35;
117
+ }
118
+ .tree .item a:hover { background: var(--paper-sunk); color: var(--ink); }
119
+ .tree .item a[aria-current="page"], .tree .dir.current { background: var(--accent-soft); color: var(--ink); }
120
+ .tree .root-link { display: block; padding: 5px 6px; font-weight: 600; color: var(--ink); text-decoration: none; }
121
+
122
+ .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; transform: translateY(-1px); }
123
+ .dot.human-reviewed { background: var(--reviewed); }
124
+ .dot.machine-confirmed { background: var(--machine); }
125
+ .dot.unverified { background: transparent; box-shadow: inset 0 0 0 1.5px var(--unverified); }
126
+ .dot.stale { background: var(--stale); }
127
+
128
+ /* ------------------------------------------------------------ prose */
129
+
130
+ .doc-head { max-width: 72ch; margin-bottom: 28px; }
131
+ .doc-kind { color: var(--ink-faint); font-size: 14px; margin: 0 0 6px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
132
+ .doc-head h1 { font: 600 34px/1.18 var(--font-heading, var(--font-text)); font-size: var(--h1-doc-size, 34px); margin: 0; font-variation-settings: "opsz" 60; letter-spacing: -0.01em; }
133
+ .doc-head .description { font: 19px/1.5 var(--font-text); color: var(--ink-soft); margin: 10px 0 0; font-style: italic; }
134
+
135
+ .prose { font: var(--text-size)/1.68 var(--font-text); max-width: 72ch; font-variation-settings: "opsz" 18; }
136
+ .prose h1, .prose h2, .prose h3, .prose h4 { font-family: var(--font-text); line-height: 1.25; margin: 1.8em 0 .5em; font-variation-settings: "opsz" 36; }
137
+ .prose h1 { font-size: 26px; font-weight: 600; }
138
+ .prose h2 { font-size: 22px; font-weight: 600; }
139
+ .prose h3 { font-size: 19px; font-weight: 600; }
140
+ .prose h4 { font-size: 17px; font-weight: 700; }
141
+ .prose > :first-child { margin-top: 0; }
142
+ .prose p, .prose ul, .prose ol, .prose blockquote, .prose table, .prose pre { margin: 0 0 1.05em; }
143
+ .prose li { margin: .2em 0; }
144
+ .prose li > p { margin: 0; }
145
+ .prose ul.contains-task-list { list-style: none; padding-left: 4px; }
146
+ .prose blockquote { border-left: 3px solid var(--accent); padding: 2px 0 2px 16px; color: var(--ink-soft); margin-left: 0; }
147
+ .prose code { font: .86em/1 var(--font-mono); background: var(--paper-sunk); padding: .15em .35em; border-radius: 4px; }
148
+ .prose pre {
149
+ font: 14px/1.55 var(--font-mono); background: var(--paper-raised); border: 1px solid var(--rule);
150
+ border-radius: var(--radius); padding: 14px 16px; overflow-x: auto;
151
+ }
152
+ .prose pre code { background: none; padding: 0; font-size: inherit; }
153
+ .prose pre code.hljs { background: none; padding: 0; }
154
+ .prose .table-wrap { overflow-x: auto; margin: 0 0 1.2em; }
155
+ .prose table { border-collapse: collapse; font: 15px/1.45 var(--font-ui); min-width: 60%; margin: 0; }
156
+ .prose th, .prose td { border-bottom: 1px solid var(--rule); padding: 8px 12px 8px 0; text-align: left; vertical-align: top; }
157
+ .prose th { font-weight: 700; border-bottom: 2px solid var(--ink-faint); }
158
+ .prose img { max-width: 100%; height: auto; }
159
+ .prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }
160
+ .prose a.broken { color: var(--stale); text-decoration-style: dashed; }
161
+ .prose a.external::after { content: "↗"; font-size: .75em; margin-left: 2px; }
162
+ .prose .katex { font-size: 1.05em; }
163
+ .prose .katex-display { overflow-x: auto; overflow-y: hidden; padding: 4px 0; }
164
+ .prose eqn, .prose section.eqno { display: block; }
165
+ code, pre, kbd, samp { font-variant-ligatures: none; } /* show -> and != as typed */
166
+ .mermaid-block { margin: 0 0 1.2em; overflow-x: auto; text-align: center; }
167
+ .mermaid-block svg { max-width: 100%; height: auto; }
168
+ .mermaid-block pre { text-align: left; }
169
+ .mermaid-block[data-rendered="pending"] .mermaid-source { opacity: .5; }
170
+ .mermaid-error { font: 14px var(--font-ui); color: var(--stale); text-align: left; margin: 0 0 6px; }
171
+ .prose .footnotes { font-size: 15px; color: var(--ink-soft); }
172
+ .prose .footnotes-sep { border-top: 1px solid var(--rule); margin-top: 2.5em; }
173
+
174
+ /* ----------------------------------------------------------- meta panel */
175
+
176
+ .meta h2 { font: 700 13px/1.3 var(--font-ui); color: var(--ink-faint); margin: 24px 0 8px; letter-spacing: .02em; }
177
+ .meta h2:first-child { margin-top: 0; }
178
+ .trust {
179
+ display: inline-flex; align-items: center; gap: 7px;
180
+ font-size: 13px; font-weight: 600; padding: 3px 10px 3px 8px; border-radius: 12px;
181
+ border: 1px solid currentColor;
182
+ }
183
+ .trust.human-reviewed { color: var(--reviewed); }
184
+ .trust.machine-confirmed { color: var(--machine); }
185
+ .trust.unverified { color: var(--unverified); }
186
+ .trust.stale { color: var(--stale); }
187
+ .fm { width: 100%; border-collapse: collapse; }
188
+ .fm th, .fm td { text-align: left; vertical-align: top; padding: 6px 0; border-bottom: 1px solid var(--rule); }
189
+ .fm th { color: var(--ink-faint); font-weight: 600; padding-right: 12px; width: 38%; word-break: break-word; }
190
+ .fm td { word-break: break-word; }
191
+ .fm ul { margin: 0; padding: 0; list-style: none; }
192
+ .fm li + li { margin-top: 4px; }
193
+ .fm .sub { display: block; color: var(--ink-faint); font-size: 12.5px; }
194
+ .chip {
195
+ display: inline-block; font-size: 12.5px; line-height: 20px; padding: 0 8px; margin: 0 4px 4px 0;
196
+ border-radius: 10px; background: var(--paper-sunk); color: var(--ink-soft);
197
+ }
198
+ .outline, .linklist { list-style: none; margin: 0; padding: 0; }
199
+ .outline li a, .linklist li a { display: block; padding: 3px 0; color: var(--ink-soft); text-decoration: none; }
200
+ .outline li a:hover, .linklist li a:hover { color: var(--accent); }
201
+ .outline .l2 { padding-left: 12px; } .outline .l3 { padding-left: 24px; } .outline .l4 { padding-left: 36px; }
202
+ .meta details.fm-wrap > summary { display: none; }
203
+
204
+ /* --------------------------------------------------------- lists/pages */
205
+
206
+ .rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
207
+ .rows > li { border-bottom: 1px solid var(--rule); padding: 14px 0; }
208
+ .rows .title { font: 600 18px/1.3 var(--font-text); color: var(--ink); text-decoration: none; }
209
+ .rows a.title:hover { color: var(--accent); }
210
+ .rows .sub { color: var(--ink-faint); font-size: 14px; margin-top: 3px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
211
+ .rows .desc { color: var(--ink-soft); margin-top: 4px; font-size: 15px; }
212
+ .section-h { font: 600 21px/1.3 var(--font-heading, var(--font-text)); font-size: var(--h2-size, 21px); margin: 36px 0 4px; display: flex; align-items: baseline; gap: 10px; }
213
+ .section-h .count { font-family: var(--font-ui); }
214
+ .section-note { color: var(--ink-faint); font-size: 14px; margin: 0 0 10px; max-width: 70ch; }
215
+ .empty { color: var(--ink-faint); font-style: italic; padding: 10px 0; }
216
+
217
+ /* changes */
218
+ .commit { border-bottom: 1px solid var(--rule); padding: 16px 0; }
219
+ .commit-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
220
+ .commit-subject { font: 600 17px/1.35 var(--font-text); }
221
+ .commit-sub { color: var(--ink-faint); font-size: 13.5px; }
222
+ .commit-sub code { font: 12.5px var(--font-mono); }
223
+ .commit.pending .commit-subject { font-style: italic; }
224
+ .filegroups { margin-top: 10px; display: grid; gap: 8px; }
225
+ .filegroup { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; font-size: 14px; }
226
+ .cat { font-weight: 700; font-size: 13px; }
227
+ .cat::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; background: currentColor; }
228
+ .cat.knowledge { color: var(--cat-knowledge); } .cat.code { color: var(--cat-code); }
229
+ .cat.reports { color: var(--cat-reports); } .cat.agent { color: var(--cat-agent); } .cat.other { color: var(--cat-other); }
230
+ .files { list-style: none; margin: 0; padding: 0; font: 13px/1.6 var(--font-mono); color: var(--ink-soft); min-width: 0; }
231
+ .files li { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
232
+ .files .st { display: inline-block; width: 16px; color: var(--ink-faint); }
233
+ .files .st.added { color: var(--reviewed); } .files .st.deleted { color: var(--stale); }
234
+ .files a { color: inherit; text-decoration: none; } .files a:hover { color: var(--accent); text-decoration: underline; }
235
+ .toggles { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
236
+ .toggle {
237
+ border: 1px solid var(--rule); background: var(--paper-raised); border-radius: 16px;
238
+ padding: 4px 12px; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
239
+ }
240
+ .toggle[aria-pressed="true"] { border-color: var(--ink-soft); background: var(--paper-sunk); }
241
+ .toggle[aria-pressed="false"] { color: var(--ink-faint); }
242
+ .toggle[aria-pressed="false"] .cat { opacity: .45; }
243
+
244
+ /* reports */
245
+ .report-frame-wrap { display: flex; flex-direction: column; height: calc(var(--vh) - var(--bar-h)); }
246
+ .report-bar { display: flex; align-items: center; gap: 14px; padding: 10px 16px; border-bottom: 1px solid var(--rule); background: var(--paper-raised); font-size: 14px; flex-wrap: wrap; }
247
+ .report-bar strong { font: 600 16px var(--font-text); }
248
+ .report-frame { flex: 1; width: 100%; border: 0; background: var(--paper); }
249
+
250
+ /* skills */
251
+ .cards2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 28px; }
252
+
253
+ /* --------------------------------------------------------------- graph */
254
+
255
+ .graph-wrap { position: relative; height: calc(var(--vh) - var(--bar-h)); overflow: hidden;
256
+ background-color: var(--paper);
257
+ background-image:
258
+ linear-gradient(var(--grid) 1px, transparent 1px),
259
+ linear-gradient(90deg, var(--grid) 1px, transparent 1px);
260
+ background-size: 24px 24px;
261
+ }
262
+ .graph-wrap svg { width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
263
+ .graph-wrap svg:active { cursor: grabbing; }
264
+ .g-link { stroke: var(--ink-soft); stroke-opacity: .55; stroke-width: 1.2; fill: none; }
265
+ .g-tree { stroke: var(--ink-faint); stroke-opacity: .5; stroke-width: 1; stroke-dasharray: 3 3; }
266
+ .g-node { cursor: pointer; }
267
+ .g-node .shape { stroke: var(--paper); stroke-width: 1.5; }
268
+ .g-node .hit { fill: transparent; stroke: none; }
269
+ .g-node.dir .shape { fill: var(--paper-raised); stroke: var(--ink); stroke-width: 1.6; }
270
+ .g-node.report .shape { fill: var(--cat-reports); }
271
+ .g-node.pinned .shape { stroke: var(--ink); stroke-width: 2; }
272
+ .g-label {
273
+ font: 12px var(--font-ui); fill: var(--ink); cursor: pointer;
274
+ paint-order: stroke; stroke: var(--paper); stroke-width: 3.5px; stroke-linejoin: round;
275
+ }
276
+ .g-label.dir { font-weight: 700; font-size: 13px; }
277
+ .g-node.dim, .g-label.dim { opacity: .18; }
278
+ .g-edge-dim { opacity: .08; }
279
+ .graph-panel {
280
+ position: absolute; top: 12px; left: 12px; right: auto; max-width: min(360px, calc(100% - 24px));
281
+ background: var(--paper-raised); border: 1px solid var(--rule); border-radius: var(--radius);
282
+ padding: 10px 12px; font-size: 14px; display: grid; gap: 8px;
283
+ }
284
+ .graph-panel .row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
285
+ .graph-panel input[type="search"] { flex: 1; min-width: 120px; padding: 6px 8px; border: 1px solid var(--rule); border-radius: 4px; background: var(--paper); color: var(--ink); font: inherit; font-size: 14px; }
286
+ .graph-options > summary { display: none; }
287
+ .graph-options { display: grid; gap: 8px; }
288
+ .graph-options[open] { display: grid; }
289
+ .sliders { display: grid; gap: 4px; }
290
+ .slider { display: grid; grid-template-columns: 104px 1fr 44px; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-soft); }
291
+ .slider input { width: 100%; accent-color: var(--accent); }
292
+ .slider output { font-variant-numeric: tabular-nums; text-align: right; color: var(--ink-faint); }
293
+ .legend { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; color: var(--ink-soft); }
294
+ .legend span { display: inline-flex; align-items: center; gap: 5px; }
295
+ .legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
296
+ .graph-hint { position: absolute; bottom: 10px; left: 12px; font-size: 12.5px; color: var(--ink-faint); }
297
+ .graph-tip {
298
+ position: absolute; pointer-events: none; background: var(--paper-raised); border: 1px solid var(--rule);
299
+ border-radius: var(--radius); padding: 8px 10px; font-size: 13px; max-width: 280px; box-shadow: 0 4px 16px rgb(0 0 0 / .08);
300
+ }
301
+ .graph-tip strong { display: block; font: 600 14px/1.3 var(--font-text); }
302
+ .graph-tip span { color: var(--ink-faint); }
303
+
304
+ /* ----------------------------------------------------------------- map */
305
+
306
+ /* Themes restyle the map through these tokens (all optional): --map-canvas,
307
+ --map-image, --map-size, --region-open-alpha, --region-closed-alpha,
308
+ --region-dash, --place-fill, --route-from, --route-to, --route-both,
309
+ --territory-font and friends. No filters (glows, blurs, wobble): the map is
310
+ repainted on every zoom step, and filters made that 25 to 80 times slower
311
+ (bench/, T31). Effects are fills, strokes, dashes and opacity. */
312
+ .map-wrap { background-color: var(--map-canvas, var(--paper)); background-image: var(--map-image, none); background-size: var(--map-size, auto); }
313
+ .map-wrap .m-back { fill: transparent; }
314
+ .m-dir { fill: var(--c); stroke: var(--c); cursor: zoom-in; transition: fill-opacity .2s, opacity .2s;
315
+ stroke-dasharray: var(--region-dash, none); }
316
+ .m-dir.open { fill-opacity: var(--region-open-alpha, .035); stroke-opacity: .5; stroke-width: .8; }
317
+ .m-dir.open.depth-1 { stroke-width: 1.5; stroke-opacity: .6; }
318
+ .m-dir.closed { fill-opacity: var(--region-closed-alpha, .11); stroke-opacity: .55; stroke-width: 1; }
319
+ .m-dir.closed:hover { fill-opacity: calc(var(--region-closed-alpha, .11) + .09); }
320
+ .m-place { cursor: pointer; transition: opacity .2s; }
321
+ .m-place .mark { fill: var(--place-fill, var(--c)); stroke: var(--paper); stroke-width: 1.5; }
322
+ .m-place.ring .mark { fill: var(--paper); stroke: var(--place-fill, var(--c)); stroke-width: 2; }
323
+ .m-place .ring { fill: none; stroke: var(--ink); stroke-width: 1.4; }
324
+ .m-place.landmark .mark { stroke: var(--ink); stroke-width: 1.4; }
325
+ .m-place:focus-visible { outline: none; }
326
+ .m-place:focus-visible .mark { stroke: var(--accent); stroke-width: 3; }
327
+ /* Route colour means direction only (set per route: a gradient from a note to
328
+ what it links to, or --route-both for links both ways). */
329
+ .m-link { fill: none; stroke-opacity: var(--route-opacity, .55); stroke-linecap: round; transition: opacity .2s; }
330
+ .m-link.s1 { stroke-opacity: .35; stroke-dasharray: 2 4; }
331
+ .m-link.s3 { stroke-opacity: .75; }
332
+ svg.focusing .m-routes .m-link:not(.hot) { opacity: .15; }
333
+ svg.focusing .m-routes .m-link.hot { stroke-opacity: .95; stroke-dasharray: none; }
334
+ .m-routes.context .m-link { opacity: .22; }
335
+ .m-routes.context .m-link.hot { opacity: 1; }
336
+ svg.focusing .m-place:not(.related) { opacity: .3; }
337
+ svg.focusing .m-text.place:not(.related) { opacity: .3; }
338
+ .m-implied { fill: none; stroke: var(--ink-faint); stroke-width: 1; stroke-dasharray: 3 3; opacity: .7; pointer-events: none; }
339
+ .m-labels { pointer-events: none; }
340
+ .m-text, .m-arc {
341
+ font: 12px var(--font-ui); fill: var(--ink);
342
+ paint-order: stroke; stroke: var(--paper); stroke-width: 3px; stroke-linejoin: round;
343
+ }
344
+ .m-text.place { fill: var(--ink); font-family: var(--place-font, var(--font-ui)); font-size: var(--place-size, 12px); }
345
+ .m-text.landmark { font-weight: 700; font-size: 12.5px; }
346
+ .m-text.territory { font-family: var(--territory-font, var(--font-ui)); font-style: var(--territory-style, normal); font-size: var(--territory-size, 14px); font-weight: var(--territory-weight, 600); letter-spacing: var(--territory-spacing, .06em); fill: var(--territory-ink, var(--ink-soft)); }
347
+ .m-text.territory .count { font-size: 11.5px; font-weight: 400; letter-spacing: 0; fill: var(--ink-faint); }
348
+ .m-arc { font-family: var(--territory-font, var(--font-ui)); font-style: var(--territory-style, normal); font-size: var(--territory-size, 14px); font-weight: var(--territory-weight, 600); letter-spacing: var(--territory-spacing, .08em); fill: var(--territory-ink, var(--ink-soft)); }
349
+ .map-crumbs {
350
+ position: absolute; top: 12px; right: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
351
+ max-width: calc(100% - 400px); justify-content: flex-end;
352
+ background: var(--paper-raised); border: 1px solid var(--rule); border-radius: var(--radius); padding: 4px 8px; font-size: 13.5px;
353
+ }
354
+ .map-crumbs button { border: 0; background: none; color: var(--accent); font: inherit; padding: 2px 3px; cursor: pointer; }
355
+ .map-crumbs button[aria-current] { color: var(--ink); font-weight: 700; cursor: default; }
356
+ .map-crumbs span { color: var(--ink-faint); }
357
+ .legend .key-landmark { background: var(--paper-raised); border: 1.5px solid var(--ink); box-shadow: 0 0 0 2px var(--paper-raised), 0 0 0 3.5px var(--ink); width: 8px; height: 8px; margin: 0 3px; }
358
+ .m-key path { fill: var(--ink-soft); }
359
+ .m-key.ring path { fill: none; stroke: var(--ink-soft); stroke-width: 1.6; }
360
+ .map-panel { max-height: calc(100% - 24px); overflow: auto; }
361
+ .map-tuning > summary { display: block; cursor: pointer; color: var(--ink-soft); font-size: 13.5px; }
362
+ .map-tuning .slider { grid-template-columns: 150px 1fr 44px; }
363
+ .dual-slider { grid-template-columns: 104px 1fr; }
364
+ .dual-slider output { grid-column: 2; text-align: left; }
365
+ .dual { position: relative; height: 20px; margin: 0 14px; cursor: pointer; touch-action: none; }
366
+ .dual::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 3px; border-radius: 2px; background: var(--rule); }
367
+ .dual-fill { position: absolute; top: 9px; height: 3px; border-radius: 2px; background: var(--accent); }
368
+ .dual-thumb { position: absolute; top: 2px; width: 11px; height: 17px; background: var(--accent);
369
+ border: 2px solid var(--paper-raised); box-shadow: 0 0 0 1px var(--accent); }
370
+ /* The lower thumb sits just left of its value and the upper just right, as
371
+ the two halves of a bracket: apart even when both mark the same value. */
372
+ .dual-thumb.lo { margin-left: -13px; border-radius: 9px 2px 2px 9px; }
373
+ .dual-thumb.hi { margin-left: 2px; border-radius: 2px 9px 9px 2px; }
374
+ .dual-thumb:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
375
+ .dist { display: grid; gap: 4px; }
376
+ .seg { font-size: 13px; color: var(--ink-soft); }
377
+ .seg .toggle { padding: 2px 8px; font-size: 12.5px; }
378
+ .map-hint { margin: 0; font-size: 12.5px; color: var(--ink-faint); }
379
+ .route-key i { width: 26px; height: 3px; border-radius: 2px; }
380
+ .route-key .key-dir { background: linear-gradient(90deg, var(--route-from, var(--accent)), var(--route-to, var(--stale))); }
381
+ .route-key .key-both { background: var(--route-both, var(--ink-faint)); }
382
+ .route-key .key-dotted { background: repeating-linear-gradient(90deg, var(--ink-faint) 0 2px, transparent 2px 6px); }
383
+ .map-status { position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%); margin: 0;
384
+ padding: 4px 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper-raised);
385
+ color: var(--ink-soft); font-size: 13px; pointer-events: none; }
386
+ .map-status[hidden] { display: none; }
387
+ .map-readout { margin: 0; font-size: 12.5px; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
388
+ .map-snippet { margin: 0; font-size: 12px; padding: 8px; background: var(--paper-sunk); border-radius: 4px; user-select: all; white-space: pre; overflow: auto; }
389
+ .legend .key-across { width: 18px; height: 0; border-radius: 0; border-top: 2px dashed var(--accent); }
390
+
391
+ /* ------------------------------------------------------------ narrow */
392
+
393
+ .scrim { display: none; }
394
+
395
+ @media (max-width: 1180px) {
396
+ .kn, .kn.no-meta { grid-template-columns: 248px minmax(0, 1fr); }
397
+ .meta { grid-column: 2; position: static; height: auto; border-left: 0; border-top: 1px solid var(--rule); padding: 20px clamp(20px, 5vw, 64px) 64px; }
398
+ .meta .meta-inner { max-width: 72ch; }
399
+ .kn .doc { padding-bottom: 32px; }
400
+ }
401
+
402
+ @media (max-width: 760px) {
403
+ :root { --bar-h: calc(92px + var(--safe-top)); }
404
+ body { font-size: 15.5px; }
405
+ .bar { flex-wrap: wrap; gap: 0 10px; padding: var(--safe-top) 12px 0; align-content: stretch; }
406
+ .menu { display: block; flex: none; }
407
+ .menu[hidden] { display: none !important; }
408
+ .brand { font-size: 17px; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; height: 48px; display: flex; align-items: center; }
409
+ .live { display: inline; font-size: 12.5px; }
410
+ .tabs { order: 5; flex: 0 0 calc(100% + 24px); margin: 0 -12px; padding: 0 4px; height: 44px; border-top: 1px solid var(--rule); }
411
+ .tabs a { padding: 0 10px; }
412
+ .kn, .kn.no-meta { display: block; }
413
+ .tree {
414
+ position: fixed; z-index: 30; top: var(--bar-h); left: 0; bottom: 0; height: auto; width: min(86vw, 320px);
415
+ transform: translateX(-102%); transition: transform .18s ease-out; box-shadow: 0 0 24px rgb(0 0 0 / .18);
416
+ }
417
+ body.drawer-open .tree { transform: none; }
418
+ body.drawer-open .scrim { display: block; position: fixed; inset: var(--bar-h) 0 0 0; background: rgb(0 0 0 / .25); z-index: 25; }
419
+ .doc { padding: 22px 16px 24px; }
420
+ .meta { padding: 16px 16px 48px; }
421
+ .doc-head h1 { font-size: 27px; }
422
+ .doc-head .description { font-size: 17px; }
423
+ .prose { font-size: calc(var(--text-size) - 1px); line-height: 1.62; }
424
+ .page { padding: 20px 16px 48px; }
425
+ .page > h1 { font-size: 25px; }
426
+ .filegroup { grid-template-columns: 1fr; gap: 2px; }
427
+ .meta details.fm-wrap > summary { display: block; cursor: pointer; font-weight: 700; color: var(--ink-soft); padding: 6px 0; }
428
+ .graph-panel { top: 8px; left: 8px; right: 8px; max-width: none; }
429
+ .graph-options > summary { display: block; cursor: pointer; color: var(--ink-soft); font-size: 13.5px; }
430
+ .graph-hint { display: none; }
431
+ .map-crumbs { top: auto; bottom: 10px; left: 8px; right: 8px; max-width: none; justify-content: flex-start; }
432
+ }
433
+
434
+ @media (prefers-reduced-motion: reduce) {
435
+ * { transition: none !important; animation: none !important; }
436
+ }
437
+
438
+ /* ---------------------------------------------------------- procedures */
439
+
440
+ .page.wide { max-width: 1320px; }
441
+ .flow-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; margin: 16px 0 8px; }
442
+ .flow-scroll {
443
+ overflow: auto; border: 1px solid var(--rule); border-radius: var(--radius);
444
+ background-color: var(--paper);
445
+ background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
446
+ background-size: 24px 24px;
447
+ max-height: 70vh;
448
+ }
449
+ .flow { display: block; max-width: none; height: auto; }
450
+ .flow.vertical { margin: 0 auto; }
451
+ .flow-node rect { fill: var(--paper-raised); stroke: var(--ink-faint); stroke-width: 1.2; }
452
+ .flow-node.start rect { stroke: var(--ink); stroke-width: 2; }
453
+ .flow-node text { font: 13.5px var(--font-ui); fill: var(--ink); }
454
+ .flow-node, .flow-edge { cursor: pointer; outline: none; }
455
+ .flow-node:hover rect, .flow-node:focus-visible rect { stroke: var(--accent); }
456
+ .flow-node.selected rect { stroke: var(--accent); stroke-width: 2.5; fill: var(--accent-soft); }
457
+ .flow-line { fill: none; stroke-width: 1.8; }
458
+ .flow-hit { fill: none; stroke: transparent; stroke-width: 14; }
459
+ .flow-edge:hover .flow-line, .flow-edge:focus-visible .flow-line, .flow-edge.selected .flow-line { stroke-width: 3; }
460
+ .flow-note { stroke: var(--paper); stroke-width: 1.5; }
461
+ .inspector-wrap { position: sticky; top: calc(var(--bar-h) + 16px); }
462
+ .inspector { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper-raised); padding: 14px 16px; font-size: 15px; }
463
+ .inspector.empty { color: var(--ink-faint); font-style: italic; }
464
+ .inspector h3 { font: 600 18px/1.35 var(--font-text); margin: 0 0 10px; }
465
+ .inspector .rel { font: 500 14px var(--font-ui); }
466
+ .inspector .attr { border-top: 1px solid var(--rule); padding-top: 8px; margin-top: 8px; }
467
+ .inspector .attr strong { font-size: 13px; color: var(--ink-faint); }
468
+ .inspector .attr p { margin: 2px 0 0; }
469
+ .inspector .attr.pitfalls strong { color: var(--stale); }
470
+ .inspector .doc-kind code { font: 12.5px var(--font-mono); }
471
+ .chip.state-pending { background: var(--accent-soft); color: var(--ink); }
472
+ .chip.state-rejected { text-decoration: line-through; }
473
+ .chip.state-applied { color: var(--reviewed); }
474
+ @media (max-width: 1000px) {
475
+ .flow-layout { grid-template-columns: 1fr; }
476
+ .inspector-wrap { position: static; }
477
+ .flow-scroll { max-height: none; }
478
+ }
479
+
480
+ /* ------------------------------------------------------------ settings */
481
+
482
+ .settings-link {
483
+ display: inline-flex; align-items: center; gap: 6px; height: 100%; padding: 0 4px 0 10px;
484
+ color: var(--ink-soft); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px;
485
+ }
486
+ .settings-link:hover { color: var(--ink); }
487
+ .settings-link[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); font-weight: 600; }
488
+ .theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 8px 0 12px; }
489
+ .theme-card {
490
+ display: grid; gap: 6px; text-align: left; cursor: pointer; padding: 14px 16px;
491
+ background: var(--paper-raised); border: 1px solid var(--rule); border-radius: var(--radius); color: var(--ink);
492
+ }
493
+ .theme-card:hover { border-color: var(--ink-faint); }
494
+ .theme-card[aria-checked="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
495
+ .theme-name { font-size: 17px; font-weight: 700; }
496
+ .theme-sample { font-size: 16px; line-height: 1.4; }
497
+ .theme-note { font-size: 13.5px; color: var(--ink-soft); }
498
+ .theme-swatches { display: flex; gap: 12px; margin-top: 4px; }
499
+ .swatches { display: inline-flex; border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; }
500
+ .swatches i { width: 18px; height: 18px; display: block; }
501
+ @media (max-width: 760px) {
502
+ .settings-link span { display: none; }
503
+ .settings-link { height: 48px; }
504
+ }
505
+
506
+ /* A fixed page texture is cheap with a mouse but repaints on every scroll on phones. */
507
+ @media (hover: hover) and (pointer: fine) {
508
+ body { background-attachment: fixed; }
509
+ }
510
+
511
+ /* No fades while the map is being panned or zoomed. */
512
+ .map-wrap svg.moving .m-link, .map-wrap svg.moving .m-dir, .map-wrap svg.moving .m-place { transition: none; }
513
+
514
+ /* Short screens (a phone on its side) get the compact map and graph controls too. */
515
+ @media (max-height: 560px) {
516
+ .graph-panel { top: 8px; left: 8px; max-width: min(360px, calc(100% - 16px)); padding: 6px 10px; }
517
+ .graph-options > summary { display: block; cursor: pointer; color: var(--ink-soft); font-size: 13.5px; }
518
+ .map-panel { max-height: calc(100% - 16px); }
519
+ .graph-hint { display: none; }
520
+ .map-crumbs { top: 8px; right: 8px; padding: 2px 6px; font-size: 12.5px; }
521
+ }
522
+
523
+ .fullscreen { border: 0; background: none; color: var(--ink-soft); cursor: pointer; padding: 6px; display: inline-flex; border-radius: var(--radius); }
524
+ .fullscreen:hover, .fullscreen[aria-pressed="true"] { color: var(--ink); }
525
+
526
+ /* ------------------------------------------------------------ learn */
527
+ .depth { color: var(--ink-faint); font: 12px/1 var(--font-ui); white-space: nowrap; }
528
+ .linklist.study { counter-reset: step; }
529
+ .linklist.study li { display: flex; align-items: baseline; gap: 8px; counter-increment: step; }
530
+ .linklist.study li::before { content: counter(step); color: var(--ink-faint); font: 12px/1 var(--font-ui); min-width: 1.4em; text-align: right; }
531
+ .linklist.study li a { flex: 1; }
532
+ ol.reading { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--rule); }
533
+ ol.reading li.folder { font: 700 13px/1.3 var(--font-ui); color: var(--ink-faint); padding: 18px 0 6px; letter-spacing: .02em; }
534
+ ol.reading li.step { display: grid; grid-template-columns: 2.6em 1fr auto 3.2em; align-items: baseline; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--rule); }
535
+ ol.reading li.step::before { content: attr(value); color: var(--ink-faint); font: 13px/1 var(--font-ui); text-align: right; }
536
+ ol.reading li.step > a:first-child { color: var(--ink); text-decoration: none; }
537
+ ol.reading li.step > a:first-child:hover { color: var(--accent); }
538
+ ol.reading .path-link { font: 12px/1 var(--font-ui); color: var(--ink-soft); }
539
+
540
+ /* Study path on the map */
541
+ svg.trail .m-place:not(.on-trail) { opacity: .28; }
542
+ svg.trail .m-text.place:not(.on-trail) { opacity: .35; }
543
+ svg.trail .m-text.on-trail { font-weight: 700; }
544
+ .m-steps { pointer-events: none; }
545
+ .m-step rect { fill: var(--paper-raised); stroke: var(--ink-soft); stroke-width: 1; }
546
+ .m-step text { font: 700 10.5px/1 var(--font-ui); fill: var(--ink); text-anchor: middle; }
547
+ .m-step.goal rect { fill: var(--accent); stroke: var(--accent); }
548
+ .m-step.goal text { fill: var(--paper); }
549
+ .trail-card {
550
+ position: absolute; right: 12px; bottom: 12px; width: min(320px, calc(100% - 24px)); max-height: calc(100% - 80px); overflow: auto;
551
+ background: var(--paper-raised); border: 1px solid var(--rule); border-radius: var(--radius); padding: 10px 12px; font-size: 14px;
552
+ }
553
+ .trail-card > summary { cursor: pointer; font-weight: 600; padding-right: 22px; }
554
+ .trail-card > summary .count { margin-left: 8px; color: var(--ink-faint); font-weight: 400; }
555
+ .trail-card .section-note { margin: 6px 0 4px; font-size: 13px; }
556
+ .trail-steps { margin: 0; padding: 0 0 0 1.8em; }
557
+ .trail-steps li { padding: 1px 0; }
558
+ .trail-steps li::marker { color: var(--ink-faint); font-size: 12px; }
559
+ .trail-steps li.goal { font-weight: 700; }
560
+ .trail-steps button { border: 0; background: none; padding: 2px 0; font: inherit; color: var(--ink); cursor: pointer; text-align: left; }
561
+ .trail-steps button:hover { color: var(--accent); }
562
+ .trail-steps a { margin-left: 8px; font-size: 12px; color: var(--ink-faint); }
563
+ .trail-close { position: absolute; top: 6px; right: 10px; font-size: 20px; line-height: 1; color: var(--ink-faint); text-decoration: none; }
564
+ @media (max-width: 760px), (max-height: 560px) {
565
+ .trail-card { bottom: 56px; right: 8px; width: calc(100% - 16px); max-height: 45%; }
566
+ }