clearotron 0.6.0 → 0.7.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/INSTALL.md +7 -4
  2. package/QUICKSTART.md +1 -0
  3. package/README.md +5 -2
  4. package/THIRD-PARTY-NOTICES.md +1 -1
  5. package/bin/clearotron.mjs +4 -2
  6. package/bin/onboard.mjs +158 -29
  7. package/build-info.json +2 -2
  8. package/docs/CLIENT-MCP.md +3 -1
  9. package/docs/DELIVERY.md +6 -3
  10. package/docs/architecture/02-architecture.md +1 -1
  11. package/docs/branding.md +4 -4
  12. package/docs/report-data/clearance-1.schema.json +320 -0
  13. package/docs/report-data/knockout-1.schema.json +268 -0
  14. package/driver/CHANGELOG.md +39 -0
  15. package/driver/connotation-search.mjs +1 -1
  16. package/driver/contract-e3-backlog.mjs +1 -1
  17. package/driver/coverage-ledger.mjs +18 -2
  18. package/driver/deferral-row.mjs +1 -1
  19. package/driver/degraded-parts.mjs +1 -0
  20. package/driver/driver.config.mjs +4 -3
  21. package/driver/effective-scope.mjs +3 -1
  22. package/driver/engagement-receipt.mjs +3 -3
  23. package/driver/engine/anthropic-agent.mjs +15 -1
  24. package/driver/engine/common.mjs +7 -0
  25. package/driver/engine/mcp/band-server.mjs +7 -16
  26. package/driver/engine/mcp/codex-config.mjs +3 -0
  27. package/driver/engine/mcp/recording-server.mjs +45 -34
  28. package/driver/engine/openai-agent.mjs +74 -7
  29. package/driver/gateway.mjs +67 -10
  30. package/driver/jx.mjs +13 -5
  31. package/driver/manuals-seen.mjs +146 -0
  32. package/driver/mark-logos.mjs +144 -0
  33. package/driver/methodology-witness.mjs +2 -1
  34. package/driver/owner-use-check.mjs +3 -3
  35. package/driver/package.json +1 -1
  36. package/driver/pipeline-knockout.mjs +4 -0
  37. package/driver/pipeline.mjs +92 -7
  38. package/driver/portal-local-auth.mjs +6 -2
  39. package/driver/portal-report.mjs +43 -12
  40. package/driver/portal-routes/me.mjs +4 -1
  41. package/driver/portal-runs.mjs +6 -9
  42. package/driver/profiles.mjs +4 -4
  43. package/driver/publish/README.md +9 -7
  44. package/driver/publish/email-conditions.mjs +2 -2
  45. package/driver/publish/evidence-words.mjs +21 -0
  46. package/driver/publish/index.mjs +104 -90
  47. package/driver/publish/knockout.mjs +75 -49
  48. package/driver/publish/office-record-links.mjs +11 -9
  49. package/driver/publish/page-shell.mjs +98 -0
  50. package/driver/publish/publish-inputs.mjs +4 -0
  51. package/driver/publish/regions.mjs +24 -3
  52. package/driver/publish/register-record.mjs +150 -0
  53. package/driver/publish/render-knockout.mjs +195 -642
  54. package/driver/publish/render.mjs +270 -363
  55. package/driver/publish/report-data.mjs +225 -12
  56. package/driver/publish/strings.mjs +662 -0
  57. package/driver/publish/templates/knockout.css +200 -0
  58. package/driver/publish/templates/report.css +72 -52
  59. package/driver/publish/xlsx.mjs +148 -125
  60. package/driver/record-goods.mjs +42 -0
  61. package/driver/reference-score.mjs +4 -1
  62. package/driver/register-reach.mjs +39 -0
  63. package/driver/registry-fidelity.mjs +3 -8
  64. package/driver/repair-composers.mjs +6 -2
  65. package/driver/repair-targets.mjs +4 -1
  66. package/driver/run-delivered.mjs +6 -1
  67. package/driver/runner.mjs +73 -29
  68. package/driver/scope-facts.mjs +27 -6
  69. package/driver/search-policy.mjs +9 -4
  70. package/driver/stages.mjs +3 -3
  71. package/driver/steps/overview-and-cards.mjs +50 -14
  72. package/driver/steps/verdict-gate.mjs +33 -13
  73. package/driver/suite-census.json +368 -68
  74. package/driver/terminal-clamp.mjs +6 -1
  75. package/mcp-server/CHANGELOG.md +4 -0
  76. package/mcp-server/lib/audit-view.mjs +5 -2
  77. package/mcp-server/lib/brief.mjs +2 -1
  78. package/mcp-server/lib/evidence.mjs +31 -4
  79. package/mcp-server/lib/knockout.mjs +1 -1
  80. package/mcp-server/lib/scrub.mjs +1 -1
  81. package/mcp-server/package.json +1 -1
  82. package/mcp-server/server.mjs +5 -3
  83. package/package.json +4 -1
  84. package/portal-ui/dist/assets/{index-CYaO2ygd.js → index-CtkllKJ2.js} +225 -77
  85. package/portal-ui/dist/assets/{index-izLa9apq.css → index-CxAkJXIT.css} +25 -5
  86. package/portal-ui/dist/index.html +2 -2
  87. package/portal-ui/package.json +3 -3
  88. package/providers/_shared/ledger.mjs +30 -2
  89. package/providers/_shared/record-uri.mjs +15 -0
  90. package/providers/clarivate/src/adapter.js +11 -0
  91. package/providers/clarivate/src/core.js +17 -1
  92. package/providers/oauth-mcp-bridge/CHANGELOG.md +4 -0
  93. package/providers/oauth-mcp-bridge/package.json +1 -1
  94. package/scripts/README.md +147 -3
  95. package/scripts/e2e-first-time.mjs +3 -3
  96. package/scripts/freeze-example-run.mjs +3 -3
  97. package/scripts/mint-search-level-tags.mjs +61 -0
  98. package/scripts/mint-source-pin-census.mjs +89 -0
  99. package/scripts/release-note-required.mjs +65 -6
  100. package/scripts/test-durations-reporter.mjs +25 -0
  101. package/scripts/test-full.mjs +72 -18
  102. package/scripts/test-run.mjs +18 -1
  103. package/shared/brand.mjs +85 -5
  104. package/shared/inline-markdown.mjs +53 -0
  105. package/shared/portal-tokens.mjs +2 -1
  106. package/shared/register-selection.mjs +8 -3
  107. package/shared/search-level-tags.json +25 -0
  108. package/shared/tools/derive-band-pairs.mjs +10 -0
  109. package/driver/own-rights.mjs +0 -83
  110. package/driver/use-check.mjs +0 -85
@@ -0,0 +1,200 @@
1
+ /* THE BOARD'S SECTION STRIP AND ITS SECTION FURNITURE, lifted from the approved knockout board rather
2
+ than written here. Four entries; the third reads "Also considered" and resolves at the filings
3
+ section. Marked not to print, because the board marks it so: a strip that follows the reader down
4
+ the page is a control, and paper has nothing for it to follow.
5
+ NO BACKTICK BELOW, and none in this comment — one closes the template literal this sits inside, and
6
+ it has cost this file two silent breakages already.
7
+ The number span is drawn and then hidden, which is the board's own doing: it emits the span on every
8
+ section and sets it to none further down its own stylesheet. Carried so the delivered document holds
9
+ the same elements as the approved one; no pixel moves. */
10
+ /* THE BREADCRUMB IS A ROW OF THE HEADER, not a bar under it (owner, 2026-09-18).
11
+ It used to be a SIBLING of .rep-stickyhead, pinned on its own at top:var(--tb-h,52px) — and
12
+ --tb-h is set nowhere in this product, so the fallback was a guess at a bar that measures ~46px:
13
+ content showed through the slit between the two, and z-index:20 put the strip UNDER the header's
14
+ 100 whenever the guess was wrong. The strip is now emitted inside .rep-stickyhead, so the header
15
+ and the breadcrumb are one sticky surface that pins and unpins together and can never gap or
16
+ overlap, whatever the bar measures or how it wraps.
17
+ No background and no bottom hairline of its own: the wrapper carries the blurred surface and the
18
+ single edge, and the border-top here is the divider between the two rows. It is on .strip rather
19
+ than on any wrapper because sectionStrip() emits NOTHING when fewer than two of its sections are
20
+ live — a wrapper would leave a stray line on those reports.
21
+ The gutter matches the topbar's, so the first entry lines up under the back button. */
22
+ .strip{display:flex;gap:4px;align-items:center;padding:4px max(26px,calc((100% - 1120px)/2)) 6px;
23
+ border-top:1px solid var(--line);font:600 12px/1 'Plus Jakarta Sans','Helvetica Neue',Arial,sans-serif;
24
+ letter-spacing:.04em;overflow-x:auto;scrollbar-width:none}
25
+ .strip::-webkit-scrollbar{display:none}
26
+ .strip a{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;color:#6b5d50;text-decoration:none;white-space:nowrap}
27
+ .strip a i{width:8px;height:8px;border-radius:50%;border:1.5px solid currentColor;box-sizing:border-box}
28
+ .strip a.done{color:#4c7a4c}
29
+ .strip a.done i{background:#4c7a4c;border-color:#4c7a4c}
30
+ .strip a.now{color:#250902;background:rgba(0,0,0,.06)}
31
+ .strip a.now i{border-color:#860F09;border-width:3px}
32
+ .sec .num{display:none}
33
+ .sec .note{display:inline;margin-left:10px;font-size:12px;color:var(--slate)}
34
+ .ko-glance{padding:6px 0 2px}
35
+ /* — framework attribution, captioning the rows. Same gutter and hairline as.ko-row so it reads
36
+ as the table's head, not a floating note. */
37
+ .ko-legend{padding:11px 24px 12px;border-bottom:1px solid var(--line);font-size:11.5px;color:var(--slate)}
38
+ .ko-row{display:grid;grid-template-columns:minmax(140px,.34fr) 1fr;gap:18px;align-items:start;
39
+ padding:15px 24px;border-bottom:1px solid var(--line)}
40
+ .ko-row:last-child{border-bottom:0}
41
+ .ko-name{font-weight:800;font-size:17px;letter-spacing:-.01em;margin:0 0 7px;word-break:break-word}
42
+ .ko-band{display:inline-block;font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
43
+ color:var(--med-on);padding:4px 11px;border-radius:30px}
44
+ .ko-qual{display:block;margin-top:5px;font-size:11.5px;color:var(--slate)}
45
+ .ko-classes{font-size:12px;color:var(--slate);margin:6px 0 0}
46
+ .ko-bul{margin:0;padding-left:18px;font-size:14px;color:var(--slate);line-height:1.6}
47
+ /* / — the summary's own sub-headers and bullets. The summary is the report's entry point and
48
+ the owner's complaint was that it read as one block; these are what make it scannable. Sized BELOW
49
+ .ko-name so a sub-header inside the summary never competes with a mark's own name. */
50
+ .ko-sumh{font-weight:800;font-size:13.5px;letter-spacing:.01em;margin:15px 0 6px;color:var(--slate)}
51
+ .ko-sumh:first-child{margin-top:0}
52
+ .ko-sumbul{margin:0 0 8px}
53
+ .ko-bul li{margin:0 0 5px}
54
+ .ko-bul li:last-child{margin-bottom:0}
55
+ /* — one conflict, one block: the reference a reader carries to the workbook, the name, its band,
56
+ the conclusion sentence, the ground under it, and the evidence it opens to. */
57
+ /* ko-find is a LOCATOR now, not a look: the block wears .card as well and report.css draws it. The
58
+ dashed rule and the top margin this used to carry would fight the card's own border and radius. */
59
+ .ko-find.card{margin:14px 0 0}
60
+ .ko-find.card:first-child{margin-top:0}
61
+ .ko-findband{display:inline-block;font-size:9.5px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;
62
+ color:var(--med-on);padding:2px 8px;border-radius:30px;margin-left:7px;vertical-align:1px}
63
+ .ko-findmeta{margin:0 0 5px;font-size:12px;color:var(--slate)}
64
+ .ko-findnet{margin:0 0 5px;font-size:14px;color:var(--slate);line-height:1.6}
65
+ .ko-findbasis{margin:0 0 5px;font-size:13.5px;color:var(--slate);line-height:1.6}
66
+ .ko-findev{margin:0;font-size:12.5px;line-height:1.6;word-break:break-word}
67
+ .ko-count{font-family:var(--mono);font-size:13px;color:var(--ink);margin:0}
68
+ .ko-degraded{font-size:13px;color:var(--med-tx,#82550A);margin:8px 0 0;font-style:italic}
69
+ /* The reviewer-notes legend. NOT .ko-legend — that name is taken by the framework attribution row
70
+ above, and reusing it would restyle the caption. It names the purple convention report.css already
71
+ draws for .internal, so the colour is stated once and never re-specified. */
72
+ /* The notes sit inside a mark's column, so the shared .internal block's bullets keep the column's
73
+ own list indent and do not fight the paragraph above them. */
74
+ .ko-row .internal .ko-bul{margin:0 0 4px}
75
+ .ko-row .internal .ko-bul:last-child{margin-bottom:0}
76
+ .ko-counts table{width:100%;border-collapse:collapse;font-size:14px}
77
+ .ko-counts th{text-align:left;font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--slate);
78
+ font-weight:700;padding:14px 24px 8px;border-bottom:1px solid var(--line)}
79
+ .ko-counts td{padding:13px 24px;border-bottom:1px solid var(--line);vertical-align:top}
80
+ .ko-counts tr:last-child td{border-bottom:0}
81
+ .ko-counts td.num{font-family:var(--mono);font-size:15px;font-weight:600;color:var(--ink)}
82
+ .ko-counts td.na{font-family:var(--mono);font-size:12.5px;color:var(--slate)}
83
+ .ko-counts tr.ko-forms td{font-size:12px;color:var(--slate);line-height:1.55;padding:0 24px 13px;
84
+ font-family:var(--mono);word-break:break-word}
85
+ .ko-tier{font-size:13.5px;color:var(--slate);line-height:1.65;margin:0;padding:18px 24px}
86
+ /* — the read, as structure. The chip and classes are the head; basis leads; factors are a tight
87
+ list; the two qualifying blocks are visually distinct so a scan separates "why this band" from
88
+ "what would move it"; the register line is code-owned and always last. */
89
+ .ko-basisline{margin:0 0 8px;font-size:14.5px;color:var(--ink);line-height:1.5;font-weight:600}
90
+ .ko-lbl{display:block;font-size:9.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
91
+ color:var(--slate);margin:0 0 4px}
92
+ .ko-counter{margin:10px 0 0;padding:9px 0 0;border-top:1px dashed var(--line)}
93
+ .ko-mitig{margin:10px 0 0;padding:9px 12px;border-left:2px solid var(--line);background:var(--sunken,transparent)}
94
+ .ko-mitig p{margin:0;font-size:13.5px;color:var(--slate);line-height:1.6}
95
+ .ko-full{margin:10px 0 0;font-size:13px;color:var(--slate)}
96
+ .ko-full summary{cursor:pointer;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--slate);font-weight:700}
97
+ .ko-full ul{margin-top:7px}
98
+ /* NOTHING IS DISCARDED — including on paper. A collapsed <details> prints collapsed, so a report
99
+ saved to PDF would drop the narrative this block exists to preserve. The beforeprint handler below
100
+ opens them; this hides the now-pointless toggle in print. */
101
+ @media print{.ko-full summary{display:none}}
102
+ /* THE LABELS THE READER ACTUALLY READS. ko-lbl above is 9.5px uppercase grey — the owner's
103
+ "what holds what?" was asked of a label in that style, so a new word in the same style is the
104
+ same defect with different letters. These are body size and body colour, and they carry the
105
+ band's own word ("Why High"), which is what makes them answerable without a legend. */
106
+ .ko-lbl2{display:block;font-size:14px;font-weight:700;color:var(--ink);margin:0 0 5px;letter-spacing:0}
107
+ /* The card's fold. ko-full rides with it so openAll() and the beforeprint handler reach it —
108
+ what folds on screen still prints, which is the rule this template already states for the
109
+ narrative fold. ko-why carries only the spacing a card needs inside its own body. */
110
+ .ko-why{margin:6px 0 5px}
111
+ .ko-why summary{font-size:12px;text-transform:none;letter-spacing:0;color:var(--rose,var(--faint));font-weight:600}
112
+ /* "About this request" — what was asked, and any flag on the asking. It sits in the hero because a
113
+ mis-scoped request makes every number below it answer the wrong question. */
114
+ .ko-req{margin:14px 0 0;padding:13px 16px;border:1px solid var(--line);border-radius:3px}
115
+ .ko-req .ko-lbl2{margin-bottom:6px}
116
+ .ko-req p{margin:0 0 6px;font-size:13.5px;color:var(--slate);line-height:1.6}
117
+ .ko-req p:last-child{margin-bottom:0}
118
+ .ko-reqflag{border-left:3px solid var(--rose,var(--line));padding-left:11px;margin-top:9px}
119
+ /* THE PURPLE NOTES COME OFF THE EXPORT, exactly as the clearance page removes its internal notes
120
+ ("Internal (review-only) notes are removed on export"). The knockout's export is window.print()
121
+ via exportPDF(), so print is the whole export path and this rule is the whole strip. Without it
122
+ a knockout PDF forwarded to a client carries the reviewing lawyer's notes. */
123
+ @media print{.internal{display:none !important}}
124
+ .ko-reg{margin:11px 0 0;padding:8px 0 0;border-top:1px solid var(--line);
125
+ font-family:var(--mono);font-size:12px;color:var(--slate);line-height:1.5}
126
+ .ko-filings{padding:14px 0 2px;border-bottom:1px solid var(--line)}
127
+ .ko-filings:last-of-type{border-bottom:0}
128
+ .ko-filings .ko-name{padding:0 24px}
129
+ .ko-filings td{font-size:13px}
130
+ .ko-basis{font-size:12.5px;color:var(--slate);line-height:1.6;margin:0;padding:15px 24px 17px;border-top:1px solid var(--line)}
131
+ .ko-scope{font-size:13.5px;color:var(--slate);line-height:1.65;margin:0;padding:18px 24px}
132
+ .ko-scope b{color:var(--ink)}
133
+ /* A wide counts table must scroll inside its own panel, never push the page sideways. */
134
+ /* AND IT SHOWS THAT IT SCROLLS. A panel that continues off its right edge and says nothing leaves a
135
+ reader who never drags it believing they have seen the whole table; the columns past the edge are
136
+ reachable and invisible at the same time. Ruled 2026-09-17: a scrollbar, always visible, and no text.
137
+ The -webkit-appearance:none is the part that does the work — without it the platform draws an OVERLAY
138
+ scrollbar that appears only once a scroll is already under way, which is the state this rule ends.
139
+ scrollbar-width and scrollbar-color are the same instruction for the engines that take the standard
140
+ properties. (NO BACKTICK IN THIS COMMENT: it sits inside the stylesheet's own template literal, and
141
+ one closes it. That is written above the export menu block too, and I still did it — so it is here
142
+ as well, beside the second rule anyone adds.) The colours are tokens, not fixed values, for the reason the ladder below this block
143
+ records: a fixed colour here reads on one ground and goes invisible on the other. */
144
+ .ko-scroll{overflow-x:auto}
145
+ .ko-scroll::-webkit-scrollbar{height:9px;-webkit-appearance:none}
146
+ .ko-scroll::-webkit-scrollbar-track{background:transparent}
147
+ .ko-scroll::-webkit-scrollbar-thumb{background:var(--faint);border-radius:5px}
148
+ /* THE TWO INSTRUCTIONS CANNOT SIT TOGETHER, and this was measured rather than reasoned. Setting the
149
+ standard scrollbar-width alongside the pseudo-elements makes the engine take the standard path and
150
+ ignore them, and on this one the standard path draws an overlay bar with no layout height at all.
151
+ Driven three ways on a delivered report at 390px, reading the height the bar takes out of the panel:
152
+ both together 0px, the pseudo-elements alone 9px, the standard properties alone 0px. So the standard
153
+ ones go behind a support query that the engines carrying the pseudo-elements never enter, which
154
+ leaves each engine exactly one instruction. */
155
+ @supports not selector(::-webkit-scrollbar){
156
+ .ko-scroll{scrollbar-width:thin;scrollbar-color:var(--slate) transparent}}
157
+ /* A finding's bullets carry bare source URLs, and a URL offers a line no place to break. On a phone
158
+ that unbreakable run becomes the minimum width of the grid item, so the single column floors at
159
+ 443px inside a 360px viewport and the whole page scrolls sideways -- 135px of it, measured
160
+ 2026-09-17. Only the value "anywhere" lowers that minimum: "break-word" breaks the line but
161
+ leaves the minimum where it was, which is why the blocks beside this one that already set
162
+ word-break were never the cause. Phone widths only: nothing at or above 700px changes.
163
+ NO BACKTICK IN THIS COMMENT -- it sits inside the stylesheet's own template literal. */
164
+ @media(max-width:700px){.ko-row{grid-template-columns:1fr;gap:10px}
165
+ .ko-bul{overflow-wrap:anywhere}}
166
+
167
+ /* The band ladder, the territories fold and the run's own caveats (the 2026-09-16 report redesign). Ported from
168
+ the design's stylesheet with its fixed colours replaced by this page's tokens, so the ladder reads
169
+ in both themes: the tick row was #a89a8a on white and the fold's summary and prose a brown pair,
170
+ all three of which go invisible on the dark ground this report also renders on. */
171
+ /* THE BAND PILL HANGS ABOVE THE BAR, so the space above the bar is what keeps it off the heading.
172
+ NO BACKTICK IN THIS COMMENT — it sits inside the stylesheet's own template literal.
173
+ .kmarker sits at top:-30px and the pill is ~23px tall (5+5 padding on a 13px line), so it starts
174
+ 30px above the bar and ends 7px above it. At the LEFTMOST band the pill is also drawn flush left
175
+ (translateX(-12px) at left:0%) — directly under the left-aligned "Overall risk" — so that is the
176
+ rung where the two touch, and the house ladder's leftmost rung is Low.
177
+ THE ROOM IS ONE MARGIN, NOT TWO, and that is what made the arithmetic wrong twice. This margin and
178
+ .gauge .label's 18px bottom margin are ADJACENT SIBLINGS, so they collapse to the larger of the two
179
+ rather than adding: 10px here gave 18px of room against a pill that needs 30, and the first attempt
180
+ at 24 still left 6. Measured in a browser at every rung (scripts/report-header-render-check.mjs),
181
+ not reasoned: 44 gives 14px of daylight under the heading at every band. */
182
+ .kscale{position:relative;margin:44px 8px 34px}
183
+ .kbar{position:relative;height:8px;border-radius:4px}
184
+ .kmarker{position:absolute;top:-30px;text-align:center}
185
+ .kpill{display:inline-block;padding:5px 12px;border-radius:999px;color:var(--med-on);
186
+ font:700 13px/1 'Plus Jakarta Sans','Helvetica Neue',Arial,sans-serif;white-space:nowrap}
187
+ .kneedle{width:3px;height:14px;margin:4px auto 0;border-radius:2px}
188
+ .kticks{position:relative;height:16px;margin-top:8px}
189
+ .kticks span{position:absolute;transform:translateX(-50%);color:var(--slate);white-space:nowrap;
190
+ font:700 10.5px/1 'Plus Jakarta Sans','Helvetica Neue',Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase}
191
+ .kticks span.on{font-weight:800}
192
+ .terr{margin-top:4px}
193
+ .terr summary{cursor:pointer;color:var(--rose,var(--faint));font-size:12px;font-weight:600;list-style:none}
194
+ .terr summary::-webkit-details-marker{display:none}
195
+ .terr p{margin:4px 0 0;font-size:12px;line-height:1.6;color:var(--slate)}
196
+ .ko-caveats{padding:16px 24px;margin:14px 0 8px}
197
+ .ko-caveats p{margin:0 0 7px;font-size:12px;line-height:1.6;color:var(--slate)}
198
+ .ko-caveats p:last-child{margin-bottom:0}
199
+ .ko-fwline{margin-top:10px}.ko-fwline .label{margin-bottom:0}
200
+ .ko-fwline .gauge-fw{margin-top:3px;font-size:11px;font-weight:600;color:var(--slate)}
@@ -1,10 +1,13 @@
1
1
  /* Brand :root tokens live in shared/brand.mjs (REPORT_ROOT) and are prepended by render.mjs. */
2
+ /* GREY TEXT IS --slate. Every grey label here is 13px or smaller, and --faint scored 2.88:1 on the page, 2.66 on
3
+ --bg2 and 3.22 on a card, under the 4.5 small text needs; --slate scores 5.17 to 6.34, print white included.
4
+ --faint is left for rails and scrollbars, which are not text. Text on a band colour takes that band's --*-on. */
2
5
  *{box-sizing:border-box}
3
- html{scroll-behavior:smooth}
6
+ @media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
4
7
  body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:15px;line-height:1.55;
5
8
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
6
9
  .wrap{max-width:1120px;margin:0 auto;padding:0 26px 110px}
7
- .label{font-size:10.5px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--faint)}
10
+ .label{font-size:10.5px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--slate)}
8
11
  .mono{font-family:var(--mono)}
9
12
  a{color:var(--crimson);text-decoration:none}
10
13
  .print-hidden{display:none!important}
@@ -21,9 +24,9 @@
21
24
  .topbar{z-index:40;display:flex;align-items:center;gap:10px;padding:6px max(26px,calc((100% - 1120px)/2)) 8px}
22
25
  .wm{display:inline-flex;align-items:center;font-weight:900;font-size:15px;letter-spacing:.02em;color:var(--crimson)}
23
26
  .wm .ridge{margin-right:6px}
24
- .wm small{color:var(--faint);font-weight:500;letter-spacing:.14em;text-transform:uppercase;font-size:9px;margin-left:8px}
27
+ .wm small{color:var(--slate);font-weight:500;letter-spacing:.14em;text-transform:uppercase;font-size:9px;margin-left:8px}
25
28
  .topbar .sp{flex:1}
26
- .tb-risk{font-size:10.5px;font-weight:700;letter-spacing:.08em;color:#fff;background:var(--med);padding:4px 11px;border-radius:30px}
29
+ .tb-risk{font-size:10.5px;font-weight:700;letter-spacing:.08em;color:var(--med-on);background:var(--med);padding:4px 11px;border-radius:30px}
27
30
  .tbbtn{font:inherit;font-size:12.5px;font-weight:700;border:1px solid var(--line2);background:var(--card);
28
31
  color:var(--ink);border-radius:30px;padding:7px 14px;cursor:pointer;transition:.15s;text-decoration:none;display:inline-block}
29
32
  .tbbtn:hover{border-color:var(--crimson);color:var(--crimson)}
@@ -44,7 +47,7 @@
44
47
  covers it — the exported PDF carries the whole caption, which is the rule for print. */
45
48
  details.sub-more{margin:0 0 30px;max-width:700px}
46
49
  details.sub-more>summary{cursor:pointer;list-style:none;font-size:12.5px;font-weight:700;
47
- letter-spacing:.06em;text-transform:uppercase;color:var(--faint)}
50
+ letter-spacing:.06em;text-transform:uppercase;color:var(--slate)}
48
51
  details.sub-more>summary::-webkit-details-marker{display:none}
49
52
  details.sub-more>summary::before{content:"▸";margin-right:7px;display:inline-block;transition:.15s;color:var(--rose)}
50
53
  details.sub-more[open]>summary::before{transform:rotate(90deg)}
@@ -66,10 +69,10 @@
66
69
  .scale{position:relative;height:11px;border-radius:8px;margin:34px 0 10px;
67
70
  background:linear-gradient(90deg,var(--clear) 0%,var(--low) 26%,var(--med) 52%,var(--high) 79%,var(--severe) 100%)}
68
71
  .ticks{display:flex;justify-content:space-between;margin-top:13px}
69
- .ticks span{font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--faint);flex:1;text-align:center}
72
+ .ticks span{font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--slate);flex:1;text-align:center}
70
73
  .ticks span.on{color:var(--med)}
71
74
  .marker{position:absolute;top:-32px;left:52%;transform:translateX(-50%);text-align:center}
72
- .marker .pill{font-weight:900;font-size:14px;letter-spacing:.02em;color:#fff;background:var(--med);
75
+ .marker .pill{font-weight:900;font-size:14px;letter-spacing:.02em;color:var(--med-on);background:var(--med);
73
76
  /* the glow is --med in DECIMAL (200,135,27 == #C8871B) — a hex grep will not find it; recolor with the ramp */
74
77
  padding:4px 13px;border-radius:30px;white-space:nowrap;box-shadow:0 5px 14px rgba(200,135,27,.4)}
75
78
  .marker .needle{width:2px;height:15px;background:var(--med);margin:4px auto 0;border-radius:2px}
@@ -78,7 +81,7 @@
78
81
  .facts{padding:4px 24px}
79
82
  .facts .row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}
80
83
  .facts .row:last-child{border-bottom:0}
81
- .facts .k{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--faint)}
84
+ .facts .k{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--slate)}
82
85
  .facts .v{font-size:13.5px;font-weight:700;text-align:right}
83
86
  .chip{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.03em;padding:3px 10px;border-radius:30px}
84
87
  .chip.open{background:var(--high-soft);color:var(--high-tx)}
@@ -121,7 +124,7 @@
121
124
  .panel.actions ul.answers li{margin:7px 0}
122
125
  .panel.actions details.ans-more{margin:3px 0 0}
123
126
  .panel.actions details.ans-more>summary{cursor:pointer;list-style:none;font-size:11px;font-weight:700;
124
- letter-spacing:.06em;text-transform:uppercase;color:var(--faint)}
127
+ letter-spacing:.06em;text-transform:uppercase;color:var(--slate)}
125
128
  .panel.actions details.ans-more>summary::-webkit-details-marker{display:none}
126
129
  .panel.actions details.ans-more>summary::before{content:"\25b8";margin-right:6px;display:inline-block;transition:.15s;color:var(--rose)}
127
130
  .panel.actions details.ans-more[open]>summary::before{transform:rotate(90deg)}
@@ -163,7 +166,7 @@
163
166
  .sec{margin:56px 0 18px;display:flex;align-items:baseline;gap:15px;border-top:2px solid var(--ink);padding-top:14px}
164
167
  .sec .num{font-family:var(--mono);font-size:13px;color:var(--crimson);font-weight:600}
165
168
  .sec h2{font-weight:900;font-size:25px;margin:0;letter-spacing:-.015em}
166
- .sec .note{margin-left:auto;font-size:11px;font-weight:600;letter-spacing:.04em;color:var(--faint);text-transform:uppercase;align-self:flex-end}
169
+ .sec .note{margin-left:auto;font-size:11px;font-weight:600;letter-spacing:.04em;color:var(--slate);text-transform:uppercase;align-self:flex-end}
167
170
 
168
171
  .landwrap{display:grid;grid-template-columns:1.5fr 1fr;gap:18px;align-items:start}
169
172
  @media(max-width:820px){.landwrap{grid-template-columns:1fr}}
@@ -172,7 +175,7 @@
172
175
  .land svg a{cursor:pointer}
173
176
  .keypanel{padding:16px 18px;display:flex;flex-direction:column}
174
177
  .keypanel .label{margin-bottom:6px}
175
- .keyhint{font-size:11.5px;color:var(--faint);margin:0 0 12px}
178
+ .keyhint{font-size:11.5px;color:var(--slate);margin:0 0 12px}
176
179
  .keyrow{display:flex;align-items:center;gap:11px;padding:9px 8px;border-radius:10px;color:var(--ink);transition:.12s;border:1px solid transparent}
177
180
  .keyrow:hover{background:var(--bg2);border-color:var(--line)}
178
181
  .kn{flex:none;width:23px;height:23px;border-radius:50%;color:#fff;font-weight:900;font-size:12px;display:flex;align-items:center;justify-content:center}
@@ -181,7 +184,7 @@
181
184
  .kw .cm-mark{font-size:12px;padding:1px 7px}
182
185
  .kc{flex:none;font-size:10px;font-weight:700;letter-spacing:.03em;padding:3px 8px;border-radius:30px}
183
186
  .kc.med{background:var(--med-soft);color:var(--med-tx)} .kc.low{background:var(--clear-soft);color:var(--clear-tx)} .kc.off{background:#EDE6D9;color:var(--slate)}
184
- .keyrow .arr{flex:none;color:var(--faint);font-size:13px;opacity:0;transition:.12s}
187
+ .keyrow .arr{flex:none;color:var(--slate);font-size:13px;opacity:0;transition:.12s}
185
188
  .keyrow:hover .arr{opacity:1}
186
189
  .legend{display:flex;flex-wrap:wrap;gap:14px;padding:8px 8px 4px;font-size:11px;color:var(--slate)}
187
190
  .legend i{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:6px;vertical-align:0}
@@ -194,8 +197,11 @@
194
197
  .cardhead{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:4px}
195
198
  .pick{display:inline-flex;align-items:center}
196
199
  .pick input{width:16px;height:16px;cursor:pointer;accent-color:var(--crimson)}
197
- .fnum{font-family:var(--mono);font-size:12px;font-weight:600;color:var(--faint)}
200
+ .fnum{font-family:var(--mono);font-size:12px;font-weight:600;color:var(--slate)}
198
201
  .who{font-weight:900;font-size:19px;letter-spacing:-.01em}
202
+ /* A card's title is its h3, so a reader can move between findings by heading. :where() keeps this at no
203
+ specificity: it removes the browser's heading margin, size and weight, and every .who rule still wins. */
204
+ :where(h3.who){margin:0;font:inherit;display:inline}
199
205
  /* the contentious MARK + the classes it matched in, next to the holder (which mark/class the conflict IS) */
200
206
  .cmark{display:inline-flex;align-items:center;gap:7px;font-size:13px;min-width:0}
201
207
  .cm-mark{font-weight:800;color:var(--crimson);background:#fbece9;padding:2px 9px;border-radius:6px;letter-spacing:-.005em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:32ch}
@@ -204,11 +210,11 @@
204
210
  .src.reg{background:#F3E7C9;color:#7a5a08}.src.cl{background:#DEE7E9;color:#2c5560}.src.both{background:var(--clear-soft);color:var(--clear-tx)}
205
211
  .tier{margin-left:auto;display:flex;align-items:center;gap:8px;font-size:11px;font-weight:700;color:var(--med)}
206
212
  .tier .lv{color:#fff;border-radius:7px;padding:3px 8px;letter-spacing:.03em}
207
- .tier.med .lv{background:var(--med)} .tier.low .lv{background:var(--low)} .tier.off .lv{background:var(--taupe)}
213
+ .tier.med .lv{background:var(--med);color:var(--med-on)} .tier.low .lv{background:var(--low);color:var(--low-on)} .tier.off .lv{background:var(--taupe)}
208
214
  .oneline{font-size:14.5px;color:var(--ink);margin:9px 0 16px;line-height:1.5}
209
215
  .meters{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}
210
216
  @media(max-width:640px){.meters{grid-template-columns:repeat(2,1fr)}}
211
- .meter .ml{font-size:9.5px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--faint);margin-bottom:7px}
217
+ .meter .ml{font-size:9.5px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--slate);margin-bottom:7px}
212
218
  .pips{display:flex;gap:4px}
213
219
  .pips i{width:100%;height:5px;border-radius:3px;background:#E9E0D1}
214
220
  .pips.l3 i:nth-child(-n+3){background:var(--high)} .pips.l2 i:nth-child(-n+2){background:var(--med)} .pips.l1 i:nth-child(-n+1){background:var(--low)}
@@ -217,7 +223,7 @@
217
223
  /* D4 — the meter's SECOND position: how well the fact above it is evidenced. It is subordinate
218
224
  to .mv on purpose (lighter, smaller): the finding is the fact, the receipt is the footnote. It
219
225
  wraps inside its own 1fr grid track, so a long evidence clause costs height, never overflow. */
220
- .mev{font-size:10px;color:var(--faint);margin-top:3px;font-weight:500;line-height:1.3}
226
+ .mev{font-size:10px;color:var(--slate);margin-top:3px;font-weight:500;line-height:1.3}
221
227
 
222
228
  details.drill{border-top:1px solid var(--line)}
223
229
  details.drill>summary{cursor:pointer;list-style:none;padding:13px 22px 13px 43px;font-size:11px;font-weight:700;
@@ -234,7 +240,7 @@
234
240
  .internal{background:#F6ECF7;border:1px dashed #C9A9CC;border-radius:9px;padding:9px 12px;margin-top:11px;font-size:12.5px;color:#6a2b6e}
235
241
  .internal .tag{font-size:9px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#8a3a8f;display:block;margin-bottom:3px}
236
242
  /* (spec-49 T4: the collapsible QC-banner rules died with the quarantine/review banners.) */
237
- .prov{margin-top:10px;font-size:12px;color:var(--faint);font-family:var(--mono)}
243
+ .prov{margin-top:10px;font-size:12px;color:var(--slate);font-family:var(--mono)}
238
244
 
239
245
  .card.compact .top{padding:15px 20px}
240
246
  .card.compact .who{font-size:16px}
@@ -249,20 +255,25 @@
249
255
  /* wp50/wi9 — neutral styling for routine next-steps/monitor rows (warn stays for genuine alarms) */
250
256
  .covcell.todo .ck{background:#8B94A6} .covcell.todo{border-color:var(--line);background:var(--bg2)}
251
257
  .covcell.info .ck{background:#A9B4C6} .covcell.info{border-color:var(--line)}
252
- .covcell .cst{font-weight:600;color:var(--faint);font-size:11.5px}
258
+ .covcell .cst{font-weight:600;color:var(--slate);font-size:11.5px}
253
259
  .covnext{margin:16px 0 10px;font-size:13px;color:var(--slate)}
260
+ /* The open rows' groups, each headed by its state word and count, styled as the "Left open" label above them. */
261
+ .covgrp+.covgrp{margin-top:14px}
262
+ .covgh{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--slate);margin:0 0 6px}
263
+ .covgn{letter-spacing:.04em}
264
+ .covlist{margin:4px 0 0;padding-left:18px;font-size:13px;color:var(--slate)}
254
265
  .covcell .ct{font-size:13px;font-weight:700;margin-bottom:2px}
255
266
  .covcell .cd{font-size:12px;color:var(--slate);line-height:1.45}
256
267
 
257
268
  details.method{border:1px solid var(--line);border-radius:16px;background:var(--card);margin-top:16px;box-shadow:var(--shadow)}
258
269
  details.method>summary{cursor:pointer;list-style:none;padding:17px 22px;font-weight:700;font-size:14px}
259
270
  details.method>summary::-webkit-details-marker{display:none}
260
- details.method>summary::after{content:"▾";float:right;color:var(--faint)}
271
+ details.method>summary::after{content:"▾";float:right;color:var(--slate)}
261
272
  details.method[open]>summary::after{content:"▴"}
262
273
  .method .mbody{padding:0 22px 20px;font-size:13px;color:var(--slate);line-height:1.62}
263
274
 
264
275
 
265
- footer{margin-top:54px;padding-top:20px;border-top:2px solid var(--ink);font-size:12px;color:var(--faint);line-height:1.6;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
276
+ footer{margin-top:54px;padding-top:20px;border-top:2px solid var(--ink);font-size:12px;color:var(--slate);line-height:1.6;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
266
277
  footer .wm{font-size:13px}
267
278
 
268
279
  /* ══ redesign (clearance report) ══════════════════════════════════════════════════════════════════
@@ -275,15 +286,15 @@
275
286
  .tb-back{font:inherit;font-size:12.5px;font-weight:700;border:1px solid var(--line2);background:var(--card);color:var(--ink);border-radius:30px;padding:6px 12px;text-decoration:none;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
276
287
  .tb-back:hover{border-color:var(--crimson);color:var(--crimson)}
277
288
  .tb-matter{white-space:nowrap}
278
- .tb-issued{font-size:11px;color:var(--faint);white-space:nowrap}
289
+ .tb-issued{font-size:11px;color:var(--slate);white-space:nowrap}
279
290
  .tb-menu{position:relative;display:inline-flex}
280
291
  .tb-menu .tbbtn{white-space:nowrap}
281
292
  .tb-pop{position:absolute;top:calc(100% + 8px);right:0;width:282px;max-width:88vw;background:var(--card);border:1px solid var(--line2);border-radius:14px;box-shadow:var(--shadow);padding:12px;z-index:50}
282
- .tb-pop-title{font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--faint);margin:0 0 8px}
293
+ .tb-pop-title{font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--slate);margin:0 0 8px}
283
294
  .tb-pop .util{width:100%;text-align:center;margin-bottom:7px;box-sizing:border-box}
284
295
  .tb-row{display:flex;gap:7px;margin-bottom:7px}.tb-row .util{flex:1;margin:0}
285
296
  .tb-sep{height:1px;background:var(--line);margin:2px 0 9px}
286
- .tb-hint{font-size:11px;color:var(--faint);line-height:1.4;margin:2px 2px 0}
297
+ .tb-hint{font-size:11px;color:var(--slate);line-height:1.4;margin:2px 2px 0}
287
298
  @media(max-width:860px){.tb-matter{display:none}}
288
299
  @media(max-width:640px){.tb-issued{display:none}}
289
300
  @media(max-width:560px){.wm small{display:none}.tb-back-lbl{display:none}.tb-lbl{display:none}
@@ -305,15 +316,15 @@
305
316
  .gconc{margin-top:20px;border-top:1px solid var(--line)}
306
317
  .gconc .grow{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid var(--line)}
307
318
  .gconc .grow:last-child{border-bottom:0}
308
- .gconc .gk{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--faint)}
319
+ .gconc .gk{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--slate)}
309
320
  .gconc .gv{font-size:13.5px;font-weight:700;text-align:right}
310
321
  .gconc .gv-rec{color:var(--med-tx)}
311
322
  .facts .row.jrow{flex-direction:column;align-items:flex-start;gap:8px}
312
323
  .jchips{display:flex;flex-wrap:wrap;gap:5px}
313
324
  .jchip{font-family:var(--mono);font-size:10.5px;font-weight:700;color:var(--slate);background:var(--bg2);border:1px solid var(--line);padding:2px 7px;border-radius:5px}
314
- .jchip.lim{color:var(--faint);border-style:dashed}
325
+ .jchip.lim{color:var(--slate);border-style:dashed}
315
326
  .jchip.ww{font-family:inherit;letter-spacing:.03em;color:var(--clear-tx,#2e6b32);background:var(--clear-soft,#EAF3E6);border-color:transparent}
316
- .jnote{font-size:10.5px;color:var(--faint);line-height:1.4}
327
+ .jnote{font-size:10.5px;color:var(--slate);line-height:1.4}
317
328
 
318
329
  /* spec-49 T4 retired the review-notes caveat body; a later change retired the slim internal toolbar that
319
330
  survived it, because the Flag/Etch capture controls it hosted are gone. The .review rules stay:
@@ -346,7 +357,7 @@
346
357
  .keypanel::-webkit-scrollbar-track{background:transparent}
347
358
  .keypanel::-webkit-scrollbar-thumb{background:var(--faint);border-radius:5px}
348
359
  @supports not selector(::-webkit-scrollbar){
349
- .keypanel{scrollbar-width:thin;scrollbar-color:var(--faint) transparent}}
360
+ .keypanel{scrollbar-width:thin;scrollbar-color:var(--slate) transparent}}
350
361
  .rrow{border-top:1px solid var(--line)}
351
362
  .rrow:first-of-type{border-top:0}
352
363
  .rrow>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:9px;padding:8px 4px}
@@ -392,12 +403,12 @@
392
403
  headers; the old blanket details>summary hide deleted every region/group header and the scope title
393
404
  from the exported PDF.
394
405
  EVERY <details> THE RENDERERS EMIT MUST BE IN ONE LIST OR THE OTHER. The instrument that says so
395
- is a browser under print media, and it is NOT in this repository: `render-css.test.mjs`, named
396
- here until 2026-09-16, exists in no tree. Nothing in the public suite can see this — the frozen
397
- hash pins the renderer's bytes and the render arms grep its HTML, and on screen a mis-ruled
398
- disclosure is correct. It is the private print control that walks a rendered page on both lanes
399
- and refuses a disclosure ruled by neither mechanism, and it runs by hand. Two folds have now
400
- shipped mis-ruled and been caught there rather than in CI. `details.sub-more` was in NEITHER, so the exported PDF — the
406
+ is a browser under print media: scripts/report-print-check.mjs walks a rendered page on both lanes
407
+ and refuses a disclosure ruled by neither mechanism, and CI's checks job runs it on every pull
408
+ request ("node scripts/report-print-check.mjs" in .github/workflows/ci.yml). `render-css.test.mjs`,
409
+ named here until 2026-09-16, exists in no tree. The render arms grep the HTML, and on screen a
410
+ mis-ruled disclosure is correct, so this check is the one that sees it. Two folds shipped
411
+ mis-ruled and were caught by it. `details.sub-more` was in NEITHER, so the exported PDF — the
401
412
  client-facing legal document — printed an inert "MORE" label and a right-pointing COLLAPSED marker
402
413
  in the hero, directly above text that was already fully expanded. Measured in Chrome: the caption's
403
414
  own content was carried correctly and only the control leaked, which is why the commit that added
@@ -439,7 +450,15 @@
439
450
  the first page. Measured under print emulation: `0px none` on screen, `1px solid` in print. */
440
451
  details.sub-more{border-top:0}
441
452
  .card,.rgroup,.rrow{break-inside:avoid}
453
+ /* A section heading stays with what follows it, so an exported page never ends on a heading whose content starts
454
+ the next. .sec is a flex row holding the h2, so the rule sits on the row and on the heading inside it. A card's
455
+ title heading is inline in its head row, so the rule sits on the row: a card taller than a page, which
456
+ break-inside cannot keep whole, still never ends a page on its title. */
457
+ .sec,.sec h2,.cardhead{break-after:avoid}
442
458
  }
459
+ /* PDFs print on A4 (owner, 2026-11-18). Export PDF is the browser's print, so the paper followed the reader's locale,
460
+ and a Swiss or EU lawyer's export came out in Letter. */
461
+ @page{size:A4}
443
462
 
444
463
  /* ── P4 (spec 2026-07-30) — one spine + mark-itself disclosures + depth strip ─────────────────────
445
464
  This file is NOT hash-frozen; visual rules for the restructure live here (freeze-header rule 2).
@@ -481,7 +500,7 @@
481
500
  .fourans .fa-k{flex:0 0 172px;font-weight:700;color:var(--ink)}
482
501
  .fourans .fa-v{flex:1;color:var(--slate)}
483
502
  .fourans .fa-token{font-weight:700;color:var(--ink)}
484
- .fourans .fa-basis{font-size:12px;color:var(--faint)}
503
+ .fourans .fa-basis{font-size:12px;color:var(--slate)}
485
504
  .fourans .fa-ords a{font-size:12px;margin-left:2px}
486
505
  .fourans ul.fa-obstacles{margin:6px 0 0;padding-left:18px}
487
506
  .fourans ul.fa-obstacles li{margin:0 0 4px;font-size:13px}
@@ -496,7 +515,7 @@
496
515
  details.scope>summary{cursor:pointer;list-style:none;margin:22px 0 0;padding:12px 0 10px;
497
516
  border-top:1px solid var(--line);font-size:15px;font-weight:700;letter-spacing:-.01em;color:var(--ink)}
498
517
  details.scope>summary::-webkit-details-marker{display:none}
499
- details.scope>summary::before{content:"›";display:inline-block;width:16px;color:var(--faint);
518
+ details.scope>summary::before{content:"›";display:inline-block;width:16px;color:var(--slate);
500
519
  font-weight:700;transition:transform .12s ease}
501
520
  details.scope[open]>summary::before{transform:rotate(90deg)}
502
521
  details.scope>summary:hover{color:var(--med-tx,var(--ink))}
@@ -514,7 +533,7 @@
514
533
  so the page follows the theme rather than carrying a second palette. Layout only: every string on
515
534
  the page is the delivered file's own, a label from the specification, or a count. */
516
535
  .panel.about{margin:10px 0 18px;padding:12px 18px;max-width:900px}
517
- .panel.about .label{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--faint);margin-bottom:6px}
536
+ .panel.about .label{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--slate);margin-bottom:6px}
518
537
  .panel.about .row{display:grid;grid-template-columns:170px 1fr;gap:12px;padding:5px 0;border-top:1px solid var(--line);font-size:13.5px;line-height:1.5}
519
538
  /* The goods as registered and the record's own dates, inside a finding's Full detail fold on a full
520
539
  country search (the 2026-09-16 report redesign). Ported from the design with its fixed greys replaced by tokens.
@@ -523,11 +542,11 @@
523
542
  it that row sets the width of the whole fold. */
524
543
  .record{margin:6px 0 2px}
525
544
  .record .row{display:grid;grid-template-columns:150px 1fr;gap:12px;padding:4px 0;border-top:1px solid var(--line);font-size:13px;line-height:1.5}
526
- .record .k{font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--faint);padding-top:3px}
545
+ .record .k{font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--slate);padding-top:3px}
527
546
  .record .v{overflow-wrap:anywhere;word-break:break-word}
528
547
  @media(max-width:700px){.record .row{grid-template-columns:1fr;gap:2px}}
529
548
  .panel.about .row:first-of-type{border-top:0}
530
- .panel.about .k{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--faint);padding-top:3px}
549
+ .panel.about .k{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--slate);padding-top:3px}
531
550
  .panel.about .v{color:var(--ink)}
532
551
  header.hero p.sub .fmark{font-weight:800;color:var(--ink)}
533
552
 
@@ -535,28 +554,29 @@
535
554
  .gconc .grow{display:grid;grid-template-columns:150px 1fr;gap:14px;align-items:start}
536
555
  .gconc .gv{text-align:left;display:block}
537
556
  .gconds-wrap{display:grid;grid-template-columns:150px 1fr;gap:14px;align-items:start;margin-top:10px}
538
- .gconds-wrap .gk{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--faint);padding-top:3px}
557
+ .gconds-wrap .gk{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--slate);padding-top:3px}
539
558
  .gconds{margin:0;padding-left:18px;font-size:13px;line-height:1.45;font-weight:500}
540
559
  .gconds li{margin:3px 0}
541
560
  .gwhy{border-top:1px solid var(--line);margin:12px 0 0;padding:12px 0 0}
542
- .gwhy .label{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--faint);margin-bottom:8px}
561
+ .gwhy .label{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--slate);margin-bottom:8px}
543
562
  .gwhy .fa-row{display:grid;grid-template-columns:150px 1fr;gap:14px;align-items:start;padding:7px 0;font-size:13.5px;line-height:1.5}
544
- .gwhy .fa-k{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--faint);padding-top:3px}
563
+ .gwhy .fa-k{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--slate);padding-top:3px}
545
564
  .fa-token{padding:2px 8px;border-radius:999px;color:#fff;font-weight:700}
546
- .fa-token.tone-good{background:var(--clear)}.fa-token.tone-mid{background:var(--med)}.fa-token.tone-bad{background:var(--high)}
565
+ .fa-token.tone-good{background:var(--clear);color:var(--clear-on)}.fa-token.tone-mid{background:var(--med);color:var(--med-on)}.fa-token.tone-bad{background:var(--high);color:var(--high-on)}
547
566
  .fa-based{margin:4px 0 2px;font-size:12.5px;line-height:1.45;color:var(--slate)}
548
- .fa-bk{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--faint);margin-right:6px}
567
+ .fa-bk{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--slate);margin-right:6px}
549
568
  .gexp,.gconf{display:grid;grid-template-columns:150px 1fr;gap:14px;border-top:1px solid var(--line);margin-top:12px;padding-top:10px;font-size:13px;line-height:1.5}
550
- .gexp .gk,.gconf .gk{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--faint);padding-top:3px}
569
+ .gexp .gk,.gconf .gk{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--slate);padding-top:3px}
551
570
  .gexp .gv,.gconf .gv{text-align:left}
552
- .gframe{margin-top:10px;font-size:11.5px;color:var(--faint)}
571
+ .gframe{margin-top:10px;font-size:11.5px;color:var(--slate)}
553
572
 
554
573
  .panel.where{padding:10px 18px}
555
574
  .wrow{display:grid;grid-template-columns:44px 1fr auto;gap:14px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line);font-size:13.5px}
556
- .wrow .wname{font-weight:600}.wrow .rcode{font-weight:700;color:var(--faint);font-size:12px}
557
- .wclean{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:10px 0 4px}
575
+ .wrow .wname{font-weight:600}.wrow .rcode{font-weight:700;color:var(--slate);font-size:12px}
576
+ .wclean{display:flex;flex-wrap:wrap;gap:6px;align-items:baseline;padding:10px 0 4px}
558
577
  .wk{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--clear);margin-right:8px}
559
578
  .wchip{padding:3px 9px;border-radius:999px;background:var(--clear-soft);color:var(--clear-tx);font:600 12px/1.4 var(--font)}
579
+ .wnames{margin:0;flex:1 1 320px;font-size:13.5px;line-height:1.55}
560
580
  .panel.courtp{padding:14px 18px}.panel.courtp p{margin:0;font-size:14px;line-height:1.5}
561
581
 
562
582
  .ask-fi{margin-left:auto;font:600 12px/1 var(--font);padding:7px 10px;border-radius:999px;border:1px solid var(--line2);background:transparent;color:var(--ink);cursor:pointer;white-space:nowrap}
@@ -564,7 +584,7 @@
564
584
  .cardhead .who.mark-first{font-size:17px;font-weight:800}
565
585
  .cardhead .who .where{font-weight:500;color:var(--slate);font-size:14px}
566
586
  .owner-line{padding:0 16px 6px 16px;margin-top:-4px;font-size:13px;color:var(--slate)}
567
- .owner-line .ok{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--faint);margin-right:6px}
587
+ .owner-line .ok{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--slate);margin-right:6px}
568
588
 
569
589
  .panel.alsocons{padding:12px 18px}
570
590
  .card.ruled .rail{background:var(--tan)}.tier.ruled{background:var(--bg2);color:var(--slate)}
@@ -575,7 +595,7 @@
575
595
  .cgroups{margin:8px 0 0}
576
596
  .cgroup{margin:6px 0;background:var(--card);border-radius:12px;box-shadow:0 1px 2px rgba(37,9,2,.06)}
577
597
  .cgroup>summary{display:flex;align-items:center;gap:10px;padding:12px 18px;cursor:pointer;font:600 14px/1.3 var(--font);list-style:none}
578
- .cgroup>summary::before{content:'▸';color:var(--faint);font-size:12px}
598
+ .cgroup>summary::before{content:'▸';color:var(--slate);font-size:12px}
579
599
  .cgroup[open]>summary::before{content:'▾'}
580
600
  .cgroup .gcount{margin-left:auto;color:var(--slate);font-weight:500;font-size:12.5px}
581
601
  .cgroup .gbody{padding:0 18px 12px}
@@ -586,7 +606,7 @@
586
606
 
587
607
  details.searched{margin:14px 0;background:var(--card);border-radius:12px;box-shadow:var(--shadow)}
588
608
  details.searched>summary{display:flex;align-items:center;gap:10px;padding:12px 18px;cursor:pointer;font:600 14px/1.3 var(--font);list-style:none}
589
- details.searched>summary::before{content:'▸';color:var(--faint);font-size:12px}
609
+ details.searched>summary::before{content:'▸';color:var(--slate);font-size:12px}
590
610
  details.searched[open]>summary::before{content:'▾'}
591
611
  details.searched .gcount{margin-left:auto;color:var(--slate);font-weight:500;font-size:12.5px}
592
612
  details.searched .gbody{padding:0 18px 12px}
@@ -594,9 +614,9 @@
594
614
  details.searched .wstate{font-weight:600}
595
615
  details.searched .wnote{display:block;margin-top:4px;font-size:12.5px;line-height:1.45;color:var(--slate)}
596
616
  details.searched .row{display:grid;grid-template-columns:200px 1fr;gap:12px;padding:7px 0;border-top:1px solid var(--line);font-size:13.5px}
597
- details.searched .k{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--faint);padding-top:3px}
617
+ details.searched .k{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--slate);padding-top:3px}
598
618
  .openrows,.provwrap{margin-top:12px;border-top:1px solid var(--line);padding-top:10px}
599
- .openrows .rk,.provwrap .rk{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--faint);margin-bottom:6px}
619
+ .openrows .rk,.provwrap .rk{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--slate);margin-bottom:6px}
600
620
  .provnote{margin:0;font-size:12.5px;line-height:1.5;color:var(--slate)}
601
621
  .topbar .tb-lockup{margin-right:10px;flex:0 0 auto}
602
622
  /* AFTER the rule it overrides, not beside its siblings at the breakpoint above: both selectors carry