File size: 6,427 Bytes
3331871
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
/* ---------------------------------------------------------------------------
   publish / publish.css β€” the published-view page (wave 33, item 8b, R5).

   ⚠ CO-LOCATED, per contract C4: `index.css` is B's file this wave, and the
   established practice for a new surface is a stylesheet beside its component
   (`query.css`, `SwipeView.css`, `navExtras.css`).

   ⚠ COLOUR is local (`--pubv-*`), TYPE is the product's (`--lp-fs-*`), and the
   split is not arbitrary β€” the first draft of this file declared literal sizes
   too and `verify_ui` reded on three of them, correctly.

   The FONT-TOKEN LAW is app-wide (DESIGN.md R5, gated by `verify_ui::font_literals`
   over every stylesheet under `web/src`), and it binds here for a reason this
   page makes sharper rather than weaker: `--lp-fs-*` are RATIOS of the
   `html { font-size }` root, so a literal `13px` here would be the one surface
   in the product that ignores a reader's browser text size. The draft's argument
   for going local β€” "a stranger's first load must look finished on its own" β€”
   was answered by checking rather than by asserting: `index.css` is imported by
   the app entry and is therefore in the single emitted stylesheet on every
   route, `#/v/<token>` included. There is no cascade in which these tokens are
   absent.

   ⚠ COLOUR stays local because there IS a real difference there: this page has
   no shell chrome around it, so it owns its whole surface rather than sitting
   inside one. The values are the product's (navy `#1F4E78`, DESIGN.md's
   neutrals), so nothing drifts visually.

   β›” NO EMOJI, no ALL-CAPS chrome β€” DESIGN.md R6 applies to a public page too.
   --------------------------------------------------------------------------- */

.pubv-root {
  --pubv-ink: #1e2233;
  --pubv-muted: #5d6478;
  --pubv-line: #e3e6ee;
  --pubv-surface: #ffffff;
  --pubv-ground: #f6f7fb;
  --pubv-brand: #1f4e78;

  box-sizing: border-box;
  min-height: 100vh;
  padding: 40px 24px 64px;
  background: var(--pubv-ground);
  color: var(--pubv-ink);
  font-family: Inter, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: var(--lp-fs-sm);
  line-height: 1.5;
}
.pubv-root *,
.pubv-root *::before,
.pubv-root *::after { box-sizing: inherit; }

/* Deliberately wordless, exactly like the shell's boot card: a "Loading…" line
   would flash for one round trip on every open. */
.pubv-boot { background: var(--pubv-ground); }

.pubv-page { max-width: 1120px; margin: 0 auto; }

.pubv-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.pubv-title {
  margin: 0;
  font-size: var(--lp-fs-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--pubv-brand);
}
.pubv-count { margin: 0; color: var(--pubv-muted); font-size: var(--lp-fs-xs); }
.pubv-note {
  margin: 14px 0 0;
  color: var(--pubv-muted);
  font-size: var(--lp-fs-xs);
  max-width: 68ch;
}

/* ── the passphrase card, and the not-available card ─────────────────────── */
.pubv-card {
  max-width: 380px;
  margin: 12vh auto 0;
  padding: 26px 24px;
  background: var(--pubv-surface);
  border: 1px solid var(--pubv-line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pubv-label { font-size: var(--lp-fs-2xs); font-weight: 500; color: var(--pubv-muted); }
.pubv-input {
  font: inherit;
  padding: 9px 11px;
  border: 1px solid var(--pubv-line);
  border-radius: 8px;
  background: var(--pubv-surface);
  color: var(--pubv-ink);
}
.pubv-input:focus-visible { outline: 2px solid var(--pubv-brand); outline-offset: 1px; }
.pubv-error { margin: 0; color: #a3453c; font-size: var(--lp-fs-xs); }
.pubv-btn {
  font: inherit;
  font-weight: 500;
  margin-top: 4px;
  padding: 9px 14px;
  border: 0;
  border-radius: 8px;
  background: var(--pubv-brand);
  color: #fff;
  cursor: pointer;
}
.pubv-btn:disabled { opacity: 0.5; cursor: default; }

/* ── the map plot ────────────────────────────────────────────────────────── */
.pubv-map {
  background: var(--pubv-surface);
  border: 1px solid var(--pubv-line);
  border-radius: 12px;
  padding: 8px;
  overflow: hidden;
}
.pubv-map svg { display: block; width: 100%; height: auto; }
.pubv-map-bg { fill: #eef2f7; }
.pubv-pin { fill: var(--pubv-brand); fill-opacity: 0.78; stroke: #fff; stroke-width: 1.5; }

/* ── catalog / swipe cards ───────────────────────────────────────────────── */
.pubv-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.pubv-card-item {
  background: var(--pubv-surface);
  border: 1px solid var(--pubv-line);
  border-radius: 12px;
  padding: 16px 16px 12px;
}
.pubv-card-title { margin: 0 0 8px; font-size: var(--lp-fs-sm); font-weight: 600; }
.pubv-pairs { margin: 0; display: grid; gap: 4px; }
.pubv-pair { display: flex; gap: 10px; justify-content: space-between; align-items: baseline; }
.pubv-pair dt { color: var(--pubv-muted); font-size: var(--lp-fs-2xs); }
.pubv-pair dd { margin: 0; font-size: var(--lp-fs-xs); text-align: right; }
.pubv-pair dd.is-num { font-variant-numeric: tabular-nums; }

/* ── the fallback table ──────────────────────────────────────────────────── */
/* ⚠ The wrapper scrolls, not the page: a wide table must never make the whole
   document scroll sideways on a phone. */
.pubv-tablewrap {
  overflow-x: auto;
  background: var(--pubv-surface);
  border: 1px solid var(--pubv-line);
  border-radius: 12px;
}
.pubv-table { border-collapse: collapse; width: 100%; font-size: var(--lp-fs-xs); }
.pubv-table th,
.pubv-table td {
  text-align: left;
  padding: 9px 14px;
  border-bottom: 1px solid var(--pubv-line);
  white-space: nowrap;
}
.pubv-table th { font-weight: 500; color: var(--pubv-muted); }
.pubv-table tr:last-child td { border-bottom: 0; }
.pubv-table .is-num { text-align: right; font-variant-numeric: tabular-nums; }

@media (max-width: 600px) {
  .pubv-root { padding: 24px 14px 48px; }
  .pubv-card { margin-top: 8vh; }
}