keepfold 0.6.4__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 (148) hide show
  1. keepfold/__init__.py +1 -0
  2. keepfold/_proc.py +102 -0
  3. keepfold/access.py +154 -0
  4. keepfold/agent_eval.py +162 -0
  5. keepfold/agent_text.py +56 -0
  6. keepfold/anki.py +285 -0
  7. keepfold/app/__init__.py +5 -0
  8. keepfold/app/actions.py +690 -0
  9. keepfold/app/desktop.py +677 -0
  10. keepfold/app/exports.py +254 -0
  11. keepfold/app/hello.py +79 -0
  12. keepfold/app/launch.py +114 -0
  13. keepfold/app/news.py +60 -0
  14. keepfold/app/server.py +3142 -0
  15. keepfold/app/status.py +811 -0
  16. keepfold/app/targets.py +1374 -0
  17. keepfold/app/winpath.py +54 -0
  18. keepfold/app/wizard.py +506 -0
  19. keepfold/ask.py +475 -0
  20. keepfold/askfile.py +322 -0
  21. keepfold/assets/LICENSE-d3.txt +13 -0
  22. keepfold/assets/agent_eval.json +235 -0
  23. keepfold/assets/app/app.css +611 -0
  24. keepfold/assets/app/app.js +2712 -0
  25. keepfold/assets/app/capture.html +16 -0
  26. keepfold/assets/app/capture.js +91 -0
  27. keepfold/assets/app/index.html +149 -0
  28. keepfold/assets/brain3d.js +3730 -0
  29. keepfold/assets/chat_eval.json +454 -0
  30. keepfold/assets/d3.v7.min.js +2 -0
  31. keepfold/assets/dashboard.css +774 -0
  32. keepfold/assets/dashboard.html.tmpl +170 -0
  33. keepfold/assets/dashboard.js +4262 -0
  34. keepfold/assets/help/GUIDE.md +544 -0
  35. keepfold/assets/help/help.md +83 -0
  36. keepfold/assets/keepfold.ico +0 -0
  37. keepfold/assets/whats_new.json +162 -0
  38. keepfold/backup.py +100 -0
  39. keepfold/brainmap.py +1382 -0
  40. keepfold/browse/__init__.py +10 -0
  41. keepfold/browse/build.py +1320 -0
  42. keepfold/browse/forget.py +510 -0
  43. keepfold/browse/legacy.py +95 -0
  44. keepfold/browse/lists.py +285 -0
  45. keepfold/browse/privacy.py +391 -0
  46. keepfold/browse/selftest.py +166 -0
  47. keepfold/browse/sites.py +1068 -0
  48. keepfold/browse/sources.py +329 -0
  49. keepfold/browse/store.py +991 -0
  50. keepfold/browse/takeout.py +312 -0
  51. keepfold/browse/titles.py +127 -0
  52. keepfold/browse/vectors.py +326 -0
  53. keepfold/browse_serve.py +332 -0
  54. keepfold/catalog.py +564 -0
  55. keepfold/chat.py +1464 -0
  56. keepfold/chat_archive.py +165 -0
  57. keepfold/chat_eval.py +583 -0
  58. keepfold/chat_facts.py +721 -0
  59. keepfold/chat_import.py +1045 -0
  60. keepfold/chat_pages.py +291 -0
  61. keepfold/chat_study.py +371 -0
  62. keepfold/chats.py +669 -0
  63. keepfold/claims.py +650 -0
  64. keepfold/cli.py +3254 -0
  65. keepfold/clients.py +96 -0
  66. keepfold/cloudllm.py +135 -0
  67. keepfold/contract.py +43 -0
  68. keepfold/corrections.py +134 -0
  69. keepfold/dashboard.py +959 -0
  70. keepfold/dates.py +202 -0
  71. keepfold/delta.py +146 -0
  72. keepfold/digest.py +72 -0
  73. keepfold/doctor.py +565 -0
  74. keepfold/duplicates.py +145 -0
  75. keepfold/egress.py +68 -0
  76. keepfold/eval_history.py +109 -0
  77. keepfold/events.py +554 -0
  78. keepfold/export_context.py +109 -0
  79. keepfold/fact_harvest.py +578 -0
  80. keepfold/forget.py +720 -0
  81. keepfold/harvest.py +334 -0
  82. keepfold/home.py +714 -0
  83. keepfold/importers.py +627 -0
  84. keepfold/index.py +733 -0
  85. keepfold/know.py +40 -0
  86. keepfold/learning_eval.py +261 -0
  87. keepfold/levels.py +595 -0
  88. keepfold/life_sources.py +747 -0
  89. keepfold/lint.py +241 -0
  90. keepfold/localllm.py +699 -0
  91. keepfold/loops.py +316 -0
  92. keepfold/mcp_server.py +4464 -0
  93. keepfold/migrate.py +552 -0
  94. keepfold/more_sources.py +709 -0
  95. keepfold/packs.py +148 -0
  96. keepfold/people.py +99 -0
  97. keepfold/planner.py +819 -0
  98. keepfold/prime.py +630 -0
  99. keepfold/prime_hook.py +265 -0
  100. keepfold/profiles.py +118 -0
  101. keepfold/quarantine.py +123 -0
  102. keepfold/recall_log.py +93 -0
  103. keepfold/redteam.py +393 -0
  104. keepfold/reflect.py +164 -0
  105. keepfold/relink.py +477 -0
  106. keepfold/render.py +406 -0
  107. keepfold/review.py +1181 -0
  108. keepfold/rollups.py +412 -0
  109. keepfold/safety_net.py +571 -0
  110. keepfold/sample.py +103 -0
  111. keepfold/sample_vault/areas/programming.algorithms.md +11 -0
  112. keepfold/sample_vault/areas/programming.basics.md +11 -0
  113. keepfold/sample_vault/concepts/big-o-notation.md +13 -0
  114. keepfold/sample_vault/concepts/functions.md +13 -0
  115. keepfold/sample_vault/concepts/loops.md +14 -0
  116. keepfold/sample_vault/concepts/recursion.md +13 -0
  117. keepfold/sample_vault/domains/programming.md +10 -0
  118. keepfold/sample_vault/journal/2026-01-12.md +9 -0
  119. keepfold/sample_vault/me/goals.md +17 -0
  120. keepfold/sample_vault/me/profile.md +19 -0
  121. keepfold/sample_vault/mistakes/programming.off-by-one-loop.md +16 -0
  122. keepfold/sample_vault/notes/recursion-needs-a-base-case.md +18 -0
  123. keepfold/sample_vault/problems/fizzbuzz.md +12 -0
  124. keepfold/sample_vault/projects/text-adventure.md +15 -0
  125. keepfold/sample_vault/resources/python-tutorial.md +16 -0
  126. keepfold/semantic.py +1254 -0
  127. keepfold/session.py +764 -0
  128. keepfold/share.py +69 -0
  129. keepfold/sources.py +612 -0
  130. keepfold/sync_copies.py +83 -0
  131. keepfold/tags.py +230 -0
  132. keepfold/taint.py +301 -0
  133. keepfold/tonight.py +195 -0
  134. keepfold/topics.py +1072 -0
  135. keepfold/update.py +300 -0
  136. keepfold/vault.py +942 -0
  137. keepfold/vecstore.py +218 -0
  138. keepfold/voice.py +260 -0
  139. keepfold/voice_memos.py +280 -0
  140. keepfold/watch.py +303 -0
  141. keepfold/where.py +119 -0
  142. keepfold/xray.py +516 -0
  143. keepfold/zotero.py +303 -0
  144. keepfold-0.6.4.dist-info/METADATA +644 -0
  145. keepfold-0.6.4.dist-info/RECORD +148 -0
  146. keepfold-0.6.4.dist-info/WHEEL +4 -0
  147. keepfold-0.6.4.dist-info/entry_points.txt +6 -0
  148. keepfold-0.6.4.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,774 @@
1
+ /* Night Platform. Night is the default; day is airport yellow. */
2
+ :root, :root[data-theme="night"] {
3
+ --ground: #0b0b0a; --panel: #141412; --band: #1b1a17; --band-ink: #ffb000;
4
+ --rule: rgba(255, 176, 0, .16); --lit: #ffb000; --unlit: #3a2c10;
5
+ --ink: #efe7d6; --ink-2: #b9ab90; --ink-3: #958870;
6
+ --edge: rgba(255, 176, 0, .34); --stage: #0b0b0a; --scrim: rgba(0, 0, 0, .62);
7
+ --refresh: #d0607f; /* #993556 is 2.6:1 on the night panel; this lighter wine is 4.7:1 */
8
+ color-scheme: dark;
9
+ }
10
+ @media (prefers-color-scheme: light) {
11
+ :root:not([data-theme]) {
12
+ --ground: #ebe8e1; --panel: #f8f6f1; --band: #efe7d4; --band-ink: #7a4d00;
13
+ --rule: rgba(70, 50, 10, .16); --lit: #8a5700; --unlit: #e3d6b4;
14
+ --ink: #1f1c17; --ink-2: #4d473c; --ink-3: #6b6457;
15
+ --edge: rgba(70, 50, 10, .32); --stage: #0b0b0a; --scrim: rgba(31, 28, 23, .4);
16
+ --refresh: #993556; color-scheme: light;
17
+ }
18
+ }
19
+ :root[data-theme="day"] {
20
+ --ground: #ebe8e1; --panel: #f8f6f1; --band: #efe7d4; --band-ink: #7a4d00;
21
+ --rule: rgba(70, 50, 10, .16); --lit: #8a5700; --unlit: #e3d6b4;
22
+ --ink: #1f1c17; --ink-2: #4d473c; --ink-3: #6b6457;
23
+ --edge: rgba(70, 50, 10, .32); --stage: #0b0b0a; --scrim: rgba(31, 28, 23, .4);
24
+ --refresh: #993556; color-scheme: light;
25
+ }
26
+ :root {
27
+ --dur-1: 120ms; --dur-2: 200ms; --ease-out: cubic-bezier(.2,.7,.2,1); --ease-in: cubic-bezier(.4,0,1,1);
28
+ --solid: #1D9E75; --learning: #BA7517; --hollow: var(--ink-3);
29
+ --hdr: 56px;
30
+ scrollbar-color: var(--unlit) transparent; scrollbar-width: thin;
31
+ }
32
+
33
+ * { box-sizing: border-box; }
34
+ html, body { margin: 0; background: var(--ground); color: var(--ink); }
35
+ body {
36
+ font: 400 14px/1.45 system-ui, "Segoe UI", sans-serif; font-variant-numeric: tabular-nums;
37
+ caret-color: var(--lit); overflow-x: hidden;
38
+ }
39
+ ::selection { background: var(--lit); color: var(--ground); }
40
+ ::-webkit-scrollbar { width: 8px; height: 8px; }
41
+ ::-webkit-scrollbar-track { background: transparent; }
42
+ ::-webkit-scrollbar-thumb { background: var(--unlit); border-radius: 2px; }
43
+ ::-webkit-scrollbar-thumb:hover { background: var(--lit); }
44
+ :focus-visible { outline: 2px solid var(--lit); outline-offset: 2px; }
45
+ h1, h2, h3, h4, b, strong, th { font-weight: 600; }
46
+ h1 { font-size: 20px; margin: 28px 0 14px; }
47
+ h2 { font-size: 15px; margin: 30px 0 10px; }
48
+ h3 { font-size: 14px; margin: 18px 0 6px; }
49
+ h4 { font-size: 13px; margin: 16px 0 4px; color: var(--ink-2); }
50
+ button, input, select { font: inherit; color: inherit; }
51
+ button { cursor: pointer; }
52
+ /* buttons: colour changes ease (never size or layout); a press scales to .97 with a tint (as the app) */
53
+ button, .btn { transition: background-color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out),
54
+ color var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out); }
55
+ button:active:not(:disabled) {
56
+ transform: scale(.97); background-image: linear-gradient(var(--rule), var(--rule));
57
+ }
58
+ section[role="tabpanel"]:not([hidden]) { animation: fade-in .12s ease-out; }
59
+ @keyframes fade-in { from { opacity: 0; } }
60
+ a { color: var(--lit); text-underline-offset: 3px; }
61
+ [hidden] { display: none !important; }
62
+ .muted, .ink-2 { color: var(--ink-2); }
63
+ .ink-3 { color: var(--ink-3); }
64
+ .small { font-size: 12.5px; }
65
+ .empty { color: var(--ink-2); padding: 10px 12px; margin: 0; }
66
+ code { font-family: ui-monospace, Consolas, "SF Mono", monospace; font-size: 12.5px; }
67
+ input[type="search"], select {
68
+ background: var(--panel); border: 1px solid var(--edge); border-radius: 2px; padding: 6px 10px;
69
+ color: var(--ink);
70
+ }
71
+ input[type="search"]::placeholder { color: var(--ink-3); }
72
+
73
+ /* dot matrix: lit dots and the unlit cell behind them */
74
+ .dm { display: inline-block; vertical-align: middle; flex: none; }
75
+ .dm .on { fill: var(--lit); }
76
+ .dm .off { fill: var(--unlit); }
77
+ .band .dm .on, .top .dm .on { fill: var(--band-ink); }
78
+
79
+ /* icons */
80
+ .ico { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5;
81
+ stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
82
+
83
+ /* header strip */
84
+ .top {
85
+ position: sticky; top: 0; z-index: 15; background: var(--band); color: var(--band-ink);
86
+ display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(max-content, 1fr); align-items: center; /* the right side never runs under the tabs */
87
+ gap: 16px; padding: 8px 20px; min-height: 56px; border-bottom: 1px solid var(--rule);
88
+ }
89
+ .brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
90
+ .greet { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
91
+ .tabs { display: flex; gap: 2px; }
92
+ .tabs button {
93
+ border: 0; background: none; padding: 8px 10px; color: var(--ink-2);
94
+ border-bottom: 2px solid transparent; border-radius: 0;
95
+ }
96
+ .top .tabs button { color: var(--band-ink); opacity: 1; }
97
+ .tabs button[aria-selected="false"] { color: var(--ink-2); }
98
+ .tabs button[aria-selected="true"] { font-weight: 600; }
99
+ /* a moving highlight: the pressed button's ::before is its fill (the tabs' underline: its ::after);
100
+ dashboard.js glide() slides it in from the button that lost it. Nothing else of the control moves. */
101
+ :is(.seg, .viewswitch, .presets, .scrub-span, .tabs) button { position: relative; isolation: isolate; }
102
+ :is(.seg, .viewswitch, .presets, .scrub-span) button[aria-pressed="true"]::before {
103
+ content: ''; position: absolute; inset: 0; z-index: -1; background: var(--hl, var(--band)); }
104
+ .tabs button[aria-selected="true"]::after {
105
+ content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--band-ink); }
106
+ .tabs button:hover { border-bottom-color: var(--rule); }
107
+ .tabs button[aria-selected="false"]:hover { color: var(--band-ink); }
108
+ .section-select { display: none; }
109
+ .hright { justify-self: end; display: flex; align-items: center; gap: 10px; min-width: 0; }
110
+ .stale { color: var(--ink-2); font-size: 12.5px; white-space: nowrap; }
111
+ .icon-btn {
112
+ display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0;
113
+ border: 1px solid var(--rule); background: none; border-radius: 2px; color: inherit;
114
+ }
115
+ .icon-btn:hover { border-color: var(--edge); }
116
+
117
+ main { padding: 4px 24px 64px; max-width: 1440px; margin: 0 auto; }
118
+ main:has(#view-brain:not([hidden])) { max-width: none; padding: 0; }
119
+ section:focus { outline: none; }
120
+
121
+ /* boards */
122
+ .board {
123
+ background: var(--panel); border: 1px solid var(--rule); border-radius: 2px; min-width: 0;
124
+ }
125
+ .board.pad { padding: 12px 14px; }
126
+ .band {
127
+ background: var(--band); color: var(--band-ink); display: flex; align-items: center; gap: 10px;
128
+ padding: 6px 12px; min-height: 38px; border-bottom: 1px solid var(--rule);
129
+ }
130
+ .band h2 { font-size: 13px; margin: 0; color: var(--band-ink); letter-spacing: .02em; }
131
+ .band-note { color: var(--ink-2); font-size: 12.5px; margin-left: auto; white-space: nowrap;
132
+ overflow: hidden; text-overflow: ellipsis; }
133
+ :root[data-theme="day"] .band-note { color: var(--band-ink); }
134
+ .band-btn {
135
+ border: 1px solid var(--band-ink); background: none; color: var(--band-ink); border-radius: 2px;
136
+ padding: 2px 10px; font-size: 12.5px;
137
+ }
138
+ .band .band-note + .band-btn { margin-left: 0; }
139
+ .band h2 + .band-btn { margin-left: auto; }
140
+ .brow {
141
+ display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: center;
142
+ padding: 8px 12px; border-bottom: 1px solid var(--rule); min-height: 46px;
143
+ }
144
+ .brow:last-child { border-bottom: 0; }
145
+ .brow.idle { background: none; }
146
+ .brow .t, .dep-row > .t { min-width: 0; overflow: hidden; }
147
+ .line1 { display: flex; gap: 8px; align-items: baseline; min-width: 0; }
148
+ .line1 > .ttl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
149
+ .sub { color: var(--ink-3); font-size: 12.5px; white-space: nowrap; overflow: hidden;
150
+ text-overflow: ellipsis; display: block; }
151
+ .acts { display: flex; gap: 4px; align-items: center; justify-self: end; }
152
+ .act {
153
+ display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 0;
154
+ border: 1px solid transparent; background: none; border-radius: 2px; color: var(--ink-2);
155
+ }
156
+ .act:hover, .act:focus-visible { color: var(--lit); border-color: var(--edge); }
157
+ .pad-h { margin: 12px 12px 4px; }
158
+ .foot { padding: 8px 12px; color: var(--ink-2); font-size: 12.5px; border-top: 1px solid var(--rule); }
159
+ .linkbtn {
160
+ border: 0; background: none; padding: 0; color: var(--ink); text-align: left; min-width: 0;
161
+ text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px;
162
+ }
163
+ .linkbtn:hover { text-decoration-color: var(--lit); }
164
+ .ttl.linkbtn { display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
165
+ .foot .linkbtn { color: var(--lit); }
166
+ .code {
167
+ display: inline-block; background: var(--band); color: var(--band-ink); font-size: 11.5px;
168
+ font-weight: 600; letter-spacing: .04em; padding: 1px 6px; border-radius: 2px; white-space: nowrap;
169
+ border: 1px solid var(--rule);
170
+ }
171
+ .kind { color: var(--ink-2); font-size: 12.5px; white-space: nowrap; }
172
+
173
+ /* departures */
174
+ .dep-head, .dep-row {
175
+ display: grid; grid-template-columns: 68px minmax(0, 1fr) 64px 112px 64px; gap: 0 10px;
176
+ align-items: center; padding: 0 12px;
177
+ }
178
+ .dep-head {
179
+ background: var(--band); color: var(--band-ink); font-size: 11.5px; font-weight: 600;
180
+ letter-spacing: .06em; min-height: 30px; border-bottom: 1px solid var(--rule);
181
+ }
182
+ .dep-row { min-height: 52px; border-bottom: 1px solid var(--rule); }
183
+ /* a time label wider than the TIME column (TODAY, IN 2D, 21 NOV) draws with a smaller dot pitch */
184
+ .dep-row .tcell .dm { max-width: 100%; height: auto; }
185
+ .dep-row:last-of-type { border-bottom: 0; }
186
+ /* the item column is narrow on the half-width board: its line wraps instead of cutting off */
187
+ .dep-row .sub { white-space: normal; text-wrap: balance; }
188
+ .dep-row .acts { opacity: 0; }
189
+ .dep-row:hover .acts, .dep-row:focus-within .acts { opacity: 1; }
190
+ @media (hover: none) { .dep-row .acts { opacity: 1; } }
191
+ .status { white-space: nowrap; font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
192
+ .status.word { font-weight: 600; letter-spacing: .06em; font-size: 12px; }
193
+ .departures-title { display: flex; align-items: center; gap: 10px; }
194
+
195
+ /* home layout */
196
+ .home-top {
197
+ display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; margin-top: 20px;
198
+ }
199
+ .home-brain { display: flex; flex-direction: column; }
200
+ .home-brain .brain-slot { flex: 1; min-height: 520px; }
201
+ .home-row { display: grid; gap: 24px; margin-top: 24px; align-items: start; }
202
+ .home-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
203
+ .home-row.two { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
204
+ .home-row.one { grid-template-columns: minmax(0, 1fr); }
205
+ /* UX-E: Get started on a new vault, above everything; Pin layout, quiet, at Home's end */
206
+ .board.get-started { margin-bottom: 24px; }
207
+ .get-started .brow { grid-template-columns: minmax(0, 1fr) minmax(0, auto); }
208
+ .gs-form { display: flex; flex: 1; gap: 6px; min-width: 0; }
209
+ .gs-form input {
210
+ flex: 1 1 18em; min-width: 0; background: var(--panel); border: 1px solid var(--edge);
211
+ border-radius: 2px; padding: 6px 10px; color: var(--ink);
212
+ }
213
+ .gs-form input::placeholder { color: var(--ink-3); }
214
+ .home-pin { margin-top: 16px; font-size: 12.5px; }
215
+ .home-pin .linkbtn { color: var(--ink-2); }
216
+ /* the 90-second check (the live home): above Next up while open */
217
+ .board.cold { margin-bottom: 24px; }
218
+ .cold-timer { margin: 0; padding: 8px 12px; color: var(--ink-2); font-size: 12.5px;
219
+ border-bottom: 1px solid var(--rule); }
220
+ .cold-item { padding: 10px 12px; border-bottom: 1px solid var(--rule); }
221
+ .cold-item:last-child { border-bottom: 0; }
222
+ .cold-item h3 { font-size: 14px; margin: 0 0 4px; }
223
+ .cold-item p { margin: 4px 0; }
224
+ .cold-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
225
+ .cold-acts[hidden], .cold-sum[hidden] { display: none; }
226
+ /* the live home: the feed, quick chat, the Settings link */
227
+ .band h2 + .band-tools { margin-left: auto; }
228
+ a.band-btn { text-decoration: none; color: var(--band-ink); }
229
+ a.icon-btn { color: inherit; }
230
+ .feed .board-body { max-height: 440px; overflow-y: auto; }
231
+ .feed-subj { font-size: 12px; color: var(--ink-2); margin: 0; padding: 10px 12px 2px; }
232
+ .ftime { color: var(--ink-3); font-size: 12.5px; white-space: nowrap; }
233
+ .brow.fresh { animation: fresh 1.5s ease-out; }
234
+ @keyframes fresh { from { background: var(--unlit); } }
235
+ .quick-chat .board-body { padding: 10px 12px 12px; }
236
+ .qc-label { display: block; color: var(--ink-2); font-size: 12.5px; margin-bottom: 4px; }
237
+ .qc-row { display: flex; gap: 6px; }
238
+ .qc-row input {
239
+ flex: 1; min-width: 0; background: var(--panel); border: 1px solid var(--edge); border-radius: 2px;
240
+ padding: 6px 10px; color: var(--ink);
241
+ }
242
+ .qc-need { color: var(--ink-2); font-size: 12.5px; margin: 8px 0 0; }
243
+ .qc-out { margin-top: 6px; overflow-wrap: anywhere; }
244
+ .qc-out p { margin: 6px 0; }
245
+ /* R31: Add a date, inline under the Exams and deadlines rows */
246
+ .date-form {
247
+ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto); gap: 8px 8px;
248
+ padding: 10px 12px 12px; border-top: 1px solid var(--rule);
249
+ }
250
+ .date-form .df-what, .date-form .df-acts { grid-column: 1 / -1; }
251
+ .df-field { display: flex; flex-direction: column; min-width: 0; }
252
+ .df-field input {
253
+ min-width: 0; background: var(--panel); border: 1px solid var(--edge); border-radius: 2px;
254
+ padding: 6px 10px; color: var(--ink);
255
+ }
256
+ .df-field input::placeholder { color: var(--ink-3); }
257
+ .df-acts { display: flex; gap: 6px; }
258
+ .btn.lit { background: var(--lit); border-color: var(--lit); color: var(--ground); font-weight: 600; }
259
+ .btn.lit:hover { color: var(--ground); }
260
+ .btn:disabled { opacity: .6; cursor: default; }
261
+ .brain-slot { position: relative; background: var(--stage); overflow: hidden; }
262
+ .brain-host { position: absolute; inset: 0; }
263
+ .ready { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin-top: 4px; } /* a long label wraps under the bar */
264
+ .ready .sub { white-space: normal; }
265
+ .bar { flex: 1; height: 8px; background: var(--unlit); border-radius: 2px; overflow: hidden; min-width: 120px; }
266
+ .bar > span { display: block; height: 100%; width: 100%; background: var(--solid);
267
+ transform: scaleX(var(--f, 0)); transform-origin: left; transition: transform var(--dur-2) var(--ease-out); }
268
+
269
+ /* brain section */
270
+ .brain-stage { position: relative; height: calc(100dvh - var(--hdr)); min-height: 460px; }
271
+ .b3d, .b2d { position: absolute; inset: 0; }
272
+ .b3d .brain-slot { position: absolute; inset: 0; }
273
+ /* the canvas sits beside the open rail, so the left label column is never under it */
274
+ @media (min-width: 761px) { .b3d:has(.rail:not(.closed)) .brain-slot { left: 284px; } }
275
+ .viewswitch {
276
+ position: absolute; top: 12px; right: 16px; z-index: 6; display: flex; background: var(--panel);
277
+ border: 1px solid var(--edge); border-radius: 2px;
278
+ }
279
+ .viewswitch button { border: 0; background: none; padding: 6px 12px; color: var(--ink-2); }
280
+ .viewswitch button[aria-pressed="true"] { color: var(--band-ink); font-weight: 600; }
281
+ .rail {
282
+ position: absolute; top: 12px; left: 12px; bottom: 12px; width: 260px; z-index: 5;
283
+ background: var(--panel); border: 1px solid var(--rule); border-radius: 2px; display: flex;
284
+ flex-direction: column; min-height: 0;
285
+ }
286
+ .rail.closed { bottom: auto; width: auto; }
287
+ .rail-toggle {
288
+ border: 0; border-bottom: 1px solid var(--rule); background: var(--band); color: var(--band-ink);
289
+ text-align: left; padding: 7px 12px; font-weight: 600; font-size: 13px;
290
+ }
291
+ .rail.closed .rail-toggle { border-bottom: 0; }
292
+ .rail-body { overflow: auto; padding: 10px 12px 12px; min-height: 0; }
293
+ .rail-body input { width: 100%; }
294
+ .rail-body h3 { font-size: 12.5px; color: var(--ink-2); margin: 14px 0 6px; }
295
+ .rail-note { margin: 4px 0 0; color: var(--ink-3); font-size: 12.5px; min-height: 1em; }
296
+ /* the outline: region > lobe > page, a WAI tree */
297
+ .outline-toggle { border: 0; background: none; padding: 0; color: inherit; font: inherit; display: inline-flex;
298
+ gap: 4px; align-items: center; }
299
+ .all-lobes, .outline .ti {
300
+ display: grid; grid-template-columns: 14px 52px minmax(0, 1fr) auto; gap: 6px; align-items: center;
301
+ width: 100%; border: 0; background: none; padding: 4px 2px; text-align: left; color: var(--ink);
302
+ border-bottom: 1px solid var(--rule); font-size: 13px; cursor: pointer;
303
+ }
304
+ .all-lobes { grid-template-columns: minmax(0, 1fr); padding-left: 22px; }
305
+ .all-lobes:hover, .all-lobes[aria-pressed="true"], .outline .ti:hover,
306
+ .outline [aria-selected="true"] > .ti { background: var(--band); }
307
+ .outline, .outline ul { list-style: none; margin: 0; padding: 0; }
308
+ .outline li:focus { outline: none; }
309
+ .outline li:focus-visible > .ti { outline: 2px solid var(--lit); outline-offset: -2px; }
310
+ .outline .ti .ico { transition: transform .15s; }
311
+ .outline [aria-expanded="true"] > .ti .ico { transform: rotate(90deg); }
312
+ .outline .region > .ti { grid-template-columns: 14px minmax(0, 1fr) auto; color: var(--ink-2); font-weight: 600; }
313
+ .outline .page > .ti { grid-template-columns: 14px minmax(0, 1fr); padding-left: 16px; }
314
+ .outline .site > .ti { grid-template-columns: 14px minmax(0, 1fr) auto; }
315
+ .outline .n { color: var(--ink-3); font-size: 12px; }
316
+ .outline .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
317
+ .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0);
318
+ white-space: nowrap; border: 0; padding: 0; }
319
+
320
+ /* brain controls: modes, spin, today, unsorted chats, the Growth scrubber */
321
+ .brain-tools {
322
+ position: absolute; top: 12px; left: 284px; z-index: 5; display: flex; flex-wrap: wrap; gap: 8px;
323
+ align-items: center; background: var(--panel); border: 1px solid var(--rule); border-radius: 2px;
324
+ padding: 6px 8px; max-width: calc(100% - 284px - 300px);
325
+ }
326
+ /* the renderer's breadcrumb sits just under the toolbar in the Brain section */
327
+ .b3d { --brain-crumbs-top: 58px; --brain-crumbs-left: 284px; }
328
+ .seg { display: inline-flex; border: 1px solid var(--edge); border-radius: 2px; }
329
+ .seg button { border: 0; border-radius: 0; background: none; padding: 4px 10px; color: var(--ink-2); font-size: 12.5px; }
330
+ .seg button + button { border-left: 1px solid var(--rule); }
331
+ .seg button[aria-pressed="true"] { color: var(--band-ink); font-weight: 600; }
332
+ .seg button:hover { color: var(--lit); }
333
+ .seg button[aria-pressed="true"]:hover { color: var(--band-ink); }
334
+ .tbtn[aria-pressed="true"] { background: var(--band); color: var(--band-ink); border-color: var(--lit); }
335
+ .scrub-span .tbtn[aria-pressed="true"] { background: none; } /* its fill is the glide's ::before */
336
+ .scrub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; flex: 1 1 100%; font-size: 12.5px; color: var(--ink-2); }
337
+ .scrub-row { display: flex; align-items: center; gap: 8px; flex: 1 1 100%; flex-wrap: wrap; }
338
+ .scrub input { flex: 1; min-width: 120px; accent-color: var(--lit); }
339
+ .scrub output { color: var(--ink); min-width: 70px; }
340
+ .scrub-span { display: inline-flex; gap: 4px; }
341
+ .scrub-bars { display: flex; gap: 2px; align-items: flex-end; height: 32px; flex: 1 1 100%; }
342
+ .scrub-bars .sb { flex: 1 1 0; min-width: 0; height: 100%; display: flex; align-items: flex-end; cursor: pointer; }
343
+ .scrub-bars .sb i { display: block; width: 100%; background: var(--ink-3); }
344
+ .scrub-bars .sb.on i { background: var(--lit); }
345
+ .home-brain > .scrub { flex: none; padding: 8px 12px; border-bottom: 1px solid var(--rule); }
346
+ .lens-bar { display: inline-flex; gap: 8px; align-items: center; }
347
+ .lens-note { color: var(--ink-2); font-size: 12.5px; }
348
+ .lens-note b { color: var(--ink); font-weight: 600; }
349
+ :root[data-theme="day"] .lens-note, :root[data-theme="day"] .lens-note b { color: var(--band-ink); }
350
+ .act[aria-pressed="true"] { color: var(--lit); border-color: var(--edge); }
351
+ .band-tools { display: flex; gap: 6px; align-items: center; }
352
+ .band-tools .seg { border-color: var(--band-ink); --hl: var(--band-ink); }
353
+ .band-tools .seg button { color: var(--band-ink); padding: 2px 8px; }
354
+ .band-tools .seg button + button { border-left-color: var(--band-ink); }
355
+ .band-tools .seg button[aria-pressed="true"] { color: var(--band); }
356
+ .band-tools .band-btn { display: inline-flex; gap: 4px; align-items: center; }
357
+ .today-group, .today-step { display: inline-flex; gap: 4px; align-items: center; }
358
+ .today-at { font-size: 12.5px; white-space: nowrap; }
359
+ .home-brain .band { flex-wrap: wrap; }
360
+ .legend {
361
+ position: absolute; left: 284px; bottom: 12px; z-index: 4; background: var(--panel);
362
+ border: 1px solid var(--rule); border-radius: 2px; padding: 8px 12px; font-size: 12.5px;
363
+ color: var(--ink-2); max-width: 460px;
364
+ }
365
+ .legend:has(> .legend-toggle[aria-expanded="false"]) { padding: 4px 10px; }
366
+ .legend-toggle { border: 0; background: none; padding: 0; color: var(--ink-2); font: inherit; cursor: pointer;
367
+ display: inline-flex; gap: 4px; align-items: center; }
368
+ .legend-toggle .ico { width: 12px; height: 12px; transition: transform .15s; }
369
+ .legend-toggle[aria-expanded="true"] .ico { transform: rotate(90deg); }
370
+ .legend-body { margin-top: 4px; }
371
+ .legend p { margin: 2px 0; }
372
+ .legend .honest { color: var(--ink-3); }
373
+ .legend .sw { display: inline-flex; gap: 2px 12px; flex-wrap: wrap; margin: 2px 0; }
374
+ .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lit);
375
+ vertical-align: 0; margin-right: 4px; }
376
+ .b2d { display: flex; flex-direction: column; padding: 60px 16px 16px; }
377
+ .b2d .stage { flex: 1; min-height: 0; }
378
+
379
+ /* chips */
380
+ .chips { display: flex; flex-wrap: wrap; gap: 4px; }
381
+ .chips button, .chip {
382
+ border: 1px solid var(--rule); background: var(--panel); border-radius: 2px; padding: 2px 9px;
383
+ color: var(--ink-2); font-size: 12.5px;
384
+ }
385
+ .chips button[aria-pressed="true"], .chip[aria-pressed="true"] {
386
+ border-color: var(--lit); color: var(--ink); background: var(--band);
387
+ }
388
+ :root[data-theme="day"] .chips button[aria-pressed="true"] { color: var(--band-ink); }
389
+ .presets button[aria-pressed="true"] { background: var(--panel); } /* its fill is the glide's ::before */
390
+ .chip-list { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
391
+ button.chip { cursor: pointer; }
392
+ /* Restart to update: a chip with its words; below 1300 px its icon alone */
393
+ .chip.upd { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; color: var(--ink); text-decoration: none; cursor: pointer; }
394
+ .chip.upd .ico { display: none; }
395
+ .g-solid { color: var(--solid); } .g-learning { color: var(--learning); }
396
+ .g-needs_refresh { color: var(--refresh); } .g-unverified, .g-not_started { color: var(--hollow); }
397
+ .flag { color: var(--refresh); }
398
+ .glyph { display: inline-block; min-width: 1em; text-align: center; }
399
+
400
+ /* 2D map (the old Map tab) */
401
+ .filters { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin-bottom: 10px;
402
+ padding-right: 260px; }
403
+ .filters input[type="search"] { width: 200px; }
404
+ .toggle { display: inline-flex; gap: 5px; align-items: center; font-size: 13px; cursor: pointer; }
405
+ .toggle input { accent-color: var(--lit); }
406
+ .stage {
407
+ position: relative; display: flex; border: 1px solid var(--rule); border-radius: 2px;
408
+ overflow: hidden; background: var(--panel);
409
+ }
410
+ .graph { flex: 1; min-width: 0; position: relative; }
411
+ .graph svg, .graph canvas { display: block; width: 100%; height: 100%; cursor: grab; }
412
+ .graph svg:active, .graph canvas:active { cursor: grabbing; }
413
+ .table-wrap { flex: 1; min-width: 0; overflow: auto; }
414
+ .link { stroke: var(--edge); stroke-width: 1; vector-effect: non-scaling-stroke; fill: none; }
415
+ .l-you { stroke-width: .6; opacity: .55; }
416
+ .l-requires { stroke: var(--ink-3); stroke-dasharray: 3 3; opacity: .8; }
417
+ .l-wiki { stroke-width: .6; stroke-dasharray: 1 2; opacity: .7; }
418
+ .arrowhead { fill: var(--ink-3); }
419
+ .node { cursor: pointer; }
420
+ .node circle, .node path { stroke-width: 1.2; }
421
+ .node .ring { fill: none; stroke: var(--refresh); stroke-width: 1.5; }
422
+ .node, .link, .labels text { transition: opacity .2s; }
423
+ .dim { opacity: .12; }
424
+ .hide { display: none; }
425
+ .labels text {
426
+ display: none; fill: var(--ink); stroke: var(--panel); stroke-width: 3px; stroke-linejoin: round;
427
+ paint-order: stroke; pointer-events: none;
428
+ }
429
+ .labels text.show { display: block; }
430
+ .labels .lab-domain { font-size: 1.3em; font-weight: 600; }
431
+ .labels .lab-area { fill: var(--ink-2); }
432
+ .labels tspan.flag { fill: var(--refresh); }
433
+ .tree {
434
+ width: 240px; flex: none; overflow: auto; padding: 10px 8px; font-size: 13px;
435
+ border-right: 1px solid var(--rule); background: var(--panel);
436
+ }
437
+ .tree summary { cursor: pointer; padding: 2px 4px; }
438
+ .tree details details, .tree details > .leaf { margin-left: 14px; }
439
+ .tree .leaf {
440
+ display: block; width: calc(100% - 14px); text-align: left; border: 0; background: none;
441
+ padding: 2px 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink);
442
+ }
443
+ .tree .leaf:hover, .tree summary:hover { background: var(--band); }
444
+
445
+ /* tables */
446
+ table { border-collapse: collapse; width: 100%; font-size: 13px; }
447
+ th, td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
448
+ thead th {
449
+ position: sticky; top: 0; background: var(--band); color: var(--band-ink); font-size: 11.5px;
450
+ letter-spacing: .06em; z-index: 1;
451
+ }
452
+ th button { border: 0; background: none; padding: 0; font-weight: 600; color: inherit; letter-spacing: inherit; }
453
+ td button { border: 0; background: none; padding: 0; text-align: left; color: var(--ink); }
454
+ td button:hover { text-decoration: underline; text-underline-offset: 3px; }
455
+ caption { text-align: left; color: var(--ink-2); padding: 8px 10px; caption-side: top; }
456
+
457
+ /* library */
458
+ .lib-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
459
+ .lib-controls input { flex: 1 1 280px; max-width: 520px; }
460
+ .lib-controls select { max-width: 260px; }
461
+ .presets { margin-bottom: 10px; }
462
+ .lib-tag { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; color: var(--ink-2); }
463
+ .count-line { color: var(--ink-2); margin: 6px 0 8px; font-size: 12.5px; }
464
+ .table-scroll { overflow-x: auto; }
465
+ .lib-board td.ttlc { min-width: 260px; max-width: 560px; }
466
+ .lib-board tbody tr { cursor: pointer; }
467
+ .lib-board tbody tr:hover { background: var(--band); }
468
+ .lib-board .sum { color: var(--ink-3); font-size: 12.5px; display: block; overflow: hidden;
469
+ text-overflow: ellipsis; white-space: nowrap; max-width: 560px; }
470
+ .nowrap { white-space: nowrap; }
471
+ .more {
472
+ margin: 12px 0; border: 1px solid var(--edge); background: var(--panel); padding: 7px 16px;
473
+ border-radius: 2px; color: var(--ink);
474
+ }
475
+
476
+ /* study */
477
+ .cols { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 28px; }
478
+ .sprint { padding: 12px 14px; margin-top: 4px; }
479
+ .strip { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0 0 8px; padding: 0; }
480
+ .pill {
481
+ padding: 2px 8px; font-size: 12px; border: 1px solid var(--rule); color: var(--ink-3);
482
+ border-radius: 2px; background: var(--ground);
483
+ }
484
+ .pill.done { color: var(--ink-2); border-color: var(--unlit); }
485
+ .pill.current { border: 2px solid var(--lit); color: var(--ink); font-weight: 600; }
486
+ .sprint p { margin: 2px 0 0; }
487
+ .staterow {
488
+ display: flex; flex-wrap: wrap; margin: 16px 0 0; background: var(--panel);
489
+ border: 1px solid var(--rule); border-radius: 2px;
490
+ }
491
+ .staterow button {
492
+ flex: 1 1 160px; display: flex; align-items: center; gap: 8px; border: 0;
493
+ border-right: 1px solid var(--rule); background: none; padding: 10px 14px; text-align: left;
494
+ color: var(--ink);
495
+ }
496
+ .staterow button:last-child { border-right: 0; }
497
+ .staterow button:hover { background: var(--band); }
498
+ .staterow .dm { margin-left: auto; }
499
+ .group { margin-bottom: 14px; }
500
+ .group h3 { color: var(--ink-2); font-size: 13px; margin: 0 0 4px; }
501
+ .rows { list-style: none; margin: 0; padding: 0; }
502
+ .row {
503
+ display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 4px 8px;
504
+ padding: 7px 0; border-bottom: 1px solid var(--rule); align-items: baseline;
505
+ }
506
+ .row .label { font-size: 12.5px; margin-left: 6px; }
507
+ .row .why { color: var(--ink-2); font-size: 12.5px; text-align: right; }
508
+ .done-card { padding: 18px; color: var(--ink-2); }
509
+ .assess { padding: 10px 12px; margin-bottom: 10px; }
510
+ .assess h3 { margin: 0 0 2px; }
511
+ .when { font-size: 13px; margin-bottom: 6px; color: var(--ink-2); }
512
+ .mrow { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0;
513
+ border-bottom: 1px solid var(--rule); }
514
+ #weeks svg { display: block; width: 100%; height: auto; }
515
+ .wbar { fill: var(--lit); }
516
+ .wbar:hover { opacity: .8; }
517
+ .axis { fill: var(--ink-2); font-size: 11px; }
518
+ .grid { stroke: var(--rule); }
519
+ .trow {
520
+ display: grid; grid-template-columns: 100px auto minmax(0, 1fr) auto; gap: 10px; padding: 7px 0;
521
+ border-bottom: 1px solid var(--rule); align-items: baseline;
522
+ }
523
+ .trow:last-child { border-bottom: 0; }
524
+ .badge {
525
+ font-size: 12px; padding: 1px 8px; border: 1px solid var(--edge); border-radius: 2px;
526
+ white-space: nowrap; color: var(--ink);
527
+ }
528
+ .numbers { display: flex; gap: 40px; align-items: center; }
529
+ .numbers > div { display: flex; align-items: center; gap: 10px; }
530
+
531
+ /* you, ideas, timeline */
532
+ .you-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: start; }
533
+ .tiers { padding: 6px 12px 10px; }
534
+ .trow2 { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 8px 14px; padding: 8px 0;
535
+ border-bottom: 1px solid var(--rule); align-items: center; }
536
+ .trow2:last-child { border-bottom: 0; }
537
+ .tbar { display: grid; grid-template-columns: 150px minmax(0, 1fr) 36px; gap: 8px; align-items: center;
538
+ font-size: 12.5px; color: var(--ink-2); }
539
+ .tbar .track { height: 8px; background: var(--unlit); border-radius: 2px; overflow: hidden; }
540
+ .tbar .track span { display: block; height: 100%; width: 100%; background: var(--lit);
541
+ transform: scaleX(var(--f, 0)); transform-origin: left; transition: transform var(--dur-2) var(--ease-out); }
542
+ .tbar .track.ask span { background: var(--ink-3); }
543
+ .tbar .v { text-align: right; color: var(--ink); }
544
+ .me-view { padding: 4px 16px 16px; }
545
+ /* Mind Mirror (R27a): a lane per chain on a month axis; each bar's aria-label carries its text */
546
+ .mm { position: relative; overflow: hidden; margin: 8px 12px 12px; }
547
+ .mm-tick { position: absolute; top: 0; bottom: 0; border-left: 1px solid var(--rule); }
548
+ .mm-tick span { position: absolute; top: 0; left: 4px; font-size: 11.5px; line-height: 16px; color: var(--ink-3);
549
+ white-space: nowrap; }
550
+ .mm-lane { position: absolute; left: 0; right: 0; height: 36px; }
551
+ .mm-text { position: absolute; top: 1px; height: 14px; line-height: 14px; font-size: 12px; color: var(--ink-2);
552
+ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
553
+ .mm-bar { position: absolute; top: 18px; height: 14px; border-radius: 4px; cursor: pointer;
554
+ background: color-mix(in srgb, var(--ink-3) 45%, transparent); }
555
+ .mm-bar.live { background: var(--lit); }
556
+ .mm-bar:focus-visible { outline-offset: 1px; } /* clear of the label above */
557
+ .mm-bar.open { border-radius: 0 4px 4px 0; }
558
+ .mm-bar.open::before { content: ""; position: absolute; left: 0; top: -2px; bottom: -2px;
559
+ border-left: 2px dashed var(--ink-2); }
560
+ .mm-cap { position: absolute; top: 15px; width: 2px; height: 20px; background: var(--ink-2); }
561
+ .mm-end { position: absolute; top: 18px; line-height: 14px; font-size: 11.5px; color: var(--ink-2); }
562
+ .mm-list { list-style: none; margin: 0; padding: 0; }
563
+ .mm-list li { padding: 8px 12px; border-bottom: 1px solid var(--rule); }
564
+ .mm-list li:last-child { border-bottom: 0; }
565
+ .mm-chain { color: var(--ink-2); font-size: 12.5px; overflow-wrap: anywhere; margin-top: 2px; }
566
+ .ideas-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; margin-top: 8px; }
567
+ .tl-wrap { overflow-x: auto; padding: 12px; }
568
+ .tl-grid { display: block; }
569
+ .tl-grid .c0 { fill: var(--unlit); }
570
+ .tl-grid .c1 { fill: var(--lit); opacity: .4; }
571
+ .tl-grid .c2 { fill: var(--lit); opacity: .7; }
572
+ .tl-grid .c3 { fill: var(--lit); }
573
+ .tl-grid circle.hit { cursor: pointer; }
574
+ .tl-grid .sel { stroke: var(--ink); stroke-width: 1.5; }
575
+ .tl-total { fill: var(--ink-2); font-size: 11px; }
576
+ .tl-key { display: flex; gap: 14px; align-items: center; color: var(--ink-2); font-size: 12.5px; margin: 8px 0 0; flex-wrap: wrap; }
577
+ .tl-key svg { vertical-align: -1px; }
578
+ .months { list-style: none; padding: 0; margin: 0; }
579
+ .months li { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 7px 12px; border-bottom: 1px solid var(--rule); align-items: center; }
580
+ .months li:last-child { border-bottom: 0; }
581
+ .months .m { font-weight: 600; min-width: 80px; }
582
+ .help-cmds .md-table td:first-child { white-space: nowrap; }
583
+ .copycell { display: inline-flex; align-items: center; gap: 4px; }
584
+ .prose { max-width: 760px; }
585
+
586
+ /* reader */
587
+ .reader {
588
+ position: fixed; top: var(--hdr); right: 0; bottom: 0; width: 420px; z-index: 12;
589
+ background: var(--panel); border-left: 1px solid var(--edge); overflow: auto; padding: 16px 18px 40px;
590
+ }
591
+ .reader .close { position: absolute; right: 10px; top: 10px; }
592
+ .ilist { margin: 2px 0 0; }
593
+ .reader .ilist li { display: flex; gap: 8px; align-items: center; padding: 2px 0; min-width: 0; }
594
+ .ilist .linkbtn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
595
+ .ilist .n { color: var(--ink-3); font-size: 12.5px; margin-left: auto; white-space: nowrap; }
596
+ .mk { flex: none; width: 16px; border-top: 2px solid var(--lit); }
597
+ .mk.similar { border-top-style: dashed; }
598
+ .file-under { margin: 12px 0 4px; padding: 8px 10px; border: 1px solid var(--rule); border-radius: 2px; }
599
+ .file-under h4 { margin: 0 0 6px; }
600
+ .file-under .ractions { margin: 0; }
601
+ .reader h2 { font-size: 18px; margin: 2px 36px 6px 0; }
602
+ .rmeta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; color: var(--ink-2); font-size: 12.5px; }
603
+ .ractions { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 4px; }
604
+ .btn {
605
+ display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--edge); background: none;
606
+ color: var(--ink); border-radius: 2px; padding: 4px 10px; font-size: 12.5px; text-decoration: none;
607
+ }
608
+ .btn:hover { border-color: var(--lit); color: var(--lit); }
609
+ .reader ul { list-style: none; margin: 0; padding: 0; }
610
+ .reader li { padding: 3px 0; }
611
+ .reader .summary { color: var(--ink-2); margin: 8px 0; }
612
+ .reader .meta { margin-top: 4px; }
613
+ .wl {
614
+ border: 0; background: none; padding: 0; color: inherit; text-decoration: underline;
615
+ text-decoration-color: var(--lit); text-underline-offset: 3px;
616
+ }
617
+ .wl-missing { color: var(--ink-2); }
618
+ table.props { margin-top: 2px; }
619
+ .props th { position: static; background: none; color: var(--ink-2); font-weight: 400; width: 34%;
620
+ font-size: 13px; letter-spacing: 0; }
621
+ .props th, .props td { padding: 4px 6px; overflow-wrap: anywhere; }
622
+ .md { margin-top: 12px; overflow-wrap: anywhere; }
623
+ .md h4, .md h5, .md h6 { color: var(--ink); margin: 18px 0 4px; }
624
+ .md h4 { font-size: 16px; } .md h5 { font-size: 14.5px; } .md h6 { font-size: 13.5px; }
625
+ .md p { margin: 6px 0; }
626
+ .md ul, .md ol { padding-left: 20px; margin: 6px 0; }
627
+ .reader .md ul { list-style: disc; padding-left: 20px; } .reader .md ol { list-style: decimal; padding-left: 20px; }
628
+ .md li { padding: 1px 0; }
629
+ .md blockquote { margin: 6px 0; padding-left: 10px; border-left: 1px solid var(--edge); color: var(--ink-2); }
630
+ .md hr { border: 0; border-top: 1px solid var(--rule); margin: 14px 0; }
631
+ .md pre { background: var(--ground); padding: 8px 10px; border-radius: 2px; overflow: auto; border: 1px solid var(--rule); }
632
+ .md :not(pre) > code { background: var(--ground); padding: 0 4px; border-radius: 2px; border: 1px solid var(--rule); }
633
+ .md-table { overflow-x: auto; margin: 6px 0; }
634
+ .md thead th { position: static; }
635
+ .backlinks li { padding: 6px 0; border-bottom: 1px solid var(--rule); }
636
+
637
+ /* palette, toast, tooltip */
638
+ .palette-scrim { position: fixed; inset: 0; z-index: 30; background: var(--scrim); }
639
+ .palette {
640
+ position: absolute; top: 12vh; left: 50%; transform: translateX(-50%); width: min(640px, 92vw);
641
+ background: var(--panel); border: 1px solid var(--edge); border-radius: 2px; display: flex;
642
+ flex-direction: column; max-height: 72vh;
643
+ }
644
+ .palette input { border: 0; border-bottom: 1px solid var(--rule); padding: 12px 14px; font-size: 15px; background: none; }
645
+ .palette input:focus-visible { outline-offset: -2px; }
646
+ .presults { overflow: auto; padding: 4px 0; }
647
+ .presults h4 { margin: 10px 14px 4px; font-size: 12px; }
648
+ .hit {
649
+ display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; width: 100%; text-align: left;
650
+ border: 0; background: none; padding: 6px 14px; color: var(--ink);
651
+ }
652
+ .hit[aria-selected="true"], .hit:hover { background: var(--band); }
653
+ .hit .ttl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
654
+ .hit .sub { grid-column: 1 / -1; }
655
+ .palette-foot { margin: 0; padding: 8px 14px; border-top: 1px solid var(--rule); color: var(--ink-3); font-size: 12px; }
656
+ .toast {
657
+ position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 40;
658
+ background: var(--band); color: var(--band-ink); border: 1px solid var(--edge); border-radius: 2px;
659
+ padding: 8px 16px; font-weight: 600;
660
+ /* arrives (hidden removed): 6px up and a fade; leaves: a fade only. CSS alone, no timers. */
661
+ opacity: 1; transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out),
662
+ display var(--dur-2) allow-discrete;
663
+ }
664
+ @starting-style { .toast { opacity: 0; transform: translateX(-50%) translateY(6px); } }
665
+ .toast[hidden] { opacity: 0; transition: opacity var(--dur-1) var(--ease-in), display var(--dur-1) allow-discrete; }
666
+ .toast.error { border-left: 4px solid var(--refresh); }
667
+ .tip {
668
+ position: fixed; z-index: 35; pointer-events: none; background: var(--band); color: var(--ink);
669
+ border: 1px solid var(--edge); padding: 5px 9px; border-radius: 2px; font-size: 12.5px; max-width: 300px;
670
+ }
671
+ .tip .k { color: var(--ink-2); }
672
+ :root[data-theme="day"] .tip { background: var(--panel); }
673
+
674
+ @media (max-width: 1299px) { /* the header keeps one line: no greeting, Restart to update as an icon */
675
+ .greet { display: none; }
676
+ .tabs button { padding: 8px 7px; }
677
+ .chip.upd { width: 32px; height: 32px; padding: 0; justify-content: center; }
678
+ .chip.upd .ico { display: block; }
679
+ .chip.upd .upd-word { display: none; }
680
+ }
681
+ @media (max-width: 1280px) { /* Departures keeps room for its item names */
682
+ .home-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
683
+ }
684
+ @media (max-width: 1100px) {
685
+ .home-top { grid-template-columns: minmax(0, 1fr); }
686
+ .home-row.three { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
687
+ .ideas-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
688
+ }
689
+ @media (max-width: 1023px) { /* the tabs get their own row, so the clock never covers Help */
690
+ .top { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0; }
691
+ .tabs { grid-row: 2; grid-column: 1 / -1; overflow-x: auto; }
692
+ .hright { grid-row: 1; grid-column: 2; }
693
+ }
694
+ @media (max-width: 760px) {
695
+ .top { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 8px 16px; }
696
+ .greet, .tabs, .stale { display: none !important; }
697
+ .section-select { display: block; grid-row: 2; grid-column: 1 / -1; width: 100%; background: var(--panel); }
698
+ .hright { grid-row: 1; grid-column: 2; }
699
+ main { padding: 4px 16px 48px; }
700
+ .home-top, .home-row.three, .home-row.two, .cols, .you-grid, .ideas-grid { grid-template-columns: minmax(0, 1fr); }
701
+ .get-started .brow { grid-template-columns: minmax(0, 1fr); }
702
+ .get-started .acts { justify-self: stretch; }
703
+ .home-brain .brain-slot { min-height: 0; height: 60vh; flex: none; }
704
+ .dep-head, .dep-row { grid-template-columns: 56px minmax(0, 1fr) 60px; padding: 0 10px; }
705
+ .dep-head > :nth-child(3), .dep-head > :nth-child(4), .dep-head > :nth-child(5) { display: none; }
706
+ .dep-row > .plat { display: none; }
707
+ .dep-row > .status { grid-column: 2; grid-row: 2; font-size: 12px; padding-bottom: 6px; }
708
+ .dep-row > .tcell { grid-row: 1 / span 2; }
709
+ .dep-row > .acts { grid-column: 3; grid-row: 1 / span 2; }
710
+ .reader { width: 100%; }
711
+ .look { top: auto; height: 45vh; border-left: 0; border-top: 1px solid var(--edge); }
712
+ .rail { width: auto; right: 12px; bottom: auto; max-height: 55%; }
713
+ .legend { display: none; }
714
+ .brain-tools { top: 56px; left: 12px; max-width: calc(100% - 24px); }
715
+ .b3d { --brain-crumbs-top: 102px; --brain-crumbs-left: 12px; }
716
+ .viewswitch { top: auto; bottom: 12px; right: 12px; }
717
+ .b2d { padding: 12px; }
718
+ .filters { padding-right: 0; }
719
+ .tree { position: absolute; left: 0; top: 0; bottom: 0; z-index: 3; }
720
+ .trow { grid-template-columns: 80px auto minmax(0, 1fr); }
721
+ .trow2 { grid-template-columns: minmax(0, 1fr); }
722
+ .tbar { grid-template-columns: 120px minmax(0, 1fr) 30px; }
723
+ .numbers { gap: 20px; }
724
+ }
725
+ @media (max-width: 639px) {
726
+ .home-brain .brain-slot { height: 55vh; }
727
+ .b3d { overflow-y: auto; display: flex; flex-direction: column; padding-top: 52px; }
728
+ .b3d .brain-slot { position: relative; inset: auto; height: 55vh; flex: none; }
729
+ .brain-tools { position: static; order: -1; max-width: none; margin: 0 12px 8px; }
730
+ .b3d { --brain-crumbs-top: 10px; --brain-crumbs-left: 12px; }
731
+ .b3d .rail { position: static; width: auto; max-height: none; margin: 12px; }
732
+ .viewswitch { top: 8px; bottom: auto; right: 12px; }
733
+ .b2d { padding-top: 52px; }
734
+ .reader.inspector {
735
+ top: auto; left: 0; right: 0; width: 100%; max-height: 60vh; border-left: 0;
736
+ border-top: 1px solid var(--edge);
737
+ }
738
+ }
739
+ /* hover on the plain controls that had none: the press tint */
740
+ .chips button:hover, .viewswitch button:hover, .rail-toggle:hover, .more:hover, .band-btn:hover,
741
+ th button:hover, .outline-toggle:hover, .icon-btn:hover { background-image: linear-gradient(var(--rule), var(--rule)); }
742
+ /* SVG controls: a lit stroke as well, since not every engine paints an outline on SVG shapes */
743
+ .tl-grid circle.hit:focus-visible { stroke: var(--lit); stroke-width: 1.5; }
744
+ .node:focus-visible circle, .node:focus-visible path { stroke: var(--lit) !important; stroke-width: 2.5; }
745
+ /* reduced motion: no transforms or animation, every state change instant */
746
+ @media (prefers-reduced-motion: reduce) {
747
+ *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
748
+ button:active:not(:disabled) { transform: none; }
749
+ }
750
+ /* Copied: the check is drawn (dashboard.js adds .draw); drawn at once under reduced motion above */
751
+ .ico.draw path { stroke-dasharray: 24; animation: draw-check var(--dur-2) var(--ease-out); }
752
+ @keyframes draw-check { from { stroke-dashoffset: 24; } }
753
+ /* muted text on a band-coloured row stays at 4.5:1 in day (ink-3 on yellow is not) */
754
+ .hit[aria-selected="true"] .sub, .hit:hover .sub, .outline .ti:hover .n,
755
+ .outline [aria-selected="true"] > .ti .n, .lib-board tbody tr:hover .sum { color: var(--ink-2); }
756
+
757
+ /* Look: the brain's style panel, built from the renderer's schema; shares the inspector's housing */
758
+ .look .look-presets h3 { font-size: 12.5px; color: var(--ink-2); margin: 10px 0 6px; }
759
+ .look .seg { flex-wrap: wrap; }
760
+ .look-custom { display: inline-block; margin-top: 6px; font-size: 12.5px; color: var(--ink-2);
761
+ border: 1px solid var(--rule); border-radius: 2px; padding: 2px 9px; }
762
+ .look-group { margin-top: 12px; border: 1px solid var(--rule); border-radius: 2px; }
763
+ .look-group > summary {
764
+ background: var(--band); color: var(--band-ink); font-weight: 600; font-size: 13px; padding: 7px 12px;
765
+ cursor: pointer;
766
+ }
767
+ .look-row { padding: 8px 12px; border-top: 1px solid var(--rule); display: grid; gap: 4px; }
768
+ .look-group > summary + .look-row { border-top: 0; }
769
+ .look-label { font-size: 13px; color: var(--ink); }
770
+ .look-range { display: flex; align-items: center; gap: 8px; }
771
+ .look-range input { flex: 1; min-width: 0; accent-color: var(--lit); }
772
+ .look-range output { min-width: 40px; text-align: right; color: var(--ink); font-size: 12.5px; }
773
+ .look-help { margin: 0; color: var(--ink-3); font-size: 12.5px; }
774
+ .look-reset { margin-top: 14px; }