clearotron 0.6.0 → 0.7.0-beta.1
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.
- package/INSTALL.md +7 -4
- package/QUICKSTART.md +1 -0
- package/README.md +5 -2
- package/THIRD-PARTY-NOTICES.md +1 -1
- package/bin/clearotron.mjs +4 -2
- package/bin/onboard.mjs +158 -29
- package/build-info.json +2 -2
- package/docs/CLIENT-MCP.md +3 -1
- package/docs/DELIVERY.md +6 -3
- package/docs/architecture/02-architecture.md +1 -1
- package/docs/architecture/04-configuration-reference.md +105 -8
- package/docs/branding.md +4 -4
- package/docs/report-data/clearance-1.schema.json +320 -0
- package/docs/report-data/knockout-1.schema.json +268 -0
- package/driver/CHANGELOG.md +77 -0
- package/driver/cancel.mjs +19 -0
- package/driver/connotation-search.mjs +1 -1
- package/driver/contract-e3-backlog.mjs +41 -41
- package/driver/contract-vocabulary.mjs +1 -1
- package/driver/coverage-ledger.mjs +18 -2
- package/driver/deferral-row.mjs +1 -1
- package/driver/degraded-parts.mjs +1 -0
- package/driver/driver.config.mjs +5 -5
- package/driver/effective-scope.mjs +3 -1
- package/driver/engagement-receipt.mjs +3 -3
- package/driver/engine/anthropic-agent.mjs +15 -1
- package/driver/engine/common.mjs +7 -0
- package/driver/engine/mcp/band-server.mjs +7 -16
- package/driver/engine/mcp/codex-config.mjs +3 -0
- package/driver/engine/mcp/recording-server.mjs +45 -34
- package/driver/engine/openai-agent.mjs +74 -7
- package/driver/engine/session-record.mjs +44 -2
- package/driver/findings-model.mjs +14 -2
- package/driver/follow-up-twins.mjs +86 -0
- package/driver/gateway.mjs +77 -12
- package/driver/jx-units.mjs +3 -1
- package/driver/jx.mjs +13 -5
- package/driver/manuals-inline.mjs +98 -0
- package/driver/manuals-seen.mjs +134 -0
- package/driver/mark-logos.mjs +174 -0
- package/driver/methodology-witness.mjs +2 -1
- package/driver/owner-use-check.mjs +8 -4
- package/driver/package.json +1 -1
- package/driver/pipeline-knockout.mjs +23 -4
- package/driver/pipeline.mjs +128 -15
- package/driver/portal-local-auth.mjs +6 -2
- package/driver/portal-report.mjs +45 -14
- package/driver/portal-routes/me.mjs +4 -1
- package/driver/portal-runs.mjs +19 -16
- package/driver/predelivery-lint.mjs +7 -5
- package/driver/profiles.mjs +4 -4
- package/driver/publish/README.md +9 -7
- package/driver/publish/email-conditions.mjs +22 -5
- package/driver/publish/evidence-words.mjs +21 -0
- package/driver/publish/index.mjs +304 -211
- package/driver/publish/knockout.mjs +297 -247
- package/driver/publish/office-record-links.mjs +11 -9
- package/driver/publish/page-shell.mjs +98 -0
- package/driver/publish/pool-admin.mjs +2 -2
- package/driver/publish/publish-inputs.mjs +4 -0
- package/driver/publish/regions.mjs +28 -3
- package/driver/publish/register-record-html.mjs +105 -0
- package/driver/publish/register-record.mjs +165 -0
- package/driver/publish/render-knockout.mjs +299 -671
- package/driver/publish/render.mjs +561 -492
- package/driver/publish/report-data.mjs +226 -13
- package/driver/publish/report-document.mjs +353 -0
- package/driver/publish/search-depth.mjs +88 -7
- package/driver/publish/shell.mjs +41 -1
- package/driver/publish/strings.mjs +810 -0
- package/driver/publish/templates/clearance-print.css +23 -0
- package/driver/publish/templates/knockout.css +224 -0
- package/driver/publish/templates/report.css +112 -53
- package/driver/publish/xlsx.mjs +158 -139
- package/driver/record-goods.mjs +42 -0
- package/driver/reference-score.mjs +4 -1
- package/driver/register-count.mjs +5 -1
- package/driver/register-reach.mjs +39 -0
- package/driver/registry-fidelity.mjs +155 -37
- package/driver/repair-composers.mjs +7 -3
- package/driver/repair-targets.mjs +4 -1
- package/driver/replay-archive.mjs +4 -3
- package/driver/run-delivered.mjs +14 -8
- package/driver/run-record.mjs +1 -0
- package/driver/runner.mjs +73 -29
- package/driver/scope-facts.mjs +27 -6
- package/driver/search-policy.mjs +9 -4
- package/driver/skills/clearance-search/report-prose.md +3 -0
- package/driver/skills/knockout-assess/SKILL.md +8 -0
- package/driver/stage-freshness.mjs +8 -5
- package/driver/stages.mjs +69 -43
- package/driver/steps/delivery.mjs +9 -5
- package/driver/steps/overview-and-cards.mjs +54 -15
- package/driver/steps/register-sweep.mjs +5 -4
- package/driver/steps/skeptic-and-follow-up.mjs +3 -2
- package/driver/steps/verdict-gate.mjs +35 -14
- package/driver/suite-census.json +579 -87
- package/driver/synthesis-record.mjs +4 -3
- package/driver/terminal-clamp.mjs +6 -1
- package/driver/withdrawn-rating.mjs +72 -0
- package/mcp-server/CHANGELOG.md +8 -0
- package/mcp-server/lib/audit-view.mjs +5 -2
- package/mcp-server/lib/brief.mjs +6 -2
- package/mcp-server/lib/evidence.mjs +94 -23
- package/mcp-server/lib/findings.mjs +19 -2
- package/mcp-server/lib/knockout.mjs +13 -4
- package/mcp-server/lib/scrub.mjs +1 -1
- package/mcp-server/package.json +1 -1
- package/mcp-server/server.mjs +22 -3
- package/package.json +4 -1
- package/portal-ui/dist/assets/{index-CYaO2ygd.js → index-BBlN4CYq.js} +238 -80
- package/portal-ui/dist/assets/{index-izLa9apq.css → index-CxAkJXIT.css} +25 -5
- package/portal-ui/dist/index.html +2 -2
- package/portal-ui/package.json +3 -3
- package/providers/_shared/ledger.mjs +30 -2
- package/providers/_shared/record-uri.mjs +15 -0
- package/providers/clarivate/src/adapter.js +11 -0
- package/providers/clarivate/src/core.js +17 -1
- package/providers/jx/src/core.js +4 -4
- package/providers/jx/src/judge.js +1 -3
- package/providers/jx/src/nativeread.js +1 -3
- package/providers/oauth-mcp-bridge/CHANGELOG.md +8 -0
- package/providers/oauth-mcp-bridge/package.json +1 -1
- package/scripts/README.md +147 -3
- package/scripts/added-reference-check.mjs +35 -7
- package/scripts/e2e-first-time.mjs +4 -4
- package/scripts/env-audit.mjs +16 -9
- package/scripts/freeze-example-run.mjs +3 -3
- package/scripts/mint-public-residue.mjs +3 -3
- package/scripts/mint-search-level-tags.mjs +61 -0
- package/scripts/mint-source-pin-census.mjs +89 -0
- package/scripts/release-note-required.mjs +65 -6
- package/scripts/test-durations-reporter.mjs +25 -0
- package/scripts/test-full.mjs +72 -18
- package/scripts/test-run.mjs +18 -1
- package/shared/brand.mjs +93 -6
- package/shared/inline-markdown.mjs +53 -0
- package/shared/names-in-force.mjs +0 -1
- package/shared/portal-tokens.mjs +2 -1
- package/shared/reference-guard-classes.mjs +43 -2
- package/shared/register-selection.mjs +8 -3
- package/shared/search-level-tags.json +25 -0
- package/shared/source-spans.mjs +91 -0
- package/shared/tools/derive-band-pairs.mjs +10 -0
- package/driver/own-rights.mjs +0 -83
- package/driver/use-check.mjs +0 -85
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/* E6: A TICKED CARD PRINTS WHOLE; EVERY OTHER FOLD PRINTS AS IT READS ON SCREEN (owner, 2026-11-19). The base sheet
|
|
2
|
+
prints every fold open, which ran a median clearance to about 26 pages. On a clearance, the folds of each card the
|
|
3
|
+
export prints open, its register record and its reasoning included, and so does any fold such a card sits in: a
|
|
4
|
+
ticked card, and a card with no tick box at all (a ruled-out card), which the export always prints. A
|
|
5
|
+
fold the reader left closed prints its summary line as a header, its marker blank, and its body stays closed; one
|
|
6
|
+
the reader opened prints open. The page's script opens the ticked cards' folds before printing; these rules hold
|
|
7
|
+
the same for a print that runs no script. Only the clearance loads this sheet: a Knockout has no tick boxes, and
|
|
8
|
+
its export still prints every fold. Ticked-card selection (.print-hidden) and internal notes still decide which
|
|
9
|
+
cards and notes print at all. */
|
|
10
|
+
@media print{
|
|
11
|
+
details:not([open])>*:not(summary){display:none!important}
|
|
12
|
+
.card:not(:has(input.pickbox:not(:checked))) details>*:not(summary),
|
|
13
|
+
details:has(.card:not(:has(input.pickbox:not(:checked))))>*:not(summary){display:block!important}
|
|
14
|
+
details:not([open])>summary{display:block!important}
|
|
15
|
+
details:not([open])>summary::before{content:""!important}
|
|
16
|
+
/* The verdict caption is not a fold the reader chose: the page opens it before printing, so its remainder prints
|
|
17
|
+
whole, and its label stays off the paper, as before E6. Later than the closed-fold rules above and as specific,
|
|
18
|
+
so it wins. */
|
|
19
|
+
details.sub-more>summary{display:none!important}
|
|
20
|
+
details.sub-more>*:not(summary){display:block!important}
|
|
21
|
+
span.rr-txt:has(+ .rr-all:not([open])){display:inline}
|
|
22
|
+
.card:not(:has(input.pickbox:not(:checked))) span.rr-txt:has(+ .rr-all){display:none}
|
|
23
|
+
}
|
|
@@ -0,0 +1,224 @@
|
|
|
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
|
+
/* A listed filing's register record, in a row under its table row, and its logo under the mark name (the approved
|
|
83
|
+
board). The record row carries the filing's bottom rule, so the two read as one filing. */
|
|
84
|
+
tr.rr-has td{border-bottom:0}
|
|
85
|
+
.rr-krow td{padding:0 24px 10px;border-bottom:1px solid var(--line)}
|
|
86
|
+
.rr-krow details.drill{border-top:0;margin:0}
|
|
87
|
+
.rr-krow details.drill>summary{padding:0 0 0 2px}
|
|
88
|
+
.rr-krow .drillbody{padding:8px 0 4px 18px}
|
|
89
|
+
.rr-ko{max-width:none;justify-content:flex-start;margin:8px 0 2px}
|
|
90
|
+
/* ON A PHONE A ROW THAT SPANS A TABLE READS WITHOUT SCROLLING SIDEWAYS. The counts and filings tables are wider than a
|
|
91
|
+
phone and scroll sideways inside their card. A row spanning the whole table, a filing's register record or the
|
|
92
|
+
counts card's close-variations line, laid out at the table's width (626 and 443 px at 390), so it was read by
|
|
93
|
+
scrolling mid-line or ran past the card. Each scroller is a size container, and such a row's content takes its
|
|
94
|
+
visible width and stays at its left edge while the table scrolls beside it. Screen only: the wider layout and
|
|
95
|
+
print are unchanged. */
|
|
96
|
+
@media screen and (max-width:640px){
|
|
97
|
+
.ko-scroll{container-type:inline-size}
|
|
98
|
+
.rr-krow td>details,.ko-forms .ko-formsline{position:sticky;left:24px;box-sizing:border-box;max-width:calc(100cqw - 48px)}
|
|
99
|
+
}
|
|
100
|
+
@media (max-width:640px){.rr-ko .rr-lg,.rr-ko .rr-lg img,.rr-ko .rr-nologo{width:72px}.rr-ko .rr-lg img,.rr-ko .rr-nologo{height:56px}}
|
|
101
|
+
.ko-counts td.na{font-family:var(--mono);font-size:12.5px;color:var(--slate)}
|
|
102
|
+
.ko-counts tr.ko-forms td{font-size:12px;color:var(--slate);line-height:1.55;padding:0 24px 13px;
|
|
103
|
+
font-family:var(--mono);word-break:break-word}
|
|
104
|
+
.ko-tier{font-size:13.5px;color:var(--slate);line-height:1.65;margin:0;padding:18px 24px}
|
|
105
|
+
/* — the read, as structure. The chip and classes are the head; basis leads; factors are a tight
|
|
106
|
+
list; the two qualifying blocks are visually distinct so a scan separates "why this band" from
|
|
107
|
+
"what would move it"; the register line is code-owned and always last. */
|
|
108
|
+
.ko-basisline{margin:0 0 8px;font-size:14.5px;color:var(--ink);line-height:1.5;font-weight:600}
|
|
109
|
+
.ko-lbl{display:block;font-size:9.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
|
|
110
|
+
color:var(--slate);margin:0 0 4px}
|
|
111
|
+
.ko-counter{margin:10px 0 0;padding:9px 0 0;border-top:1px dashed var(--line)}
|
|
112
|
+
.ko-mitig{margin:10px 0 0;padding:9px 12px;border-left:2px solid var(--line);background:var(--sunken,transparent)}
|
|
113
|
+
.ko-mitig p{margin:0;font-size:13.5px;color:var(--slate);line-height:1.6}
|
|
114
|
+
.ko-full{margin:10px 0 0;font-size:13px;color:var(--slate)}
|
|
115
|
+
.ko-full summary{cursor:pointer;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--slate);font-weight:700}
|
|
116
|
+
.ko-full ul{margin-top:7px}
|
|
117
|
+
/* NOTHING IS DISCARDED — including on paper. A collapsed <details> prints collapsed, so a report
|
|
118
|
+
saved to PDF would drop the narrative this block exists to preserve. The beforeprint handler below
|
|
119
|
+
opens them; this hides the now-pointless toggle in print. */
|
|
120
|
+
@media print{.ko-full summary{display:none}}
|
|
121
|
+
/* THE LABELS THE READER ACTUALLY READS. ko-lbl above is 9.5px uppercase grey — the owner's
|
|
122
|
+
"what holds what?" was asked of a label in that style, so a new word in the same style is the
|
|
123
|
+
same defect with different letters. These are body size and body colour, and they carry the
|
|
124
|
+
band's own word ("Why High"), which is what makes them answerable without a legend. */
|
|
125
|
+
.ko-lbl2{display:block;font-size:14px;font-weight:700;color:var(--ink);margin:0 0 5px;letter-spacing:0}
|
|
126
|
+
/* The card's fold. ko-full rides with it so openAll() and the beforeprint handler reach it —
|
|
127
|
+
what folds on screen still prints, which is the rule this template already states for the
|
|
128
|
+
narrative fold. ko-why carries only the spacing a card needs inside its own body. */
|
|
129
|
+
.ko-why{margin:6px 0 5px}
|
|
130
|
+
.ko-why summary{font-size:12px;text-transform:none;letter-spacing:0;color:var(--rose,var(--faint));font-weight:600}
|
|
131
|
+
/* "About this request" — what was asked, and any flag on the asking. It sits in the hero because a
|
|
132
|
+
mis-scoped request makes every number below it answer the wrong question. */
|
|
133
|
+
.ko-req{margin:14px 0 0;padding:13px 16px;border:1px solid var(--line);border-radius:3px}
|
|
134
|
+
.ko-req .ko-lbl2{margin-bottom:6px}
|
|
135
|
+
.ko-req p{margin:0 0 6px;font-size:13.5px;color:var(--slate);line-height:1.6}
|
|
136
|
+
.ko-req p:last-child{margin-bottom:0}
|
|
137
|
+
.ko-reqflag{border-left:3px solid var(--rose,var(--line));padding-left:11px;margin-top:9px}
|
|
138
|
+
/* THE PURPLE NOTES COME OFF THE EXPORT, exactly as the clearance page removes its internal notes
|
|
139
|
+
("Internal (review-only) notes are removed on export"). The knockout's export is window.print()
|
|
140
|
+
via exportPDF(), so print is the whole export path and this rule is the whole strip. Without it
|
|
141
|
+
a knockout PDF forwarded to a client carries the reviewing lawyer's notes. */
|
|
142
|
+
@media print{.internal{display:none !important}}
|
|
143
|
+
.ko-reg{margin:11px 0 0;padding:8px 0 0;border-top:1px solid var(--line);
|
|
144
|
+
font-family:var(--mono);font-size:12px;color:var(--slate);line-height:1.5}
|
|
145
|
+
.ko-filings{padding:14px 0 2px;border-bottom:1px solid var(--line)}
|
|
146
|
+
.ko-filings:last-of-type{border-bottom:0}
|
|
147
|
+
.ko-filings .ko-name{padding:0 24px}
|
|
148
|
+
.ko-filings td{font-size:13px}
|
|
149
|
+
.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)}
|
|
150
|
+
.ko-scope{font-size:13.5px;color:var(--slate);line-height:1.65;margin:0;padding:18px 24px}
|
|
151
|
+
.ko-scope b{color:var(--ink)}
|
|
152
|
+
/* A wide counts table must scroll inside its own panel, never push the page sideways. */
|
|
153
|
+
/* AND IT SHOWS THAT IT SCROLLS. A panel that continues off its right edge and says nothing leaves a
|
|
154
|
+
reader who never drags it believing they have seen the whole table; the columns past the edge are
|
|
155
|
+
reachable and invisible at the same time. Ruled 2026-09-17: a scrollbar, always visible, and no text.
|
|
156
|
+
The -webkit-appearance:none is the part that does the work — without it the platform draws an OVERLAY
|
|
157
|
+
scrollbar that appears only once a scroll is already under way, which is the state this rule ends.
|
|
158
|
+
scrollbar-width and scrollbar-color are the same instruction for the engines that take the standard
|
|
159
|
+
properties. (NO BACKTICK IN THIS COMMENT: it sits inside the stylesheet's own template literal, and
|
|
160
|
+
one closes it. That is written above the export menu block too, and I still did it — so it is here
|
|
161
|
+
as well, beside the second rule anyone adds.) The colours are tokens, not fixed values, for the reason the ladder below this block
|
|
162
|
+
records: a fixed colour here reads on one ground and goes invisible on the other. */
|
|
163
|
+
.ko-scroll{overflow-x:auto}
|
|
164
|
+
.ko-scroll::-webkit-scrollbar{height:9px;-webkit-appearance:none}
|
|
165
|
+
.ko-scroll::-webkit-scrollbar-track{background:transparent}
|
|
166
|
+
.ko-scroll::-webkit-scrollbar-thumb{background:var(--faint);border-radius:5px}
|
|
167
|
+
/* THE TWO INSTRUCTIONS CANNOT SIT TOGETHER, and this was measured rather than reasoned. Setting the
|
|
168
|
+
standard scrollbar-width alongside the pseudo-elements makes the engine take the standard path and
|
|
169
|
+
ignore them, and on this one the standard path draws an overlay bar with no layout height at all.
|
|
170
|
+
Driven three ways on a delivered report at 390px, reading the height the bar takes out of the panel:
|
|
171
|
+
both together 0px, the pseudo-elements alone 9px, the standard properties alone 0px. So the standard
|
|
172
|
+
ones go behind a support query that the engines carrying the pseudo-elements never enter, which
|
|
173
|
+
leaves each engine exactly one instruction. */
|
|
174
|
+
@supports not selector(::-webkit-scrollbar){
|
|
175
|
+
.ko-scroll{scrollbar-width:thin;scrollbar-color:var(--slate) transparent}}
|
|
176
|
+
/* A finding's bullets carry bare source URLs, and a URL offers a line no place to break. On a phone
|
|
177
|
+
that unbreakable run becomes the minimum width of the grid item, so the single column floors at
|
|
178
|
+
443px inside a 360px viewport and the whole page scrolls sideways -- 135px of it, measured
|
|
179
|
+
2026-09-17. Only the value "anywhere" lowers that minimum: "break-word" breaks the line but
|
|
180
|
+
leaves the minimum where it was, which is why the blocks beside this one that already set
|
|
181
|
+
word-break were never the cause. Phone widths only: nothing at or above 700px changes.
|
|
182
|
+
NO BACKTICK IN THIS COMMENT -- it sits inside the stylesheet's own template literal. */
|
|
183
|
+
@media(max-width:700px){.ko-row{grid-template-columns:1fr;gap:10px}
|
|
184
|
+
.ko-bul{overflow-wrap:anywhere}}
|
|
185
|
+
|
|
186
|
+
/* The band ladder, the territories fold and the run's own caveats (the 2026-09-16 report redesign). Ported from
|
|
187
|
+
the design's stylesheet with its fixed colours replaced by this page's tokens, so the ladder reads
|
|
188
|
+
in both themes: the tick row was #a89a8a on white and the fold's summary and prose a brown pair,
|
|
189
|
+
all three of which go invisible on the dark ground this report also renders on. */
|
|
190
|
+
/* THE BAND PILL HANGS ABOVE THE BAR, so the space above the bar is what keeps it off the heading.
|
|
191
|
+
NO BACKTICK IN THIS COMMENT — it sits inside the stylesheet's own template literal.
|
|
192
|
+
.kmarker sits at top:-30px and the pill is ~23px tall (5+5 padding on a 13px line), so it starts
|
|
193
|
+
30px above the bar and ends 7px above it. At the LEFTMOST band the pill is also drawn flush left
|
|
194
|
+
(translateX(-12px) at left:0%) — directly under the left-aligned "Overall risk" — so that is the
|
|
195
|
+
rung where the two touch, and the house ladder's leftmost rung is Low.
|
|
196
|
+
THE ROOM IS ONE MARGIN, NOT TWO, and that is what made the arithmetic wrong twice. This margin and
|
|
197
|
+
.gauge .label's 18px bottom margin are ADJACENT SIBLINGS, so they collapse to the larger of the two
|
|
198
|
+
rather than adding: 10px here gave 18px of room against a pill that needs 30, and the first attempt
|
|
199
|
+
at 24 still left 6. Measured in a browser at every rung (scripts/report-header-render-check.mjs),
|
|
200
|
+
not reasoned: 44 gives 14px of daylight under the heading at every band. */
|
|
201
|
+
.kscale{position:relative;margin:44px 8px 34px}
|
|
202
|
+
.kbar{position:relative;height:8px;border-radius:4px}
|
|
203
|
+
.kmarker{position:absolute;top:-30px;text-align:center}
|
|
204
|
+
.kpill{display:inline-block;padding:5px 12px;border-radius:999px;color:var(--med-on);
|
|
205
|
+
font:700 13px/1 'Plus Jakarta Sans','Helvetica Neue',Arial,sans-serif;white-space:nowrap}
|
|
206
|
+
.kneedle{width:3px;height:14px;margin:4px auto 0;border-radius:2px}
|
|
207
|
+
.kticks{position:relative;height:16px;margin-top:8px}
|
|
208
|
+
.kticks span{position:absolute;transform:translateX(-50%);color:var(--slate);white-space:nowrap;
|
|
209
|
+
font:700 10.5px/1 'Plus Jakarta Sans','Helvetica Neue',Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase}
|
|
210
|
+
.kticks span.on{font-weight:800}
|
|
211
|
+
/* ON A PHONE THE SCALE NAMES ONLY ITS ENDS (design, 2026-11-19). Each word sits at its band's point on the bar, and on
|
|
212
|
+
a 390 px screen five words need more than the bar's width and print on top of one another. Below 560 px only the
|
|
213
|
+
framework's first and last words stay under the bar; the pill over the needle already names the mark's own band in
|
|
214
|
+
full. A single-band scale keeps its one word. Screen only: the wider layout and the printed page keep every word. */
|
|
215
|
+
@media screen and (max-width:560px){.kticks span:not(:first-child):not(:last-child){display:none}}
|
|
216
|
+
.terr{margin-top:4px}
|
|
217
|
+
.terr summary{cursor:pointer;color:var(--rose,var(--faint));font-size:12px;font-weight:600;list-style:none}
|
|
218
|
+
.terr summary::-webkit-details-marker{display:none}
|
|
219
|
+
.terr p{margin:4px 0 0;font-size:12px;line-height:1.6;color:var(--slate)}
|
|
220
|
+
.ko-caveats{padding:16px 24px;margin:14px 0 8px}
|
|
221
|
+
.ko-caveats p{margin:0 0 7px;font-size:12px;line-height:1.6;color:var(--slate)}
|
|
222
|
+
.ko-caveats p:last-child{margin-bottom:0}
|
|
223
|
+
.ko-fwline{margin-top:10px}.ko-fwline .label{margin-bottom:0}
|
|
224
|
+
.ko-fwline .gauge-fw{margin-top:3px;font-size:11px;font-weight:600;color:var(--slate)}
|