@echomem/mcp 1.4.44 → 1.4.45

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 (50) hide show
  1. package/README.md +28 -25
  2. package/dist/city/README.md +9 -0
  3. package/dist/city/echo-ai-city-only.html +2232 -0
  4. package/dist/city/echo-extraction-plate.html +330 -0
  5. package/dist/city/echo-face-cutout.png +0 -0
  6. package/dist/city/personality_stickers/bossy.png +0 -0
  7. package/dist/city/personality_stickers/ghosty.png +0 -0
  8. package/dist/city/personality_stickers/loopy.png +0 -0
  9. package/dist/city/personality_stickers/lusty.png +0 -0
  10. package/dist/city/personality_stickers/maxxy.png +0 -0
  11. package/dist/city/personality_stickers/tabby.png +0 -0
  12. package/dist/city/vendor/OrbitControls.js +1417 -0
  13. package/dist/city/vendor/RoundedBoxGeometry.js +155 -0
  14. package/dist/city/vendor/echo_general-file-21.riv +0 -0
  15. package/dist/city/vendor/rive.js +8139 -0
  16. package/dist/city/vendor/rive.wasm +0 -0
  17. package/dist/city/vendor/three.module.min.js +6 -0
  18. package/dist/context-analysis/claude-native-canonical.js +2 -2
  19. package/dist/context-analysis/vendored-canonical.js +2 -2
  20. package/dist/context-analysis/workspace-report.js +3 -3
  21. package/dist/forensics.js +1531 -0
  22. package/dist/hud/hooks.js +31 -43
  23. package/dist/index.js +79 -15
  24. package/dist/local-data-paths.js +38 -0
  25. package/dist/migrate.js +140 -70
  26. package/dist/report.js +721 -0
  27. package/dist/save-checkpoint-hook.js +1 -1
  28. package/dist/setup-page/client-core.js +372 -18
  29. package/dist/setup-page/client-extraction.js +204 -37
  30. package/dist/setup-page/client-lifecycle.js +101 -31
  31. package/dist/setup-page/client-report-audit.js +819 -0
  32. package/dist/setup-page/client-report-city.js +356 -0
  33. package/dist/setup-page/client-report.js +6 -0
  34. package/dist/setup-page/client.js +2 -0
  35. package/dist/setup-page/styles-city-report.js +880 -0
  36. package/dist/setup-page/styles-context-audit.js +470 -0
  37. package/dist/setup-page/styles-extraction.js +31 -1
  38. package/dist/setup-page/styles-foundation.js +89 -0
  39. package/dist/setup-page/styles-mvp.js +155 -10
  40. package/dist/setup-page/styles-website-alignment.js +204 -0
  41. package/dist/setup-page/styles.js +4 -0
  42. package/dist/setup-page.js +4 -4
  43. package/dist/setup-preview.js +212 -4
  44. package/dist/setup.js +702 -321
  45. package/dist/source-session.js +3 -9
  46. package/dist/v1-contract.js +8 -0
  47. package/package.json +7 -9
  48. package/dist/config-files.js +0 -63
  49. package/dist/local-jsonl.js +0 -87
  50. package/dist/onboarding-stats.js +0 -16
@@ -0,0 +1,470 @@
1
+ // Generated from the prior inline setup page. This content is emitted into one browser IIFE/style tag.
2
+ export const SETUP_PAGE_STYLES_CONTEXT_AUDIT = String.raw ` /* Per echo-design-system tokens.css: brand/body = Avenir Next, mono = IBM Plex Mono, script = Caveat. */
3
+ --audit-serif: var(--echo-font-brand);
4
+ --echo-ink-primary: #171717;
5
+ --echo-ink-seal: #171717;
6
+ --echo-ink-text: #242424;
7
+ --echo-ink-mute: #666666;
8
+ --echo-ink-faint: #929292;
9
+ --echo-line-soft: #ddddda;
10
+ --echo-paper-white: #ffffff;
11
+ --echo-paper-soft: #f1f1ef;
12
+ width: min(880px, 100%);
13
+ margin: 0 auto;
14
+ /* The pie gutter hangs 150px+gap off the RIGHT edge (negative margins on
15
+ .audit-list-intro/.audit-row). Nudge the column left by half that so the
16
+ composite block — text + pies — is what sits centered on the page. */
17
+ position: relative;
18
+ left: calc((150px + clamp(16px, 2.5vw, 36px)) / -2);
19
+ padding: clamp(28px, 4vw, 52px) clamp(22px, 4.5vw, 64px) clamp(24px, 3.5vw, 40px);
20
+ background: transparent;
21
+ border: 0;
22
+ box-shadow: none;
23
+ color: var(--echo-ink-text);
24
+ font-family: var(--audit-serif);
25
+ }
26
+ .context-audit * { box-sizing: border-box; }
27
+ .audit-intro { padding: 0 0 12px; }
28
+ .audit-eyebrow,
29
+ .audit-scope,
30
+ .audit-index,
31
+ .audit-path,
32
+ .audit-example summary,
33
+ .audit-footnote {
34
+ font-family: var(--echo-font-mono);
35
+ font-size: 10px;
36
+ font-weight: 700;
37
+ letter-spacing: 0.075em;
38
+ text-transform: uppercase;
39
+ }
40
+ .audit-eyebrow { margin: clamp(18px, 2.5vw, 28px) 0 0; color: var(--echo-ink-seal); }
41
+ .audit-intro h2 {
42
+ max-width: 32ch;
43
+ margin: 10px 0 0;
44
+ font-family: var(--echo-font-brand);
45
+ font-size: clamp(24px, 3vw, 36px);
46
+ font-weight: 700;
47
+ line-height: 1.18;
48
+ letter-spacing: -0.015em;
49
+ color: var(--echo-ink-primary);
50
+ }
51
+ .audit-intro h2 em { color: var(--echo-ink-seal); font-style: normal; }
52
+ .audit-deck,
53
+ .audit-narrative {
54
+ max-width: 64ch;
55
+ margin: 12px 0 0;
56
+ font-size: 15px;
57
+ line-height: 1.58;
58
+ color: var(--echo-ink-text);
59
+ }
60
+ .audit-method {
61
+ max-width: 72ch;
62
+ margin: 10px 0 0;
63
+ padding-left: 12px;
64
+ border-left: 2px solid #b8b8b4;
65
+ font-family: var(--echo-font-mono);
66
+ font-size: 10.5px;
67
+ line-height: 1.55;
68
+ color: var(--echo-ink-mute);
69
+ }
70
+ .audit-period { margin: 18px 0 0; font-family: var(--echo-font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.035em; color: var(--echo-ink-mute); }
71
+ .audit-period time { color: var(--echo-ink-text); }
72
+ .audit-proof { display: grid; gap: 12px; margin-top: 18px; padding: 6px 0; }
73
+ .audit-narrative { max-width: 72ch; }
74
+ .audit-origin { display: grid; margin-top: 16px; }
75
+ .audit-origin-line { display: flex; align-items: flex-end; gap: 7px; margin: 0; flex-wrap: wrap; font-size: 15px; line-height: 1.45; }
76
+ .audit-date-chip { display: inline-flex; align-items: center; min-height: 27px; padding: 2px 11px; border: 1px solid #9b9b97; border-radius: 999px; background: #f7f7f5; font-family: var(--echo-font-mono); font-size: 12px; font-weight: 700; line-height: 1; letter-spacing: 0.02em; white-space: nowrap; }
77
+ .audit-repo-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 27px; padding: 2px 8px 2px 6px; border: 1px solid #b8b8b4; border-radius: 5px; background: #fff; color: #171717; font-family: var(--echo-font-mono); font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap; }
78
+ .audit-repo-chip svg { width: 15px; height: 15px; fill: #181717; flex: none; }
79
+ .audit-sources { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
80
+ .audit-source { display: inline-flex; align-items: center; gap: 7px; font-family: var(--echo-font-mono); font-size: 11px; color: var(--echo-ink-text); }
81
+ .audit-source img { width: 20px; height: 20px; object-fit: contain; }
82
+ .audit-source strong { font-size: 13px; }
83
+ .audit-source-plus { font-family: var(--echo-font-mono); font-size: 13px; font-weight: 700; color: var(--echo-ink-faint); }
84
+ .audit-source-tail { font-family: var(--echo-font-mono); font-size: 11px; color: var(--echo-ink-mute); }
85
+ .audit-ledger {
86
+ list-style: none;
87
+ display: grid;
88
+ gap: 8px;
89
+ margin-top: clamp(18px, 2.5vw, 28px);
90
+ padding: 0;
91
+ }
92
+ .audit-ledger-item { min-width: 0; display: flex; align-items: baseline; justify-content: flex-start; gap: 8px; padding: 0; }
93
+ .audit-ledger-item::before { content: "•"; color: var(--echo-ink-text); font-family: var(--audit-serif); font-size: 16px; line-height: 1; }
94
+ .audit-ledger-item span { font-family: var(--echo-font-mono); font-size: 13px; font-weight: 700; letter-spacing: 0.055em; text-transform: uppercase; color: var(--echo-ink-mute); }
95
+ .audit-ledger-item strong { font-family: var(--echo-font-mono); font-size: 14.5px; font-weight: 700; line-height: 1; color: var(--echo-ink-primary); font-variant-numeric: tabular-nums; white-space: nowrap; }
96
+ .audit-list-intro { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: clamp(16px, 2.5vw, 36px); align-items: center; margin: 28px 0 12px; margin-right: calc(-150px - clamp(16px, 2.5vw, 36px)); }
97
+ .audit-list-intro p { order: 1; margin: 0; font-family: var(--audit-serif); font-size: clamp(19px, 2vw, 23px); font-weight: 400; line-height: 1.35; color: var(--echo-ink-text); }
98
+ .audit-list-intro b { font-weight: 700; }
99
+ .audit-master-pie { order: 2; justify-self: center; width: 150px; height: auto; }
100
+ .audit-list { border-top: 0; }
101
+ .audit-row {
102
+ display: grid;
103
+ grid-template-columns: minmax(0, 1fr) 150px;
104
+ gap: clamp(16px, 2.5vw, 36px);
105
+ padding: clamp(22px, 3vw, 34px) 0;
106
+ margin-right: calc(-150px - clamp(16px, 2.5vw, 36px));
107
+ }
108
+ .audit-list .audit-row:first-child { padding-top: 10px; }
109
+ .audit-copy { order: 1; }
110
+ .audit-share { order: 2; display: grid; justify-items: center; gap: 7px; align-content: start; }
111
+ .audit-share-pie { width: 118px; height: auto; }
112
+ .audit-share strong { font-family: var(--echo-font-mono); font-size: 12px; line-height: 1; color: var(--echo-ink-text); }
113
+ .audit-share span { font-family: var(--echo-font-mono); font-size: 8px; line-height: 1; letter-spacing: 0.07em; text-transform: uppercase; color: var(--echo-ink-faint); }
114
+ .audit-copy h3 {
115
+ max-width: 40ch;
116
+ margin: 0;
117
+ font-family: var(--audit-serif);
118
+ font-size: clamp(18px, 2vw, 23px);
119
+ font-weight: 700;
120
+ line-height: 1.25;
121
+ letter-spacing: -0.005em;
122
+ color: var(--echo-ink-primary);
123
+ }
124
+ .audit-copy > p { max-width: 64ch; margin: 9px 0 0; font-size: 14.5px; line-height: 1.58; }
125
+ .audit-facts { display: grid; gap: 8px; margin-top: 14px; }
126
+ .audit-fact { display: flex; align-items: baseline; gap: 8px; }
127
+ .audit-fact::before { content: "•"; font-family: var(--audit-serif); font-size: 15px; line-height: 1; color: var(--echo-ink-text); }
128
+ .audit-fact span { font-family: var(--echo-font-mono); font-size: 13px; color: var(--echo-ink-mute); }
129
+ .audit-fact strong { font-family: var(--echo-font-mono); font-size: 14.5px; font-weight: 700; line-height: 1; color: var(--echo-ink-text); font-variant-numeric: tabular-nums; }
130
+ .audit-example { margin-top: 14px; border: 0; background: transparent; }
131
+ /* Sample-analysis teaser: a real session chip (agent icon + session + id + when)
132
+ instead of the dashed abstract label — reads as "this is a concrete example". */
133
+ .audit-example > summary {
134
+ display: inline-flex;
135
+ align-items: center;
136
+ gap: 9px;
137
+ padding: 6px 14px 6px 9px;
138
+ border: 1px solid rgba(26, 26, 26, 0.14);
139
+ border-radius: 999px;
140
+ background: var(--echo-paper-white);
141
+ color: var(--echo-ink-mute);
142
+ text-transform: none;
143
+ letter-spacing: 0;
144
+ cursor: pointer;
145
+ list-style: none;
146
+ transition: border-color 0.15s ease, box-shadow 0.15s ease;
147
+ }
148
+ .audit-example > summary:hover { border-color: rgba(26, 26, 26, 0.32); box-shadow: 0 4px 14px rgba(28, 38, 60, 0.08); }
149
+ .audit-example > summary::-webkit-details-marker { display: none; }
150
+ .audit-example > summary::after { content: "+"; font-family: var(--audit-serif); font-size: 14px; line-height: 1; color: var(--echo-ink-mute); margin-left: 2px; }
151
+ .audit-example[open] > summary::after { content: "−"; }
152
+ .aet-icon { width: 17px; height: 17px; object-fit: contain; flex: none; }
153
+ .aet-name { font-family: var(--echo-font-brand); font-size: 12.5px; font-weight: 700; color: var(--echo-ink-text); max-width: 34ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
154
+ .aet-id, .aet-when { font-family: var(--echo-font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.04em; color: var(--echo-ink-faint); white-space: nowrap; }
155
+ /* Expanded dossier hangs off a rule line so the repeated session header reads
156
+ as attached detail, not stray duplication. */
157
+ .audit-example-body { margin: 12px 0 4px 12px; padding: 4px 0 4px 20px; border-left: 2px solid rgba(26, 26, 26, 0.14); }
158
+ .audit-session-locator { display: grid; gap: 9px; padding: 13px 0 0; }
159
+ .audit-session-open { appearance: none; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: transparent; color: var(--echo-ink-text); cursor: pointer; text-align: left; justify-self: start; }
160
+ .audit-session-name { min-width: 0; display: flex; align-items: center; gap: 8px; font-family: var(--audit-serif); font-size: 17px; font-weight: 700; }
161
+ .audit-session-name img { width: 21px; height: 21px; object-fit: contain; flex: none; }
162
+ .audit-session-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--echo-ink-text); text-decoration: underline; text-decoration-color: var(--session-accent, currentColor); text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: color 0.15s ease; }
163
+ .audit-session-open:hover .audit-session-name span { color: var(--session-accent, currentColor); }
164
+ .audit-session-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-family: var(--echo-font-mono); font-size: 10px; color: var(--echo-ink-mute); }
165
+ .audit-session-repo { display: inline-flex; align-items: center; gap: 5px; color: var(--echo-ink-text); font-weight: 700; }
166
+ .audit-session-repo svg { width: 13px; height: 13px; fill: currentColor; }
167
+ .audit-session-status { font-family: var(--echo-font-mono); font-size: 9px; color: var(--echo-ink-mute); }
168
+ .audit-session-status:empty { display: none; }
169
+ .audit-turn-ledger { list-style: none; display: grid; grid-template-columns: max-content auto; column-gap: 20px; row-gap: 6px; align-items: baseline; margin: 0; padding: 10px 0 12px; font-family: var(--echo-font-mono); }
170
+ .audit-turn-ledger li { display: contents; }
171
+ .audit-turn-ledger span { font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--echo-ink-faint); }
172
+ .audit-turn-ledger strong { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--echo-ink-text); }
173
+ .audit-turn-ledger strong em { font-style: normal; font-weight: 400; font-size: 10px; color: var(--echo-ink-mute); }
174
+ .audit-example-label { display: block; margin-top: 14px; font-family: "Avenir Next", "Avenir", -apple-system, sans-serif; font-size: 12px; font-weight: 700; color: var(--echo-ink-text); }
175
+ .audit-prompt { margin: 7px 0 0; padding-left: 14px; border-left: 2px solid var(--echo-ink-primary); font-family: var(--audit-serif); font-size: 14.5px; font-weight: 500; line-height: 1.55; color: var(--echo-ink-text); }
176
+ .audit-prompt::before { content: "\\201C"; }
177
+ .audit-retained { margin-top: 15px; }
178
+ .audit-retained summary { min-height: 38px; display: flex; align-items: center; gap: 10px; padding: 0; font-family: var(--echo-font-mono); font-size: 9px; font-weight: 700; letter-spacing: 0.075em; text-transform: uppercase; color: var(--echo-ink-text); cursor: pointer; list-style: none; }
179
+ .audit-retained summary::-webkit-details-marker { display: none; }
180
+ .audit-retained summary::after { content: "+"; }
181
+ .audit-retained[open] summary::after { content: "−"; }
182
+ .audit-retained kbd { margin-left: auto; margin-right: 10px; padding: 2px 5px; border: 1px solid #cacac5; background: #fff; font-family: var(--echo-font-mono); font-size: 8px; color: var(--echo-ink-mute); }
183
+ .audit-retained-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; padding: 10px 0; }
184
+ .audit-retained-item b { font-family: var(--echo-font-mono); font-size: 10px; color: var(--echo-ink-text); }
185
+ .audit-retained-item strong { font-family: var(--echo-font-mono); font-size: 11px; color: var(--echo-ink-text); }
186
+ .audit-retained-item p { grid-column: 1 / -1; margin: 0; max-width: 62ch; font-size: 12.5px; line-height: 1.55; color: var(--echo-ink-text); }
187
+ .audit-retained-item code { grid-column: 1 / -1; padding: 8px 9px; background: #f1f1ef; font-family: var(--echo-font-mono); font-size: 10px; line-height: 1.5; color: var(--echo-ink-mute); white-space: pre-wrap; overflow-wrap: anywhere; }
188
+ .audit-retained-open { grid-column: 1 / -1; justify-self: start; min-height: 0; border: 0; border-radius: 0; background: transparent; padding: 0; font-family: var(--echo-font-mono); font-size: 10px; font-weight: 700; color: var(--echo-ink-text); text-decoration: underline; text-decoration-color: var(--session-accent, currentColor); text-underline-offset: 3px; cursor: pointer; }
189
+ .audit-retained-open:hover { color: var(--session-accent, currentColor); }
190
+ /* Closing CTA mirrors the problem rows: text in the body column, the button out in
191
+ the right pie gutter, centered on the same vertical axis as the pies above. */
192
+ .audit-end {
193
+ display: grid;
194
+ grid-template-columns: minmax(0, 1fr) 150px;
195
+ gap: clamp(16px, 2.5vw, 36px);
196
+ align-items: center;
197
+ margin-right: calc(-150px - clamp(16px, 2.5vw, 36px));
198
+ padding: clamp(26px, 3.5vw, 40px) 0 8px;
199
+ }
200
+ .audit-end h3 { max-width: 34ch; margin: 0; font-family: var(--audit-serif); font-size: clamp(20px, 2.4vw, 27px); font-weight: 700; line-height: 1.2; color: var(--echo-ink-primary); }
201
+ .audit-end p { max-width: 64ch; margin: 10px 0 0; font-size: 14.5px; line-height: 1.58; }
202
+ .audit-end .rdo-cta { grid-column: 2; justify-self: center; }
203
+ .audit-end .audit-footnote { grid-column: 1 / -1; }
204
+ .audit-end .rdo-cta {
205
+ margin-top: 0;
206
+ min-height: 62px;
207
+ display: inline-flex;
208
+ align-items: center;
209
+ gap: 16px;
210
+ padding: 12px 34px 14px;
211
+ border: 0;
212
+ border-radius: 18px;
213
+ background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 72' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cfilter id='p' x='-5%25' y='-15%25' width='110%25' height='130%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.035 0.1' numOctaves='3' seed='7'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2'/%3E%3C/filter%3E%3Cpattern id='h' width='7' height='7' patternTransform='rotate(-45)' patternUnits='userSpaceOnUse'%3E%3Cline x1='0' y1='0' x2='0' y2='7' stroke='%234c4d47' stroke-width='0.7'/%3E%3C/pattern%3E%3C/defs%3E%3Cg filter='url(%23p)'%3E%3Crect x='7' y='8' width='306' height='56' rx='15' fill='%23f1ede2'/%3E%3Crect x='7' y='8' width='306' height='56' rx='15' fill='url(%23h)' opacity='.14'/%3E%3Cg fill='none' stroke='%2322241f' stroke-linecap='round'%3E%3Crect x='7' y='8' width='306' height='56' rx='15' stroke-width='1.6'/%3E%3Crect x='7.8' y='9' width='304.6' height='54.2' rx='14.4' stroke-width='1.1' opacity='.5'/%3E%3Crect x='6.4' y='7.2' width='307.2' height='57.6' rx='15.8' stroke-width='0.9' opacity='.3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat;
214
+ color: var(--echo-ink-primary);
215
+ font-family: var(--audit-serif);
216
+ font-size: 22px;
217
+ font-weight: 800;
218
+ letter-spacing: 0.01em;
219
+ text-transform: none;
220
+ cursor: pointer;
221
+ transition: transform 0.16s ease, filter 0.16s ease;
222
+ }
223
+ .audit-end .rdo-cta:hover { transform: translateY(-1px) scale(1.02); filter: brightness(0.98); }
224
+ .audit-end .rdo-cta:active { transform: translateY(0) scale(0.99); }
225
+ .audit-end .rdo-cta .cta-arrow { width: 58px; height: 24px; flex: none; transition: transform 0.16s ease; }
226
+ .audit-end .rdo-cta:hover .cta-arrow { transform: translateX(5px); }
227
+ /* Add [Echo] → [Codex][Claude]: full faces in rounded-square tiles, no hard corners */
228
+ .audit-end .rdo-cta .cta-face { width: 38px; height: 38px; flex: none; border-radius: 11px; object-fit: contain; background: var(--echo-paper-white); border: 1.4px solid rgba(34, 36, 31, 0.75); box-shadow: 0 2px 5px rgba(28, 38, 60, 0.16); }
229
+ .audit-end .rdo-cta .cta-tools { display: inline-flex; align-items: center; gap: 9px; flex: none; }
230
+ .audit-end .rdo-cta .cta-tools img { width: 38px; height: 38px; padding: 6px; box-sizing: border-box; border-radius: 11px; object-fit: contain; background: var(--echo-paper-white); border: 1.4px solid rgba(34, 36, 31, 0.75); box-shadow: 0 2px 5px rgba(28, 38, 60, 0.16); display: block; }
231
+ .audit-footnote { margin-top: 20px; padding-top: 12px; color: var(--echo-ink-faint); line-height: 1.7; text-transform: none; letter-spacing: 0.02em; }
232
+ @media (max-width: 720px) {
233
+ .context-audit { padding: 22px 16px 18px; }
234
+ .audit-row { grid-template-columns: 1fr; gap: 12px; }
235
+ .audit-share { justify-items: start; grid-template-columns: auto auto auto; align-items: center; }
236
+ .audit-intro h2 { font-size: clamp(22px, 6vw, 28px); }
237
+ .audit-meter-copy { display: grid; grid-template-columns: 1fr; gap: 4px; }
238
+ .audit-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
239
+ }
240
+ .echo-rdo { width: min(1280px, 100%); margin: 0 auto; color: var(--echo-ink-text); font-family: var(--echo-font-body); }
241
+ .echo-rdo .rise { opacity: 0; animation: rdoRise 0.6s var(--rdo-ease) forwards; animation-delay: var(--d, 0ms); }
242
+ .echo-rdo .rdo-head { border-bottom: 1px solid var(--echo-line-soft); padding-bottom: 20px; margin-bottom: 22px; }
243
+ .echo-rdo .rdo-kicker { margin: 0; font-family: var(--echo-font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--echo-ink-primary); }
244
+ .echo-rdo .rdo-h1 { margin: 8px 0 0; font-family: var(--echo-font-brand); font-weight: 900; font-size: clamp(28px, 4vw, 46px); line-height: 1.02; letter-spacing: -0.01em; color: var(--echo-ink-primary); }
245
+ .echo-rdo .rdo-lead { margin: 12px 0 0; font-size: clamp(15px, 1.3vw, 17px); line-height: 1.55; color: var(--echo-ink-text); max-width: 56ch; }
246
+ .echo-rdo .rdo-lead b { color: var(--echo-ink-primary); }
247
+ .echo-rdo .rdo-meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
248
+ .echo-rdo .rdo-chip { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--echo-line-soft); border-radius: 999px; background: var(--echo-paper-white); padding: 6px 13px; font-family: var(--echo-font-mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--echo-ink-mute); }
249
+ .echo-rdo .rdo-chip b { color: var(--echo-ink-primary); }
250
+ .echo-rdo .rdo-chip .live { width: 7px; height: 7px; border-radius: 50%; background: var(--echo-ink-accent); }
251
+ .echo-rdo .rdo-card { position: relative; background: var(--echo-paper-white); border: 1px solid var(--echo-line-soft); border-radius: 10px; padding: 18px; }
252
+ .echo-rdo .clab { margin: 0; font-family: var(--echo-font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--echo-ink-mute); }
253
+ .echo-rdo .csub { margin-top: 4px; font-family: var(--echo-font-mono); font-size: 11px; color: var(--echo-ink-faint); }
254
+ .echo-rdo .csub b { color: var(--echo-ink-primary); }
255
+ .echo-rdo .rdo-help { position: absolute; top: 13px; right: 13px; width: 24px; height: 24px; min-height: 0; box-sizing: border-box; border-radius: 999px; border: 1px solid var(--echo-line-soft); background: var(--echo-paper-soft); color: var(--echo-ink-faint); font-family: var(--echo-font-mono); font-size: 11px; font-weight: 800; cursor: pointer; display: grid; place-items: center; padding: 0; line-height: 1; transition: all 0.15s ease; }
256
+ .echo-rdo .rdo-help:hover { color: #fff; background: var(--echo-ink-primary); border-color: var(--echo-ink-primary); }
257
+ .echo-rdo .rdo-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 14px; }
258
+ .echo-rdo .rdo-kpi { min-height: 132px; display: flex; flex-direction: column; justify-content: flex-end; }
259
+ .echo-rdo .rdo-kpi .num { font-family: var(--echo-font-brand); font-weight: 900; font-size: clamp(34px, 4vw, 50px); line-height: 0.9; color: var(--echo-ink-primary); font-variant-numeric: tabular-nums; }
260
+ .echo-rdo .rdo-kpi.hero { border-color: rgba(199,55,47,0.30); }
261
+ .echo-rdo .rdo-kpi.hero::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--echo-ink-seal); }
262
+ .echo-rdo .rdo-kpi.hero .num { color: var(--echo-ink-seal); }
263
+ .echo-rdo .rdo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
264
+ .echo-rdo .figbox { margin-top: 16px; position: relative; }
265
+ .echo-rdo .rdo-histo { display: flex; align-items: flex-end; gap: 3px; height: 132px; border-bottom: 2px solid var(--echo-line-soft); }
266
+ .echo-rdo .rdo-histo .bar { flex: 1; align-self: flex-end; min-height: 3px; border-radius: 3px 3px 0 0; background: var(--echo-ink-primary); transform: scaleY(0); transform-origin: bottom; animation: rdoGrow 0.5s var(--rdo-ease) forwards; animation-delay: var(--bd, 0ms); }
267
+ .echo-rdo .rdo-histo .bar.night { background: var(--echo-night); }
268
+ .echo-rdo .rdo-histo .bar:hover { filter: brightness(1.12); }
269
+ .echo-rdo .rdo-axis { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--echo-font-mono); font-size: 10px; color: var(--echo-ink-faint); }
270
+ .echo-rdo .rdo-legend { display: flex; flex-wrap: wrap; gap: 7px 16px; margin-top: 13px; font-family: var(--echo-font-mono); font-size: 11px; color: var(--echo-ink-mute); }
271
+ .echo-rdo .rdo-legend i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
272
+ .echo-rdo .terr { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; margin-top: 16px; }
273
+ .echo-rdo .donut { width: 144px; height: 144px; position: relative; margin: 0 auto; }
274
+ .echo-rdo .donut .donutSvg { width: 100%; height: 100%; display: block; opacity: 0; animation: rdoRise 0.6s var(--rdo-ease) 0.2s forwards; }
275
+ .echo-rdo .donut .seg { transition: opacity 0.15s ease, stroke-width 0.15s ease; }
276
+ .echo-rdo .donut.hovering .seg { opacity: 0.3; }
277
+ .echo-rdo .donut.hovering .seg.on { opacity: 1; stroke-width: 7.5; }
278
+ .echo-rdo .donut .seg { cursor: pointer; }
279
+ .echo-rdo .donut-tip, .echo-rdo .histo-tip { position: absolute; left: 0; top: 0; pointer-events: none; transform: translate(-50%, -132%); background: var(--echo-ink-text); color: #fff; font-family: var(--echo-font-mono); font-size: 11px; font-weight: 700; padding: 5px 9px; border-radius: 6px; white-space: nowrap; z-index: 6; opacity: 0; transition: opacity 0.12s ease; box-shadow: 0 6px 16px rgba(28,38,60,0.2); }
280
+ .echo-rdo .donut-tip.show, .echo-rdo .histo-tip.show { opacity: 1; }
281
+ .echo-rdo .donut-tip::after, .echo-rdo .histo-tip::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--echo-ink-text); }
282
+ .echo-rdo .donut .center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; pointer-events: none; }
283
+ .echo-rdo .donut .center b { display: block; font-family: var(--echo-font-brand); font-weight: 900; font-size: 28px; color: var(--echo-ink-primary); line-height: 0.9; }
284
+ .echo-rdo .donut .center span { font-family: var(--echo-font-mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--echo-ink-mute); }
285
+ .echo-rdo .rrow { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: baseline; padding: 7px 0; }
286
+ .echo-rdo .rrow .nm { font-family: var(--echo-font-mono); font-size: 12px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
287
+ .echo-rdo .rrow .vl { font-family: var(--echo-font-mono); font-size: 11px; color: var(--echo-ink-text); white-space: nowrap; font-variant-numeric: tabular-nums; }
288
+ .echo-rdo .rbar { grid-column: 1 / -1; height: 5px; border-radius: 999px; background: var(--echo-paper-soft); margin-top: 3px; overflow: hidden; }
289
+ .echo-rdo .rbar i { display: block; height: 100%; border-radius: 999px; transform-origin: left; transform: scaleX(0); animation: rdoDraw 0.6s var(--rdo-ease) forwards; animation-delay: var(--rd, 0ms); }
290
+ .echo-rdo .lblrow { font-family: var(--echo-font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--echo-ink-mute); margin: 16px 0 7px; }
291
+ .echo-rdo .stack { display: flex; height: 28px; border-radius: 7px; overflow: hidden; background: var(--echo-paper-soft); }
292
+ .echo-rdo .stack .seg { min-width: 0; display: grid; place-items: center; font-family: var(--echo-font-mono); font-size: 10px; font-weight: 800; }
293
+ .echo-rdo .ledgerCols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
294
+ .echo-rdo .ex-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--echo-line-soft); }
295
+ .echo-rdo .ex-row:first-of-type { border-top: 0; padding-top: 16px; }
296
+ .echo-rdo .collapse-inner .ex-row:first-of-type { border-top: 1px solid var(--echo-line-soft); padding-top: 11px; }
297
+ .echo-rdo .ex-file { font-family: var(--echo-font-mono); font-size: 12.5px; font-weight: 700; color: var(--echo-ink-primary); }
298
+ .echo-rdo .ex-meta { margin-top: 3px; font-size: 12px; color: var(--echo-ink-mute); }
299
+ .echo-rdo .ex-reads { font-family: var(--echo-font-brand); font-weight: 900; font-size: 20px; color: var(--echo-ink-seal); font-variant-numeric: tabular-nums; white-space: nowrap; }
300
+ .echo-rdo .rdo-tag { display: inline-block; margin-left: 8px; padding: 2px 7px; border-radius: 999px; background: rgba(199,55,47,0.08); font-family: var(--echo-font-mono); font-size: 9px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--echo-ink-seal); }
301
+ .echo-rdo .collapse { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.34s var(--rdo-ease); }
302
+ .echo-rdo .collapse.open { grid-template-rows: 1fr; }
303
+ .echo-rdo .collapse-inner { overflow: hidden; min-height: 0; }
304
+ .echo-rdo .moreBtn { display: inline-block; min-height: 0; margin-top: 14px; background: none; border: 0; padding: 6px 0; cursor: pointer; font-family: var(--echo-font-mono); font-size: 11px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--echo-ink-primary); }
305
+ .echo-rdo .moreBtn:hover { opacity: 0.65; }
306
+ .echo-rdo .mrow2 { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--echo-line-soft); font-family: var(--echo-font-mono); font-size: 12px; color: var(--echo-ink-mute); }
307
+ .echo-rdo .mrow2:first-child { border-top: 0; }
308
+ .echo-rdo .mrow2 b { font-size: 13px; color: var(--echo-ink-primary); }
309
+ .echo-rdo .mrow2 strong { font-family: var(--echo-font-brand); font-size: 16px; color: var(--echo-ink-text); }
310
+ .echo-rdo .gs-section { margin-top: 14px; display: grid; gap: 14px; }
311
+ .echo-rdo .gs-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: start; }
312
+ .echo-rdo .gs-head h3 { margin: 7px 0 0; font-family: var(--echo-font-brand); font-size: clamp(24px, 3vw, 34px); line-height: 1.05; color: var(--echo-ink-primary); }
313
+ .echo-rdo .gs-lead { margin: 8px 0 0; max-width: 72ch; font-size: 14px; line-height: 1.55; color: var(--echo-ink-mute); }
314
+ .echo-rdo .gs-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; min-width: min(440px, 100%); }
315
+ .echo-rdo .gs-metric { background: var(--echo-paper-soft); border: 1px solid var(--echo-line-soft); border-radius: 8px; padding: 12px; }
316
+ .echo-rdo .gs-metric b { display: block; font-family: var(--echo-font-brand); font-size: 24px; line-height: 1; color: var(--echo-ink-primary); font-variant-numeric: tabular-nums; }
317
+ .echo-rdo .gs-metric span { display: block; margin-top: 5px; font-family: var(--echo-font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--echo-ink-mute); }
318
+ .echo-rdo .gs-focus-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, 0.64fr); gap: clamp(20px, 4vw, 52px); align-items: end; }
319
+ .echo-rdo .gs-focus-copy { max-width: 620px; }
320
+ .echo-rdo .gs-focus-copy h3 { margin: 7px 0 0; font-family: var(--echo-font-brand); font-size: clamp(30px, 4.2vw, 52px); line-height: 0.98; letter-spacing: -0.035em; color: var(--echo-ink-primary); }
321
+ .echo-rdo .gs-focus-copy h3 em { font-style: normal; color: var(--echo-ink-seal); }
322
+ .echo-rdo .gs-waste-callout { position: relative; overflow: hidden; min-height: 180px; padding: 21px 22px 18px; border: 1px solid rgba(199,55,47,0.28); border-radius: 12px; background: linear-gradient(135deg, #fff8f6, var(--echo-paper-white)); box-shadow: 0 12px 28px rgba(161,51,42,0.08); }
323
+ .echo-rdo .gs-waste-callout::after { content: ""; position: absolute; width: 150px; height: 150px; right: -62px; top: -64px; border: 26px solid rgba(199,55,47,0.09); border-radius: 50%; }
324
+ .echo-rdo .gs-waste-callout span, .echo-rdo .gs-waste-callout b { position: relative; z-index: 1; display: block; font-family: var(--echo-font-mono); font-size: 10px; font-weight: 900; letter-spacing: 0.09em; text-transform: uppercase; color: var(--echo-ink-mute); }
325
+ .echo-rdo .gs-waste-callout strong { position: relative; z-index: 1; display: block; margin: 8px 0 2px; font-family: var(--echo-font-brand); font-size: clamp(56px, 7vw, 78px); line-height: 0.8; letter-spacing: -0.06em; color: var(--echo-ink-seal); font-variant-numeric: tabular-nums; }
326
+ .echo-rdo .gs-waste-callout strong small { font-size: 0.5em; letter-spacing: -0.03em; }
327
+ .echo-rdo .gs-waste-callout b { color: var(--echo-ink-seal); }
328
+ .echo-rdo .gs-context-meter { display: grid; gap: 8px; margin-top: 6px; }
329
+ .echo-rdo .gs-context-meter-track { display: flex; height: 14px; overflow: hidden; border-radius: 999px; background: var(--echo-paper-soft); box-shadow: inset 0 0 0 1px var(--echo-line-soft); }
330
+ .echo-rdo .gs-context-meter-track i { display: block; height: 100%; background: var(--echo-ink-primary); }
331
+ .echo-rdo .gs-context-meter-track b { display: block; height: 100%; background: var(--echo-ink-seal); }
332
+ .echo-rdo .gs-context-meter-labels { display: flex; justify-content: space-between; gap: 12px; font-family: var(--echo-font-mono); font-size: 10px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; color: var(--echo-ink-mute); }
333
+ .echo-rdo .gs-context-meter-labels b { color: var(--echo-ink-seal); }
334
+ .echo-rdo .gs-source-waste { display: grid; grid-template-columns: 1.1fr repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 4px; }
335
+ .echo-rdo .gs-source-waste-card { appearance: none; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 14px; align-items: baseline; min-height: 104px; padding: 17px 18px; border: 1px solid var(--echo-line-soft); border-radius: 10px; background: var(--echo-paper-white); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color 0.24s var(--rdo-ease), background-color 0.24s var(--rdo-ease), color 0.24s var(--rdo-ease); }
336
+ .echo-rdo .gs-source-waste-card.combined { border-color: rgba(199,55,47,0.35); background: #fff8f6; }
337
+ .echo-rdo .gs-source-waste-card.active { border: 2px solid var(--echo-ink-primary); padding: 16px 17px; }
338
+ .echo-rdo .gs-source-waste-card.combined.active { border-color: var(--echo-ink-seal); }
339
+ .echo-rdo .gs-source-waste-card:disabled { cursor: default; opacity: 0.55; }
340
+ .echo-rdo .gs-source-waste-card span { font-family: var(--echo-font-mono); font-size: 10px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: var(--echo-ink-mute); }
341
+ .echo-rdo .gs-source-waste-card b { font-family: var(--echo-font-brand); font-size: 28px; line-height: 0.9; color: var(--echo-ink-primary); font-variant-numeric: tabular-nums; }
342
+ .echo-rdo .gs-source-waste-card.combined b { color: var(--echo-ink-seal); }
343
+ .echo-rdo .gs-source-waste-card small { grid-column: 1 / -1; font-family: var(--echo-font-mono); font-size: 9px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--echo-ink-faint); }
344
+ .echo-rdo [data-gs-source-callout], .echo-rdo [data-gs-source-detail] { transition: opacity 0.18s var(--rdo-ease), transform 0.18s var(--rdo-ease); will-change: opacity, transform; }
345
+ .echo-rdo [data-gs-source-detail] { margin-top: clamp(24px, 3vw, 36px); }
346
+ .echo-rdo .gs-source-fade { opacity: 0.62; transform: translateY(3px); }
347
+ .echo-rdo .gs-problem-intro { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin: clamp(28px, 3vw, 42px) 0 clamp(18px, 2.5vw, 28px); padding-top: clamp(22px, 3vw, 34px); border-top: 1px solid var(--echo-line-soft); }
348
+ .echo-rdo .gs-problem-intro h4 { margin: 0; font-family: var(--echo-font-brand); font-size: 22px; line-height: 1; color: var(--echo-ink-primary); }
349
+ .echo-rdo .gs-problem-intro p { max-width: 58ch; margin: 0; font-size: 13px; line-height: 1.45; color: var(--echo-ink-mute); }
350
+ .echo-rdo .gs-top-problems { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
351
+ .echo-rdo .gs-problem-card { min-width: 0; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 10px; padding: 18px; border: 1px solid var(--echo-line-soft); border-top: 3px solid var(--gs-accent); border-radius: 10px; background: var(--echo-paper-white); }
352
+ .echo-rdo .gs-problem-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: var(--echo-font-mono); font-size: 10px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; color: var(--echo-ink-mute); }
353
+ .echo-rdo .gs-problem-card-head b { color: var(--gs-accent); }
354
+ .echo-rdo .gs-problem-card h5 { margin: 0; font-family: var(--echo-font-brand); font-size: 19px; line-height: 1.02; color: var(--echo-ink-primary); }
355
+ .echo-rdo .gs-problem-card p { margin: 0; font-size: 12px; line-height: 1.45; color: var(--echo-ink-mute); }
356
+ .echo-rdo .gs-example-btn { align-self: start; min-height: 32px; width: max-content; max-width: 100%; border: 1px solid var(--gs-accent); border-radius: 7px; background: color-mix(in srgb, var(--gs-accent) 9%, var(--echo-paper-white)); color: var(--gs-accent); cursor: pointer; padding: 0 11px; font-family: var(--echo-font-mono); font-size: 10px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
357
+ .echo-rdo .gs-example-btn:hover { background: var(--gs-accent); color: #fff; }
358
+ .echo-rdo .gs-problem-card-meter { height: 5px; overflow: hidden; border-radius: 999px; background: var(--echo-paper-soft); }
359
+ .echo-rdo .gs-problem-card-meter i { display: block; height: 100%; min-width: 8%; border-radius: inherit; background: var(--gs-accent); }
360
+ .echo-rdo .gs-switch { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 8px; border: 1px solid var(--echo-line-soft); background: var(--echo-paper-soft); width: max-content; max-width: 100%; overflow-x: auto; }
361
+ .echo-rdo .gs-tab { min-height: 30px; border: 0; border-radius: 6px; background: transparent; padding: 0 12px; cursor: pointer; font-family: var(--echo-font-mono); font-size: 11px; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase; color: var(--echo-ink-mute); white-space: nowrap; }
362
+ .echo-rdo .gs-tab.active { background: var(--echo-paper-white); color: var(--echo-ink-primary); box-shadow: 0 1px 5px rgba(28,38,60,0.08); }
363
+ .echo-rdo .gs-panel { display: none; }
364
+ .echo-rdo .gs-panel.active { display: grid; gap: 12px; }
365
+ .echo-rdo .gs-stack { display: flex; height: 38px; border-radius: 8px; overflow: hidden; background: var(--echo-paper-soft); border: 1px solid var(--echo-line-soft); }
366
+ .echo-rdo .gs-stack i { min-width: 0; display: grid; place-items: center; font-family: var(--echo-font-mono); font-size: 11px; font-weight: 900; font-style: normal; color: #fff; white-space: nowrap; }
367
+ .echo-rdo .gs-stack .useful { background: var(--echo-ink-primary); }
368
+ .echo-rdo .gs-stack .waste { background: var(--echo-ink-seal); }
369
+ .echo-rdo .gs-body { display: grid; grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr); gap: 14px; }
370
+ .echo-rdo .gs-bubbles { min-height: 480px; }
371
+ .echo-rdo .gs-bubble-svg { width: 100%; height: 480px; display: block; overflow: visible; }
372
+ .echo-rdo .gs-bubble-svg circle { stroke: rgba(255,255,255,0.88); stroke-width: 1.3; }
373
+ .echo-rdo .gs-bubble-svg text { pointer-events: none; font-family: var(--echo-font-mono); font-weight: 900; text-anchor: middle; fill: #fff; paint-order: stroke; stroke: rgba(20,30,45,0.26); stroke-width: 2px; stroke-linejoin: round; }
374
+ .echo-rdo .gs-bubble-svg .sub { font-size: 8px; stroke-width: 1.5px; opacity: 0.94; }
375
+ .echo-rdo .gs-bucket { border: 1px solid var(--echo-line-soft); border-radius: 8px; padding: 10px; background: var(--echo-paper-white); }
376
+ .echo-rdo .gs-bucket span { display: block; font-family: var(--echo-font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--echo-ink-mute); }
377
+ .echo-rdo .gs-bucket b { display: block; margin-top: 4px; font-family: var(--echo-font-brand); font-size: 18px; color: var(--echo-ink-text); }
378
+ .echo-rdo .gs-problems { display: grid; gap: 7px; }
379
+ .echo-rdo .gs-problem { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--echo-line-soft); overflow: visible; }
380
+ .echo-rdo .gs-problem:first-child { border-top: 0; }
381
+ .echo-rdo .gs-id { font-family: var(--echo-font-brand); font-size: 17px; color: var(--echo-ink-primary); }
382
+ .echo-rdo .gs-title { min-width: 0; overflow: visible; }
383
+ .echo-rdo .gs-title-head { display: flex; align-items: center; gap: 7px; min-width: 0; overflow: visible; }
384
+ .echo-rdo .gs-title b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--echo-font-mono); font-size: 12px; color: var(--echo-ink-text); }
385
+ .echo-rdo .gs-title span { display: block; margin-top: 2px; font-size: 11px; color: var(--echo-ink-mute); }
386
+ .echo-rdo .gs-help { position: relative; display: inline-grid; place-items: center; flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--echo-line-soft); background: var(--echo-paper-soft); font-family: var(--echo-font-mono); font-size: 11px; font-weight: 900; color: var(--echo-ink-mute); cursor: help; outline: none; }
387
+ .echo-rdo .gs-help:hover, .echo-rdo .gs-help:focus { color: var(--echo-ink-primary); border-color: rgba(26,58,143,0.35); background: var(--echo-paper-white); }
388
+ .echo-rdo .gs-help::after { content: attr(data-tip); position: absolute; z-index: 4; right: -8px; bottom: calc(100% + 9px); width: min(310px, 72vw); padding: 10px 11px; border-radius: 8px; background: #1c263c; color: #fff; box-shadow: 0 12px 28px rgba(20,30,45,0.22); font-family: var(--echo-font-sans); font-size: 12px; font-weight: 650; line-height: 1.35; letter-spacing: 0; text-transform: none; text-align: left; opacity: 0; pointer-events: none; transform: translateY(4px); transition: opacity 0.16s ease, transform 0.16s ease; }
389
+ .echo-rdo .gs-help::before { content: ""; position: absolute; z-index: 5; right: 3px; bottom: calc(100% + 4px); border: 5px solid transparent; border-top: 0; border-bottom-color: #1c263c; opacity: 0; transition: opacity 0.16s ease; }
390
+ .echo-rdo .gs-help:hover::after, .echo-rdo .gs-help:focus::after, .echo-rdo .gs-help:hover::before, .echo-rdo .gs-help:focus::before { opacity: 1; transform: translateY(0); }
391
+ .echo-rdo .gs-tok { font-family: var(--echo-font-brand); font-size: 18px; color: var(--echo-ink-seal); white-space: nowrap; }
392
+ .echo-rdo .gs-evidence { display: grid; gap: 8px; }
393
+ .echo-rdo .gs-ev { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 9px 0; border-top: 1px solid var(--echo-line-soft); }
394
+ .echo-rdo .gs-ev:first-child { border-top: 0; }
395
+ .echo-rdo .gs-ev b { font-family: var(--echo-font-mono); font-size: 12px; color: var(--echo-ink-primary); }
396
+ .echo-rdo .gs-ev span { display: block; margin-top: 2px; font-size: 11px; color: var(--echo-ink-mute); }
397
+ .echo-rdo .gs-ev strong { font-family: var(--echo-font-brand); font-size: 18px; color: var(--echo-ink-seal); white-space: nowrap; }
398
+ .echo-rdo .outcome { margin-top: 14px; border: 1px solid rgba(78,205,196,0.45); background: linear-gradient(180deg, rgba(78,205,196,0.10), rgba(78,205,196,0.04)); border-radius: 12px; padding: clamp(20px, 3vw, 30px); display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(22px, 3vw, 44px); align-items: center; }
399
+ .echo-rdo .outcome .rdo-kicker { color: var(--echo-ink-accent-deep); }
400
+ .echo-rdo .outcome h2 { margin: 9px 0 0; font-family: var(--echo-font-brand); font-weight: 900; font-size: clamp(22px, 2.7vw, 33px); line-height: 1.05; letter-spacing: -0.01em; color: var(--echo-ink-primary); }
401
+ .echo-rdo .outcome .rdo-lead { margin-top: 12px; max-width: 46ch; }
402
+ .echo-rdo .targetbar { position: relative; margin-top: 36px; }
403
+ .echo-rdo .tb-track { position: relative; height: 34px; border-radius: 999px; background: var(--echo-paper-soft); border: 1px solid var(--echo-line-soft); overflow: hidden; }
404
+ .echo-rdo .tb-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #d6473e, var(--echo-ink-seal)); display: flex; align-items: center; padding: 0 14px; color: #fff; font-family: var(--echo-font-mono); font-size: 11px; font-weight: 800; white-space: nowrap; animation: rdoWipe 0.85s var(--rdo-ease) 0.2s both; }
405
+ .echo-rdo .tb-goal { position: absolute; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,0.9); border-radius: 2px; }
406
+ .echo-rdo .tb-flag { position: absolute; top: -29px; transform: translateX(-50%); background: var(--echo-ink-accent-deep); color: #fff; font-family: var(--echo-font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; white-space: nowrap; box-shadow: 0 3px 8px rgba(47,157,147,0.3); }
407
+ .echo-rdo .tb-flag::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--echo-ink-accent-deep); }
408
+ .echo-rdo .oc-targets { background: var(--echo-paper-white); border: 1px solid var(--echo-line-soft); border-radius: 10px; padding: 18px; }
409
+ .echo-rdo .ot-title { margin: 0 0 6px; font-family: var(--echo-font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--echo-ink-mute); }
410
+ .echo-rdo .ot-note { margin: -2px 0 10px; font-size: 12px; line-height: 1.45; color: var(--echo-ink-mute); }
411
+ .echo-rdo .ot-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--echo-line-soft); }
412
+ .echo-rdo .ot-row:last-of-type { border-bottom: 0; }
413
+ .echo-rdo .ot-row .otk { display: flex; flex-direction: column; gap: 2px; }
414
+ .echo-rdo .ot-row .k { font-size: 13px; color: var(--echo-ink-text); }
415
+ .echo-rdo .ot-row .ks { font-family: var(--echo-font-mono); font-size: 10px; color: var(--echo-ink-faint); }
416
+ .echo-rdo .ot-row .v { font-family: var(--echo-font-brand); font-weight: 900; font-size: 22px; color: var(--echo-ink-accent-deep); font-variant-numeric: tabular-nums; white-space: nowrap; }
417
+ .echo-rdo .rdo-cta { margin-top: 16px; width: 100%; min-height: 46px; border-radius: 8px; border: 1px solid var(--echo-ink-primary); background: var(--echo-ink-primary); color: #fff; font-family: var(--echo-font-mono); font-size: 12px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; cursor: pointer; transition: filter 0.15s ease; }
418
+ .echo-rdo .rdo-cta:hover { filter: brightness(1.12); }
419
+ .echo-rdo .rdo-foot { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--echo-line-soft); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-family: var(--echo-font-mono); font-size: 11px; line-height: 1.6; color: var(--echo-ink-faint); }
420
+ .echo-rdo .rdo-foot code { background: var(--echo-paper-soft); color: var(--echo-ink-primary); padding: 1px 5px; border-radius: 4px; }
421
+ .echo-rdo .rdo-foot .priv { color: var(--echo-ink-accent-deep); font-weight: 700; }
422
+ @media (max-width: 860px) { .echo-rdo .rdo-kpis { grid-template-columns: repeat(2, 1fr); } .echo-rdo .rdo-grid, .echo-rdo .gs-head, .echo-rdo .gs-focus-head, .echo-rdo .gs-body, .echo-rdo .outcome { grid-template-columns: 1fr; } .echo-rdo .gs-metrics { min-width: 0; } .echo-rdo .gs-top-problems { grid-template-columns: repeat(2, minmax(0, 1fr)); } .echo-rdo .gs-source-waste { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
423
+ @media (max-width: 620px) { .echo-rdo .ledgerCols, .echo-rdo .terr { grid-template-columns: 1fr; } .echo-rdo .gs-metrics { grid-template-columns: repeat(2, 1fr); } .echo-rdo .gs-bubbles, .echo-rdo .gs-bubble-svg { min-height: 420px; height: 420px; } .echo-rdo .gs-top-problems, .echo-rdo .gs-source-waste { grid-template-columns: 1fr; } .echo-rdo .gs-problem-intro { display: grid; } }
424
+ @media (prefers-reduced-motion: reduce) { .echo-rdo .rise, .echo-rdo .rdo-histo .bar, .echo-rdo .donut .donutSvg, .echo-rdo .rbar i, .echo-rdo .tb-fill { animation: none !important; opacity: 1 !important; transform: none !important; translate: none !important; clip-path: none !important; } .echo-rdo [data-gs-source-callout], .echo-rdo [data-gs-source-detail] { transition: none !important; } }
425
+ /* annotation dialog */
426
+ .echo-note-dlg { border: 1px solid var(--echo-line-soft); border-radius: 14px; padding: 0; width: min(440px, calc(100vw - 32px)); background: var(--echo-paper-white); color: var(--echo-ink-text); box-shadow: 0 28px 60px -18px rgba(26,32,46,0.4); }
427
+ .echo-note-dlg.example { width: min(820px, calc(100vw - 32px)); }
428
+ .echo-note-dlg[open] { animation: rdoRise 0.24s var(--rdo-ease); }
429
+ .echo-note-dlg::backdrop { background: rgba(26,32,46,0.4); }
430
+ .echo-note-dlg .nk, .echo-note-dlg .nt, .echo-note-dlg .nb { padding-left: 26px; padding-right: 26px; }
431
+ .echo-note-dlg .nk { margin: 24px 0 0; font-family: var(--echo-font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--echo-ink-accent-deep); }
432
+ .echo-note-dlg .nt { margin: 6px 0 0; font-family: var(--echo-font-brand); font-weight: 900; font-size: 24px; line-height: 1.1; color: var(--echo-ink-primary); }
433
+ .echo-note-dlg .nb { padding-top: 14px; padding-bottom: 26px; }
434
+ .echo-note-dlg .nb p { margin: 0 0 12px; font-size: 14px; line-height: 1.6; }
435
+ .echo-note-dlg .nb p:last-child { margin-bottom: 0; }
436
+ .echo-note-dlg .nb .echo { margin-top: 14px; padding: 12px 14px; border-radius: 8px; background: rgba(78,205,196,0.10); border: 1px solid rgba(78,205,196,0.3); font-size: 13px; line-height: 1.55; }
437
+ .echo-note-dlg .nb .echo b { color: var(--echo-ink-primary); }
438
+ .echo-note-dlg .nb code { background: var(--echo-paper-soft); color: var(--echo-ink-primary); padding: 1px 5px; border-radius: 4px; }
439
+ .echo-note-dlg .example-list { display: grid; gap: 14px; }
440
+ .echo-note-dlg .example-card { border: 1px solid var(--echo-line-soft); border-radius: 10px; background: linear-gradient(180deg, #fff 0%, var(--echo-paper-soft) 100%); padding: 16px; }
441
+ .echo-note-dlg .example-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; margin-bottom: 10px; font-family: var(--echo-font-mono); font-size: 10px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; color: var(--echo-ink-mute); }
442
+ .echo-note-dlg .example-meta b { color: var(--echo-ink-seal); white-space: nowrap; border: 1px solid rgba(217,77,94,0.22); background: rgba(217,77,94,0.08); border-radius: 999px; padding: 5px 8px; }
443
+ .echo-note-dlg .example-field { display: grid; gap: 4px; padding: 10px 0; border-top: 1px solid var(--echo-line-soft); }
444
+ .echo-note-dlg .example-field:first-of-type { border-top: 0; padding-top: 0; }
445
+ .echo-note-dlg .example-field b { font-family: var(--echo-font-mono); font-size: 10px; font-weight: 900; letter-spacing: 0.07em; text-transform: uppercase; color: var(--echo-ink-primary); }
446
+ .echo-note-dlg .example-field span { font-size: 13px; line-height: 1.5; color: var(--echo-ink-text); overflow-wrap: anywhere; }
447
+ .echo-note-dlg .example-field.missing span, .echo-note-dlg .example-field.missing .example-output { color: var(--echo-ink-faint); font-style: italic; }
448
+ .echo-note-dlg .example-output { font-size: 13px; line-height: 1.58; color: var(--echo-ink-text); background: var(--echo-paper-white); border: 1px solid var(--echo-line-soft); border-radius: 8px; max-height: 300px; overflow: auto; overflow-wrap: anywhere; box-shadow: inset 0 1px 0 rgba(255,255,255,0.8); }
449
+ .echo-note-dlg .example-output-text { padding: 12px 13px; }
450
+ .echo-note-dlg .example-output-text p { margin: 0 0 10px; font-size: 13px; line-height: 1.58; }
451
+ .echo-note-dlg .example-output-text p:last-child { margin-bottom: 0; }
452
+ .echo-note-dlg .example-output-text h1, .echo-note-dlg .example-output-text h2, .echo-note-dlg .example-output-text h3 { margin: 12px 0 7px; font-family: var(--echo-font-brand); line-height: 1.15; color: var(--echo-ink-primary); }
453
+ .echo-note-dlg .example-output-text h1:first-child, .echo-note-dlg .example-output-text h2:first-child, .echo-note-dlg .example-output-text h3:first-child { margin-top: 0; }
454
+ .echo-note-dlg .example-output-text h1 { font-size: 18px; }
455
+ .echo-note-dlg .example-output-text h2 { font-size: 16px; }
456
+ .echo-note-dlg .example-output-text h3 { font-size: 14px; }
457
+ .echo-note-dlg .example-output-text ul, .echo-note-dlg .example-output-text ol { margin: 0 0 10px 18px; padding: 0; }
458
+ .echo-note-dlg .example-output-text li { margin: 4px 0; padding-left: 2px; }
459
+ .echo-note-dlg .example-output-text blockquote { margin: 10px 0; padding: 7px 10px; border-left: 3px solid rgba(26,58,143,0.24); background: var(--echo-paper-soft); color: var(--echo-ink-mute); border-radius: 0 7px 7px 0; }
460
+ .echo-note-dlg .example-output-text pre { margin: 10px 0; padding: 10px 11px; border-radius: 7px; background: #172033; color: #f7fafc; overflow: auto; white-space: pre-wrap; }
461
+ .echo-note-dlg .example-output-text pre code { background: transparent; color: inherit; padding: 0; border-radius: 0; }
462
+ .echo-note-dlg .example-output-text strong { color: var(--echo-ink-primary); }
463
+ .echo-note-dlg .example-problem-signal { display: grid; gap: 3px; padding: 10px 13px; border-bottom: 1px solid rgba(217,77,94,0.18); background: linear-gradient(90deg, rgba(217,77,94,0.09), rgba(255,207,92,0.09)); }
464
+ .echo-note-dlg .example-problem-signal small { font-family: var(--echo-font-mono); font-size: 9px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: var(--echo-ink-seal); }
465
+ .echo-note-dlg .example-problem-signal span { font-size: 12.5px; line-height: 1.45; color: var(--echo-ink-primary); }
466
+ .echo-note-dlg .example-output mark { background: rgba(255,207,92,0.62); color: var(--echo-ink-primary); border: 1px solid rgba(217,77,94,0.22); border-radius: 4px; padding: 0 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
467
+ .echo-note-dlg .example-output code { font-family: var(--echo-font-mono); font-size: 12px; }
468
+ .echo-note-dlg .nclose { position: absolute; top: 13px; right: 14px; width: 30px; height: 30px; border-radius: 999px; border: 1px solid var(--echo-line-soft); background: var(--echo-paper-white); color: var(--echo-ink-mute); font-size: 18px; cursor: pointer; display: grid; place-items: center; }
469
+ .echo-note-dlg .nclose:hover { color: var(--echo-ink-seal); border-color: var(--echo-ink-seal); }
470
+ `;
@@ -598,8 +598,13 @@ export const SETUP_PAGE_STYLES_EXTRACTION = String.raw ` /* ---- dashboard (p
598
598
  .consentActions .primary { width: 100%; }
599
599
  .localAuthActions .primary,
600
600
  .localAuthForm > .primary { width: 100%; }
601
+ .cityHero { min-height: auto; }
602
+ .cityShell {
603
+ width: 100vw;
604
+ height: 100vh;
605
+ }
601
606
  }
602
- /* extraction dashboard */
607
+ /* extraction dashboard — plate layout */
603
608
  .exHero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr); gap: clamp(20px, 3vw, 40px); align-items: center; margin-top: 8px; }
604
609
  /* Centered composition: mascot on top, then everything stacked and centered on one axis. */
605
610
  .readyDecision {
@@ -669,6 +674,7 @@ export const SETUP_PAGE_STYLES_EXTRACTION = String.raw ` /* ---- dashboard (p
669
674
  justify-items: stretch;
670
675
  margin: 0 auto;
671
676
  }
677
+ .exHeroResult .exPlate { display: none; }
672
678
  .exHeroResult .exCopy { width: 100%; margin: 0 auto; }
673
679
  .exCopy h2 { max-width: 620px; margin: 8px 0 0; font-size: clamp(34px, 4.8vw, 58px); line-height: 1.01; }
674
680
  .exCopy .exSub { margin: 14px 0 0; max-width: 590px; font-size: clamp(15px, 1.3vw, 17px); line-height: 1.6; color: var(--echo-ink-mute); }
@@ -890,6 +896,19 @@ export const SETUP_PAGE_STYLES_EXTRACTION = String.raw ` /* ---- dashboard (p
890
896
  font-size: 12px;
891
897
  line-height: 1.35;
892
898
  }
899
+ .exPlate { width: 100%; }
900
+ /* WebGL clay city (echo-extraction-plate.html) — the only plate; no SVG layer */
901
+ .plateStack { position: relative; width: 100%; aspect-ratio: 640 / 470; }
902
+ .plateStack .plateGl { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; }
903
+ .exHeroActive {
904
+ grid-template-columns: minmax(0, 640px);
905
+ justify-content: center;
906
+ justify-items: stretch;
907
+ width: 100%;
908
+ max-width: min(920px, calc(100vw - clamp(36px, 8vw, 120px)));
909
+ margin: 0 auto;
910
+ }
911
+ .exHeroActive .exPlate { display: none; }
893
912
  .exHeroActive .exCopy { width: 100%; }
894
913
  .workbench { display: grid; gap: 14px; max-width: 640px; }
895
914
  .workbench h2 {
@@ -2519,4 +2538,15 @@ export const SETUP_PAGE_STYLES_EXTRACTION = String.raw ` /* ---- dashboard (p
2519
2538
  .sessionPickerFoot button { width: 100%; }
2520
2539
  }
2521
2540
 
2541
+ /* ===== workspace readout dashboard (Part 2 — replaces explainPage) ===== */
2542
+ @keyframes rdoRise { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
2543
+ @keyframes rdoGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
2544
+ @keyframes rdoDraw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
2545
+ @keyframes rdoWipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
2546
+ /* Pull the report up toward the city figure — the canvas bottom fades out now,
2547
+ so the document can tuck into that empty band without touching the board. */
2548
+ body.cityMode .detailsWrap { background: var(--echo-paper-canvas); margin-top: clamp(-120px, -7vw, -56px); }
2549
+
2550
+ /* Context audit — a printed report sheet on the desk: serif document type, tight rhythm. */
2551
+ .context-audit {
2522
2552
  `;