File size: 8,858 Bytes
dbef5b0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #5d687a;
  --line: #d8dee8;
  --soft: #f5f7fa;
  --hybrid: #4f46e5;
  --graph: #0f766e;
  --paths: #c25b16;
  --both: #9a6700;
  --gold: #dff7e7;
  --gold-line: #43a968;
  --page: #fff3c4;
  --page-line: #d8a923;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; font: 16px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.topbar { color: #fff; background: #172033; border-bottom: 5px solid #19a7a0; padding: 34px 0 30px; }
.eyebrow, .step { margin: 0 0 5px; color: #34d0c6; font-size: 12px; font-weight: 800; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(30px, 5vw, 48px); line-height: 1.1; }
.lede { max-width: 760px; margin: 12px 0 0; color: #d9e1ee; font-size: 18px; }
main section { padding: 30px 0; border-bottom: 1px solid var(--line); }
.notice { margin-top: 24px; padding: 13px 16px; border: 1px solid #a8dcd8; border-left: 5px solid #159b94; background: #edfafa; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-heading h2 { margin: 0; font-size: 23px; }
.count { color: var(--muted); font-weight: 700; }
.filter-grid { display: grid; grid-template-columns: 160px 260px 1fr; gap: 14px; }
label { display: grid; gap: 6px; color: #3f4b5f; font-size: 13px; font-weight: 700; }
select, input { width: 100%; min-height: 42px; border: 1px solid #b8c1cf; border-radius: 5px; background: #fff; color: var(--ink); padding: 9px 11px; font: inherit; }
select:focus, input:focus { outline: 3px solid #ccebea; border-color: #168b86; }
.question-picker { margin-top: 14px; }
.question-summary { padding: 17px 0 19px; }
.question-summary h3 { max-width: 930px; margin: 0 0 8px; font-size: 20px; }
.question-summary p { margin: 5px 0; color: var(--muted); }
.comparison { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); }
.metric-block { min-width: 0; padding: 15px; border-top: 5px solid var(--accent); border-right: 1px solid var(--line); background: #fff; }
.metric-block:last-child { border-right: 0; }
.metric-block h3 { min-height: 48px; margin: 0 0 12px; font-size: 15px; }
.metric-row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid #edf0f4; color: var(--muted); font-size: 13px; }
.metric-row strong { color: var(--ink); font-size: 16px; }
.inspect-heading { align-items: center; }
.method-picker { width: min(360px, 100%); }
.route-summary { margin-bottom: 14px; padding: 14px 16px; border-left: 5px solid var(--accent); background: var(--soft); }
.route-summary strong { display: block; margin-bottom: 5px; }
.graph-heading { margin: 24px 0 10px; }
.graph-heading h3 { margin: 0; font-size: 18px; }
.graph-heading p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.graph-view { margin-bottom: 24px; padding: 18px; border: 1px solid var(--line); background: #fbfcfe; }
.graph-node { border: 1px solid #aeb9c8; border-radius: 5px; background: #fff; padding: 10px; font-size: 13px; }
.graph-node strong, .graph-node span { display: block; }
.graph-node span { margin-top: 3px; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.graph-node.query { border-color: #5274df; background: #eef2ff; }
.graph-root { max-width: 620px; margin: 0 auto; text-align: center; }
.graph-down { width: 0; height: 22px; margin: 0 auto; border-left: 2px solid #7b8798; }
.graph-down::after { content: ""; display: block; width: 7px; height: 7px; margin: 13px 0 0 -5px; border-right: 2px solid #7b8798; border-bottom: 2px solid #7b8798; transform: rotate(45deg); }
.graph-cues { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.graph-node.cue { min-width: 120px; text-align: center; }
.graph-node.cue.year { border-color: #288db3; background: #e9f7fc; }
.graph-node.cue.entity { border-color: #2e8b57; background: #edf9f0; }
.graph-node.cue.metric { border-color: #cc4f5e; background: #fff0f2; }
.graph-section-label { margin: 8px 0; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.graph-paths { display: grid; gap: 9px; }
.graph-path-row { display: grid; grid-template-columns: minmax(130px, .65fr) minmax(150px, .7fr) minmax(260px, 1.8fr); align-items: center; gap: 0; }
.graph-source { border: 1px solid #aeb9c8; border-radius: 5px; padding: 9px; background: #fff; font-size: 12px; font-weight: 750; text-align: center; }
.graph-source.hybrid { border-color: #4f46e5; background: #eef2ff; }
.graph-source.graph { border-color: #0f766e; background: #ecfdf8; }
.graph-source.metric { border-color: #cc4f5e; background: #fff0f2; }
.graph-source.entity { border-color: #2e8b57; background: #edf9f0; }
.graph-source.page { border-color: #2f6bbb; background: #edf5ff; }
.graph-edge { position: relative; height: 2px; margin: 0 13px; background: #4f46e5; color: #4f46e5; }
.graph-edge::after { content: ""; position: absolute; right: -2px; top: -4px; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; }
.graph-edge span { position: absolute; left: 50%; bottom: 6px; width: max-content; max-width: 145px; transform: translateX(-50%); padding: 1px 5px; background: #fbfcfe; color: #344054; font-size: 10px; font-weight: 800; text-align: center; }
.graph-edge.graph { background: #0f766e; color: #0f766e; }
.graph-edge.metric { background: #cc4f5e; color: #cc4f5e; }
.graph-edge.entity { background: #2e8b57; color: #2e8b57; }
.graph-edge.page { background: #2f6bbb; color: #2f6bbb; }
.graph-node.evidence-node { border-left: 4px solid var(--accent); }
.graph-node.evidence-node.gold { border-color: var(--gold-line); background: var(--gold); }
.graph-node.evidence-node.page { border-color: var(--page-line); background: var(--page); }
.graph-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.legend-line::before { content: ""; display: inline-block; width: 20px; margin-right: 5px; border-top: 2px solid currentColor; vertical-align: middle; }
.legend-line.graph { color: #0f766e; }.legend-line.path { color: #c25b16; }.legend-line.hybrid { color: #4f46e5; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { display: inline-block; border: 1px solid #c7d0dd; border-radius: 4px; background: #fff; padding: 3px 7px; color: #48556a; font-size: 12px; }
.ranking { display: grid; gap: 9px; }
.evidence { display: grid; grid-template-columns: 44px 160px 90px minmax(0, 1fr) 56px; gap: 12px; align-items: start; border: 1px solid var(--line); border-left: 5px solid #aab3c1; padding: 12px; }
.evidence.gold { border-left-color: var(--gold-line); background: var(--gold); }
.evidence.page { border-left-color: var(--page-line); background: var(--page); }
.rank { font-size: 19px; font-weight: 800; }
.match { font-size: 13px; font-weight: 800; }
.meta { color: var(--muted); font-size: 13px; }
.preview { min-width: 0; overflow-wrap: anywhere; }
.preview p { margin: 6px 0 0; color: #3f4b5f; font-size: 14px; }
.source { color: #315bd6; font-weight: 800; text-decoration: none; }
.source:hover { text-decoration: underline; }
.loading, .error { padding: 24px; border: 1px solid var(--line); background: var(--soft); }
.error { color: #a02b2b; border-color: #e2aaaa; background: #fff1f1; }
footer { padding: 24px 0 36px; color: var(--muted); font-size: 13px; }

@media (max-width: 860px) {
  .filter-grid, .comparison { grid-template-columns: 1fr 1fr; }
  .metric-block:nth-child(2) { border-right: 0; }
  .metric-block:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .evidence { grid-template-columns: 36px 1fr 54px; }
  .evidence .meta { grid-column: 2; }
  .evidence .preview { grid-column: 1 / -1; }
  .graph-path-row { grid-template-columns: minmax(110px, .65fr) 120px minmax(220px, 1.5fr); }
}

@media (max-width: 560px) {
  .filter-grid, .comparison { grid-template-columns: 1fr; }
  .section-heading, .inspect-heading { align-items: stretch; flex-direction: column; }
  .method-picker { width: 100%; }
  .metric-block { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric-block:last-child { border-bottom: 0; }
  .graph-path-row { grid-template-columns: 1fr; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); }
  .graph-edge { width: 2px; height: 25px; margin: 0 auto; }
  .graph-edge::after { right: -4px; top: auto; bottom: -2px; border-right: 5px solid transparent; border-left: 5px solid transparent; border-top: 8px solid currentColor; border-bottom: 0; }
  .graph-edge span { left: 8px; bottom: 6px; transform: none; }
}