truthtableai 0.0.0-stage → 0.2.2
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/README.md +108 -3
- package/dist/THIRD-PARTY-NOTICES.txt +7742 -0
- package/dist/cli.js +3523 -0
- package/dist/panel-ui/assets/app.css +433 -0
- package/dist/panel-ui/assets/app.js +936 -0
- package/dist/panel-ui/assets/favicon.svg +1 -0
- package/dist/panel-ui/assets/lockup-horizontal-on-dark.svg +3 -0
- package/dist/panel-ui/assets/lockup-horizontal.svg +3 -0
- package/dist/panel-ui/assets/mark-on-dark.svg +3 -0
- package/dist/panel-ui/assets/mark.svg +3 -0
- package/dist/panel-ui/index.html +40 -0
- package/dist/rules/banking.ttpack +0 -0
- package/dist/rules/generic/rules.json +76 -0
- package/dist/rules/generic/rules.md +65 -0
- package/dist/rules/paid.json +1 -0
- package/dist/skill/manifest.json +37 -0
- package/dist/skill/truthtable/SKILL.md +193 -0
- package/dist/skill/truthtable/references/answer-kinds.md +118 -0
- package/dist/skill/truthtable/references/bring-your-own-set.md +76 -0
- package/dist/skill/truthtable/references/flow.md +214 -0
- package/dist/skill/truthtable/references/question-types.md +104 -0
- package/dist/skill/truthtable/references/security-questions.md +90 -0
- package/dist/sql-wasm.cjs +213 -0
- package/dist/sql-wasm.wasm +0 -0
- package/package.json +29 -6
|
@@ -0,0 +1,433 @@
|
|
|
1
|
+
/* TruthTable AI local panel. System fonts only; nothing is loaded from outside. */
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--navy: #0E2A5C;
|
|
5
|
+
--gold-1: #F0CD74;
|
|
6
|
+
--gold-2: #C9922F;
|
|
7
|
+
--gold-3: #8A4A16;
|
|
8
|
+
--ivory: #F3EEDF;
|
|
9
|
+
|
|
10
|
+
--bg: #F3EEDF;
|
|
11
|
+
--paper: #FBF9F3;
|
|
12
|
+
--ink: #0E2A5C;
|
|
13
|
+
--text: #1C2534;
|
|
14
|
+
--muted: #5F6676;
|
|
15
|
+
--rule: #DCD3BC;
|
|
16
|
+
--rule-soft: #E8E1CE;
|
|
17
|
+
--accent: #8A4A16;
|
|
18
|
+
--stamp: #8A4A16;
|
|
19
|
+
--red: #C8231F;
|
|
20
|
+
--red-wash: #F6DCD6;
|
|
21
|
+
--good: #1F6F68;
|
|
22
|
+
--neutral: #9A8A62;
|
|
23
|
+
--amber: #A65F00;
|
|
24
|
+
--err: #8C93A1;
|
|
25
|
+
--focus: #C9922F;
|
|
26
|
+
--shadow: 0 1px 0 rgba(14, 42, 92, 0.04), 0 8px 24px -18px rgba(14, 42, 92, 0.35);
|
|
27
|
+
|
|
28
|
+
--sans: Inter, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
|
|
29
|
+
--mono: "JetBrains Mono", "Cascadia Mono", "SF Mono", Consolas, ui-monospace, Menlo, monospace;
|
|
30
|
+
--radius: 6px;
|
|
31
|
+
color-scheme: light;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@media (prefers-color-scheme: dark) {
|
|
35
|
+
:root {
|
|
36
|
+
--bg: #0A1630;
|
|
37
|
+
--paper: #0F2041;
|
|
38
|
+
--ink: #F3EEDF;
|
|
39
|
+
--text: #E3DFD3;
|
|
40
|
+
--muted: #9CA5B8;
|
|
41
|
+
--rule: #263A63;
|
|
42
|
+
--rule-soft: #1C2F55;
|
|
43
|
+
--accent: #F0CD74;
|
|
44
|
+
--stamp: #F0CD74;
|
|
45
|
+
--red: #F0533D;
|
|
46
|
+
--red-wash: #3A1A22;
|
|
47
|
+
--good: #5DBFB2;
|
|
48
|
+
--neutral: #C9B47E;
|
|
49
|
+
--amber: #E8A23C;
|
|
50
|
+
--err: #7D869A;
|
|
51
|
+
--focus: #F0CD74;
|
|
52
|
+
--shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 10px 28px -20px rgba(0, 0, 0, 0.8);
|
|
53
|
+
color-scheme: dark;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
*, *::before, *::after { box-sizing: border-box; }
|
|
58
|
+
html { -webkit-text-size-adjust: 100%; }
|
|
59
|
+
body {
|
|
60
|
+
margin: 0;
|
|
61
|
+
background: var(--bg);
|
|
62
|
+
color: var(--text);
|
|
63
|
+
font: 15px/1.55 var(--sans);
|
|
64
|
+
font-feature-settings: "cv11", "ss01";
|
|
65
|
+
min-height: 100vh;
|
|
66
|
+
display: flex;
|
|
67
|
+
flex-direction: column;
|
|
68
|
+
overflow-wrap: anywhere;
|
|
69
|
+
}
|
|
70
|
+
a { color: var(--ink); text-decoration-color: var(--gold-2); text-underline-offset: 3px; text-decoration-thickness: 1px; }
|
|
71
|
+
a:hover { text-decoration-thickness: 2px; }
|
|
72
|
+
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
|
|
73
|
+
code, pre, .mono { font-family: var(--mono); font-size: 0.9em; }
|
|
74
|
+
.num, .frac, table.data td.num { font-variant-numeric: tabular-nums lining-nums; }
|
|
75
|
+
.muted { color: var(--muted); }
|
|
76
|
+
.nowrap { white-space: nowrap; }
|
|
77
|
+
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
|
|
78
|
+
.skip { position: absolute; left: -999px; top: 0; }
|
|
79
|
+
.skip:focus { left: 16px; top: 8px; background: var(--paper); padding: 6px 10px; z-index: 10; }
|
|
80
|
+
|
|
81
|
+
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 32px; }
|
|
82
|
+
|
|
83
|
+
/* ---- masthead ---- */
|
|
84
|
+
.masthead {
|
|
85
|
+
background: var(--paper);
|
|
86
|
+
border-bottom: 1px solid var(--rule);
|
|
87
|
+
position: relative;
|
|
88
|
+
}
|
|
89
|
+
.masthead::after {
|
|
90
|
+
content: "";
|
|
91
|
+
position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
|
|
92
|
+
background: linear-gradient(90deg, var(--gold-1), var(--gold-2) 50%, var(--gold-3));
|
|
93
|
+
opacity: 0.85;
|
|
94
|
+
}
|
|
95
|
+
.masthead-row { display: flex; align-items: center; gap: 28px; min-height: 64px; flex-wrap: wrap; }
|
|
96
|
+
.brand { display: inline-flex; line-height: 0; }
|
|
97
|
+
.brand img { height: 30px; width: auto; display: block; }
|
|
98
|
+
.tabs { display: flex; gap: 4px; }
|
|
99
|
+
.tabs a {
|
|
100
|
+
text-decoration: none; color: var(--muted); font-weight: 500;
|
|
101
|
+
padding: 8px 12px; border-radius: var(--radius); letter-spacing: 0.01em;
|
|
102
|
+
}
|
|
103
|
+
.tabs a:hover { color: var(--ink); background: var(--rule-soft); }
|
|
104
|
+
.tabs a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--gold-2); border-radius: 0; }
|
|
105
|
+
.local {
|
|
106
|
+
margin-left: auto; font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase;
|
|
107
|
+
display: inline-flex; align-items: center; gap: 8px;
|
|
108
|
+
}
|
|
109
|
+
.local::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--good); }
|
|
110
|
+
|
|
111
|
+
main.wrap { flex: 1; padding-top: 40px; padding-bottom: 64px; outline: none; }
|
|
112
|
+
.loading { color: var(--muted); }
|
|
113
|
+
|
|
114
|
+
.colophon { border-top: 1px solid var(--rule); font-size: 12.5px; color: var(--muted); padding: 18px 0 24px; }
|
|
115
|
+
.colophon .wrap { display: flex; gap: 8px 24px; flex-wrap: wrap; justify-content: space-between; }
|
|
116
|
+
|
|
117
|
+
/* ---- page head ---- */
|
|
118
|
+
.page-head { margin-bottom: 32px; }
|
|
119
|
+
.eyebrow { margin: 0 0 6px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
|
|
120
|
+
h1 { margin: 0; font-size: 34px; line-height: 1.15; color: var(--ink); font-weight: 650; letter-spacing: -0.015em; }
|
|
121
|
+
.lede { max-width: 62ch; color: var(--muted); margin: 10px 0 0; }
|
|
122
|
+
.meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--rule); }
|
|
123
|
+
.meta div { display: flex; flex-direction: column; min-width: 0; }
|
|
124
|
+
.meta dt { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
|
|
125
|
+
.meta dd { margin: 2px 0 0; color: var(--text); font-weight: 500; }
|
|
126
|
+
.aside { color: var(--muted); font-size: 13.5px; margin: 8px 0 0; }
|
|
127
|
+
|
|
128
|
+
/* ---- stamps & notes ---- */
|
|
129
|
+
.stamp {
|
|
130
|
+
display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
|
|
131
|
+
color: var(--stamp); border: 1.5px solid currentColor; outline: 1px solid currentColor; outline-offset: 2px;
|
|
132
|
+
padding: 2px 8px; border-radius: 2px; transform: rotate(-1.2deg); white-space: nowrap; line-height: 1.5;
|
|
133
|
+
margin: 3px 4px 3px 0;
|
|
134
|
+
}
|
|
135
|
+
.notes { display: grid; gap: 10px; margin: -8px 0 32px; }
|
|
136
|
+
.note {
|
|
137
|
+
display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
|
|
138
|
+
background: var(--paper); border: 1px solid var(--rule); border-left: 3px solid var(--stamp);
|
|
139
|
+
padding: 12px 16px; border-radius: var(--radius);
|
|
140
|
+
}
|
|
141
|
+
.note p { margin: 0; flex: 1 1 240px; min-width: 0; }
|
|
142
|
+
.notice { padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--rule); background: var(--paper); }
|
|
143
|
+
.error-card { border-left: 3px solid var(--muted); }
|
|
144
|
+
|
|
145
|
+
/* ---- fractions ---- */
|
|
146
|
+
.frac { white-space: nowrap; color: var(--ink); }
|
|
147
|
+
.frac-n { font-weight: 650; }
|
|
148
|
+
.frac-d { color: var(--muted); font-weight: 400; }
|
|
149
|
+
.frac.hot .frac-n { color: var(--red); }
|
|
150
|
+
|
|
151
|
+
/* ---- runs list ---- */
|
|
152
|
+
.runs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
|
|
153
|
+
.run-row {
|
|
154
|
+
display: grid; grid-template-columns: minmax(0, 1fr) 110px 190px 160px; gap: 8px 28px; align-items: center;
|
|
155
|
+
padding: 20px 4px; border-bottom: 1px solid var(--rule);
|
|
156
|
+
}
|
|
157
|
+
.run-row:hover { background: color-mix(in srgb, var(--paper) 70%, transparent); }
|
|
158
|
+
.run-id { min-width: 0; }
|
|
159
|
+
.run-name { font-size: 18px; font-weight: 600; text-decoration: none; color: var(--ink); }
|
|
160
|
+
.run-name:hover { text-decoration: underline; text-decoration-color: var(--gold-2); }
|
|
161
|
+
.run-sub { color: var(--muted); font-size: 13.5px; margin-top: 2px; display: flex; flex-wrap: wrap; gap: 0 6px; }
|
|
162
|
+
.run-sub a { color: var(--muted); }
|
|
163
|
+
.dot { opacity: 0.6; }
|
|
164
|
+
.run-stamps { margin-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
|
|
165
|
+
.run-stamps:empty { display: none; }
|
|
166
|
+
.run-error { color: var(--muted); font-size: 13px; font-family: var(--mono); }
|
|
167
|
+
.run-progress, .run-num { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
|
|
168
|
+
.k { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
|
|
169
|
+
.run-num .frac { font-size: 26px; line-height: 1.1; }
|
|
170
|
+
.run-num .frac-d { font-size: 17px; }
|
|
171
|
+
.run-progress .v { font-size: 15px; color: var(--text); }
|
|
172
|
+
.delta { font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
|
|
173
|
+
.delta.worse { color: var(--red); }
|
|
174
|
+
.delta.better { color: var(--good); }
|
|
175
|
+
.delta.flat { color: var(--muted); font-weight: 500; }
|
|
176
|
+
|
|
177
|
+
/* ---- headlines ---- */
|
|
178
|
+
.headlines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 40px; }
|
|
179
|
+
.headline {
|
|
180
|
+
background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius);
|
|
181
|
+
padding: 24px 28px 22px; box-shadow: var(--shadow); min-width: 0; position: relative;
|
|
182
|
+
}
|
|
183
|
+
.headline::before {
|
|
184
|
+
content: ""; position: absolute; left: 28px; top: 0; width: 36px; height: 2px;
|
|
185
|
+
background: linear-gradient(90deg, var(--gold-1), var(--gold-3));
|
|
186
|
+
}
|
|
187
|
+
.headline-label { margin: 0 0 6px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
|
|
188
|
+
.headline .frac { display: block; font-size: 68px; line-height: 1; letter-spacing: -0.03em; margin: 6px 0 14px; }
|
|
189
|
+
.headline .frac-d { font-size: 34px; letter-spacing: -0.01em; }
|
|
190
|
+
.headline-note { margin: 14px 0 0; color: var(--muted); font-size: 13.5px; }
|
|
191
|
+
.cells { display: flex; flex-wrap: wrap; gap: 3px; max-width: 100%; }
|
|
192
|
+
.cell { width: 11px; height: 11px; background: var(--rule-soft); border: 1px solid var(--rule); border-radius: 1.5px; }
|
|
193
|
+
.cell.on { background: var(--red); border-color: var(--red); }
|
|
194
|
+
|
|
195
|
+
/* ---- blocks ---- */
|
|
196
|
+
.block { margin: 0 0 44px; min-width: 0; }
|
|
197
|
+
.block-title {
|
|
198
|
+
font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); font-weight: 700;
|
|
199
|
+
margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--rule);
|
|
200
|
+
display: flex; align-items: baseline; gap: 8px;
|
|
201
|
+
}
|
|
202
|
+
.block-title .count { color: var(--muted); font-weight: 500; letter-spacing: 0; }
|
|
203
|
+
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px 40px; align-items: start; }
|
|
204
|
+
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 22px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper); }
|
|
205
|
+
.fact { padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--rule); min-width: 0; }
|
|
206
|
+
.fact:first-child { border-left: 0; }
|
|
207
|
+
.fact .v { font-size: 20px; color: var(--ink); font-weight: 600; }
|
|
208
|
+
.fact .unit { font-size: 13px; color: var(--muted); font-weight: 400; }
|
|
209
|
+
|
|
210
|
+
/* ---- tables ---- */
|
|
211
|
+
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
|
|
212
|
+
table.data th, table.data td { padding: 7px 10px; text-align: left; border-bottom: 1px solid var(--rule-soft); vertical-align: top; }
|
|
213
|
+
table.data thead th { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--rule); }
|
|
214
|
+
table.data tbody th { font-weight: 500; color: var(--text); }
|
|
215
|
+
table.data .r { text-align: right; white-space: nowrap; }
|
|
216
|
+
table.data th, table.data td { overflow-wrap: normal; }
|
|
217
|
+
table.data thead th { white-space: nowrap; }
|
|
218
|
+
table.data td.hot { color: var(--red); font-weight: 600; }
|
|
219
|
+
.bar-col { width: 32%; }
|
|
220
|
+
.bar { display: block; height: 6px; margin-top: 8px; background: var(--rule-soft); border-radius: 3px; overflow: hidden; }
|
|
221
|
+
.bar-fill { display: block; height: 100%; width: var(--w, 0); background: var(--ink); opacity: 0.55; }
|
|
222
|
+
.c-row.c-wrong .bar-fill { background: var(--red); opacity: 0.9; }
|
|
223
|
+
.c-row.c-correct .bar-fill { background: var(--good); opacity: 0.8; }
|
|
224
|
+
td.hot ~ .bar-col .bar-fill { background: var(--red); opacity: 0.75; }
|
|
225
|
+
.swatch { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 8px; vertical-align: 0; }
|
|
226
|
+
.gloss { color: var(--muted); font-size: 12.5px; margin-left: 8px; }
|
|
227
|
+
|
|
228
|
+
.c-correct { --c: var(--good); }
|
|
229
|
+
.c-clarified { --c: var(--neutral); }
|
|
230
|
+
.c-refused { --c: var(--neutral); }
|
|
231
|
+
.c-wrong { --c: var(--red); }
|
|
232
|
+
/* Partly right (right numbers, different shape): amber, always with the "!" mark and the word. */
|
|
233
|
+
.c-partial { --c: var(--amber); }
|
|
234
|
+
.c-row.c-partial .bar-fill { background: var(--amber); opacity: 0.9; }
|
|
235
|
+
.mark-warn { display: inline-block; font-weight: 800; color: var(--amber); }
|
|
236
|
+
.partial-note { color: var(--text); }
|
|
237
|
+
.c-error { --c: var(--err); }
|
|
238
|
+
.swatch, .round { background: var(--c); }
|
|
239
|
+
|
|
240
|
+
/* ---- leaks ---- */
|
|
241
|
+
.leaks { background: var(--paper); border: 1px solid var(--rule); border-left: 3px solid var(--red); border-radius: var(--radius); padding: 18px 20px; }
|
|
242
|
+
.leaks .block-title { border-bottom-color: var(--rule-soft); }
|
|
243
|
+
.leak-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
|
|
244
|
+
.leak-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
|
|
245
|
+
.leak-kind { font-family: var(--mono); font-size: 12.5px; color: var(--red); border: 1px solid currentColor; border-radius: 3px; padding: 0 6px; }
|
|
246
|
+
|
|
247
|
+
/* ---- worst pairs ---- */
|
|
248
|
+
.worst { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
|
|
249
|
+
.w-row { border-bottom: 1px solid var(--rule); }
|
|
250
|
+
.w-head {
|
|
251
|
+
width: 100%; display: grid; grid-template-columns: 96px auto auto minmax(0, 1fr) auto auto; gap: 6px 12px; align-items: center;
|
|
252
|
+
padding: 13px 6px; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer;
|
|
253
|
+
}
|
|
254
|
+
.w-head.static { cursor: default; }
|
|
255
|
+
button.w-head:hover { background: var(--paper); }
|
|
256
|
+
.w-head[aria-expanded="true"] { background: var(--paper); }
|
|
257
|
+
.w-id { color: var(--ink); font-weight: 600; }
|
|
258
|
+
.w-q { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
|
|
259
|
+
.w-score { color: var(--muted); font-size: 13px; }
|
|
260
|
+
.lang {
|
|
261
|
+
font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; color: var(--muted);
|
|
262
|
+
border: 1px solid var(--rule); border-radius: 3px; padding: 0 5px; line-height: 1.6;
|
|
263
|
+
}
|
|
264
|
+
.tag { font-size: 12px; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 999px; padding: 0 8px; line-height: 1.6; white-space: nowrap; }
|
|
265
|
+
.tag.soft { color: var(--muted); border-color: var(--rule); }
|
|
266
|
+
.rounds { display: inline-flex; gap: 3px; }
|
|
267
|
+
.round { width: 10px; height: 14px; border-radius: 1.5px; display: inline-block; }
|
|
268
|
+
.holdout .w-q { white-space: normal; font-size: 13.5px; }
|
|
269
|
+
|
|
270
|
+
.w-body { padding: 4px 6px 26px; background: var(--paper); border-top: 1px dashed var(--rule); }
|
|
271
|
+
.question {
|
|
272
|
+
margin: 18px 0 20px; padding: 2px 0 2px 16px; border-left: 2px solid var(--gold-2);
|
|
273
|
+
font-size: 16.5px; color: var(--ink); line-height: 1.5; white-space: pre-wrap;
|
|
274
|
+
}
|
|
275
|
+
.compare-tables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
|
|
276
|
+
figure.rows { margin: 0; min-width: 0; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--bg); }
|
|
277
|
+
figure.rows figcaption {
|
|
278
|
+
font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; padding: 10px 12px;
|
|
279
|
+
border-bottom: 1px solid var(--rule); color: var(--ink);
|
|
280
|
+
}
|
|
281
|
+
figure.rows-got figcaption { color: var(--red); }
|
|
282
|
+
figcaption .count { color: var(--muted); font-weight: 500; letter-spacing: 0.04em; text-transform: none; }
|
|
283
|
+
.scroll { overflow-x: auto; max-width: 100%; }
|
|
284
|
+
.cells-table { font-family: var(--mono); font-size: 13px; }
|
|
285
|
+
.cells-table td { white-space: nowrap; overflow-wrap: normal; }
|
|
286
|
+
.cells-table td.ix { color: var(--muted); width: 1%; text-align: right; padding-right: 4px; }
|
|
287
|
+
.cells-table tr:last-child td { border-bottom: 0; }
|
|
288
|
+
.mini { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 22px 0 8px; font-weight: 700; }
|
|
289
|
+
.sql pre {
|
|
290
|
+
margin: 0; padding: 12px 14px; background: var(--bg); border: 1px solid var(--rule); border-radius: var(--radius);
|
|
291
|
+
overflow-x: auto; max-width: 100%; font-size: 12.5px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere;
|
|
292
|
+
}
|
|
293
|
+
.turn-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
|
|
294
|
+
.turn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--rule); border-left: 4px solid var(--c); border-radius: 4px; padding: 3px 10px; background: var(--bg); font-size: 13px; }
|
|
295
|
+
.turn-n { color: var(--muted); }
|
|
296
|
+
.turn .gloss { margin-left: 0; }
|
|
297
|
+
|
|
298
|
+
.more {
|
|
299
|
+
margin-top: 16px; font: inherit; font-size: 14px; color: var(--ink); background: var(--paper);
|
|
300
|
+
border: 1px solid var(--rule); border-radius: var(--radius); padding: 8px 14px; cursor: pointer;
|
|
301
|
+
}
|
|
302
|
+
.more:hover { border-color: var(--gold-2); }
|
|
303
|
+
.all-clear { color: var(--good); font-weight: 500; }
|
|
304
|
+
|
|
305
|
+
.disclaimer {
|
|
306
|
+
margin: 56px 0 0; padding-top: 18px; border-top: 1px solid var(--rule);
|
|
307
|
+
font-size: 13.5px; color: var(--muted); letter-spacing: 0.01em;
|
|
308
|
+
}
|
|
309
|
+
.disclaimer::before { content: "§ "; color: var(--gold-2); }
|
|
310
|
+
|
|
311
|
+
/* ---- compare ---- */
|
|
312
|
+
.pick { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin-bottom: 32px; }
|
|
313
|
+
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 220px; max-width: 360px; }
|
|
314
|
+
select, .pick button {
|
|
315
|
+
font: inherit; font-size: 14.5px; color: var(--text); background: var(--paper); border: 1px solid var(--rule);
|
|
316
|
+
border-radius: var(--radius); padding: 8px 10px; min-width: 0; width: 100%;
|
|
317
|
+
}
|
|
318
|
+
.pick button { width: auto; background: var(--navy); color: #F3EEDF; border-color: var(--navy); cursor: pointer; font-weight: 600; padding: 8px 18px; }
|
|
319
|
+
.pick .arrow { color: var(--muted); padding-bottom: 9px; }
|
|
320
|
+
.versus { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper); margin-bottom: 36px; }
|
|
321
|
+
.vs-row { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px 20px; align-items: center; padding: 16px 20px; border-top: 1px solid var(--rule-soft); }
|
|
322
|
+
.vs-row:first-child { border-top: 0; }
|
|
323
|
+
.vs-cell { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; min-width: 0; }
|
|
324
|
+
.vs-cell .frac { font-size: 26px; }
|
|
325
|
+
.vs-cell .frac-d { font-size: 17px; }
|
|
326
|
+
.vs-run { font-family: var(--mono); font-size: 12.5px; color: var(--muted); flex-basis: 100%; }
|
|
327
|
+
.versus .arrow { color: var(--gold-2); font-size: 20px; }
|
|
328
|
+
.cmp-lists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
|
|
329
|
+
.cmp .block-title { margin-bottom: 4px; }
|
|
330
|
+
.cmp-broke .block-title { color: var(--red); }
|
|
331
|
+
.cmp-fixed .block-title { color: var(--good); }
|
|
332
|
+
.pair-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
|
|
333
|
+
.pair-list li { display: flex; gap: 8px; align-items: center; }
|
|
334
|
+
|
|
335
|
+
/* ---- sets ---- */
|
|
336
|
+
.set-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
|
|
337
|
+
.set-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 24px; padding: 18px 4px; border-bottom: 1px solid var(--rule); }
|
|
338
|
+
.keybar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper); }
|
|
339
|
+
.ks { padding: 16px 20px; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--rule); }
|
|
340
|
+
.ks:first-child { border-left: 0; }
|
|
341
|
+
.ks .v { font-size: 30px; font-weight: 650; color: var(--ink); line-height: 1.1; }
|
|
342
|
+
.ks-approved .k::before, .ks-flagged .k::before, .ks-draft .k::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
|
|
343
|
+
.ks-approved .k::before { background: var(--good); }
|
|
344
|
+
.ks-flagged .k::before { background: var(--gold-2); }
|
|
345
|
+
.ks-draft .k::before { background: var(--err); }
|
|
346
|
+
.item-list { list-style: none; margin: 0; padding: 0; }
|
|
347
|
+
.item { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 10px 4px; border-bottom: 1px solid var(--rule-soft); font-size: 14px; }
|
|
348
|
+
.item > .mono { color: var(--ink); font-weight: 600; min-width: 80px; }
|
|
349
|
+
.item-q { flex: 1 1 280px; min-width: 0; }
|
|
350
|
+
.ks-badge { font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; padding: 0 7px; border-radius: 3px; border: 1px solid currentColor; line-height: 1.6; }
|
|
351
|
+
.ks-badge.ks-approved { color: var(--good); }
|
|
352
|
+
.ks-badge.ks-flagged { color: var(--accent); }
|
|
353
|
+
.ks-badge.ks-draft { color: var(--muted); }
|
|
354
|
+
.flags { display: flex; flex-wrap: wrap; gap: 4px; flex-basis: 100%; padding-left: 90px; }
|
|
355
|
+
.flag { font-size: 11.5px; color: var(--accent); background: color-mix(in srgb, var(--gold-2) 12%, transparent); border-radius: 3px; padding: 0 6px; }
|
|
356
|
+
|
|
357
|
+
/* ---- empty ---- */
|
|
358
|
+
.empty { text-align: center; padding: 56px 16px; border: 1px dashed var(--rule); border-radius: var(--radius); color: var(--muted); }
|
|
359
|
+
.empty-mark { height: 82px; width: auto; opacity: 0.9; }
|
|
360
|
+
.empty-title { color: var(--ink); font-size: 18px; font-weight: 600; margin: 16px 0 4px; }
|
|
361
|
+
.dark-only { display: none; }
|
|
362
|
+
@media (prefers-color-scheme: dark) {
|
|
363
|
+
.dark-only { display: inline; }
|
|
364
|
+
.light-only { display: none; }
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
/* ---- narrow screens ---- */
|
|
368
|
+
@media (max-width: 900px) {
|
|
369
|
+
.run-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
|
|
370
|
+
.run-id { grid-column: 1 / -1; }
|
|
371
|
+
.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
372
|
+
.fact:nth-child(3) { border-left: 0; }
|
|
373
|
+
.fact:nth-child(n + 3) { border-top: 1px solid var(--rule); }
|
|
374
|
+
.cmp-lists { grid-template-columns: minmax(0, 1fr); }
|
|
375
|
+
.vs-row { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
|
|
376
|
+
.vs-row > .k { grid-column: 1 / -1; }
|
|
377
|
+
}
|
|
378
|
+
@media (max-width: 720px) {
|
|
379
|
+
.wrap { padding: 0 16px; }
|
|
380
|
+
main.wrap { padding-top: 28px; }
|
|
381
|
+
table.data .gloss { display: none; }
|
|
382
|
+
table.data th, table.data td { padding: 7px 6px; }
|
|
383
|
+
.masthead-row { gap: 8px 16px; padding: 12px 0 0; }
|
|
384
|
+
.tabs { order: 3; flex-basis: 100%; margin-left: -12px; }
|
|
385
|
+
.local { font-size: 11px; }
|
|
386
|
+
h1 { font-size: 27px; }
|
|
387
|
+
.headlines { grid-template-columns: minmax(0, 1fr); }
|
|
388
|
+
.headline { padding: 20px; }
|
|
389
|
+
.headline::before { left: 20px; }
|
|
390
|
+
.headline .frac { font-size: 54px; }
|
|
391
|
+
.headline .frac-d { font-size: 28px; }
|
|
392
|
+
.compare-tables { grid-template-columns: minmax(0, 1fr); }
|
|
393
|
+
.w-head { grid-template-columns: auto auto minmax(0, 1fr) auto; }
|
|
394
|
+
.w-head .w-q { grid-column: 1 / -1; grid-row: 2; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
|
|
395
|
+
.w-head .tag { justify-self: start; }
|
|
396
|
+
.w-head .rounds { grid-column: 4; justify-self: end; }
|
|
397
|
+
.w-head .w-score { display: none; }
|
|
398
|
+
.keybar { grid-template-columns: minmax(0, 1fr); }
|
|
399
|
+
.ks { border-left: 0; border-top: 1px solid var(--rule); flex-direction: row; justify-content: space-between; align-items: baseline; }
|
|
400
|
+
.ks:first-child { border-top: 0; }
|
|
401
|
+
.flags { padding-left: 0; }
|
|
402
|
+
.bar-col { width: 26%; }
|
|
403
|
+
}
|
|
404
|
+
@media (max-width: 440px) {
|
|
405
|
+
.run-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
|
|
406
|
+
.run-progress { grid-column: 1 / -1; flex-direction: row; gap: 8px; align-items: baseline; }
|
|
407
|
+
.facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
@media print {
|
|
411
|
+
.masthead, .colophon, .tabs, .more, .pick { display: none; }
|
|
412
|
+
body { background: #fff; }
|
|
413
|
+
.w-body[hidden] { display: none; }
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
/* ---- every question ---- */
|
|
417
|
+
.all-bar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin: 8px 0 12px; }
|
|
418
|
+
.all-bar .seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 2px; border: 1px solid var(--rule); border-radius: var(--radius); }
|
|
419
|
+
.all-bar .seg button { font: inherit; font-size: 13px; border: 0; background: none; color: var(--text); padding: 4px 10px; border-radius: 3px; cursor: pointer; }
|
|
420
|
+
.all-bar .seg button[aria-pressed="true"] { background: var(--paper); box-shadow: 0 0 0 1px var(--rule); font-weight: 650; }
|
|
421
|
+
.all-bar .seg button:disabled { opacity: 0.45; cursor: default; }
|
|
422
|
+
.all-search { font: inherit; font-size: 14px; padding: 5px 10px; border: 1px solid var(--rule); border-radius: var(--radius); min-width: 16rem; background: none; color: inherit; }
|
|
423
|
+
.a-head { grid-template-columns: 9.5rem auto auto minmax(0, 1fr) auto auto; }
|
|
424
|
+
.a-outcome { font-weight: 650; font-size: 13.5px; color: var(--c, var(--text)); white-space: nowrap; }
|
|
425
|
+
.all-none { padding: 18px 6px; }
|
|
426
|
+
.all-foot { margin-top: 10px; }
|
|
427
|
+
.said { margin: 14px 0 0; }
|
|
428
|
+
.said blockquote { margin: 4px 0 0; padding-left: 12px; border-left: 2px solid var(--rule); white-space: pre-wrap; }
|
|
429
|
+
@media (max-width: 720px) {
|
|
430
|
+
.a-head { grid-template-columns: auto auto minmax(0, 1fr) auto; }
|
|
431
|
+
.a-head .w-q { grid-column: 1 / -1; grid-row: 2; white-space: normal; }
|
|
432
|
+
.a-head .w-id { display: none; }
|
|
433
|
+
}
|