@vitrinka/web 0.8.2 → 0.9.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/CHANGELOG.md CHANGED
@@ -1,5 +1,60 @@
1
1
  # @vitrinka/web
2
2
 
3
+ ## 0.9.1
4
+
5
+ - **The button keeps its name with a shortcut set.** 0.9.0's default
6
+ shortcut put its chord on the button, and the chord became part of the
7
+ button's accessible name: "Report a problem Alt+Shift+A" (cs "Nahlásit
8
+ problém Alt+Shift+A"). A screen reader read the glyphs as the name, and a
9
+ host test that found the button by name — Voke's did — found nothing. The
10
+ chord is now painted for the eye only, and assistive technology hears it
11
+ from `aria-keyshortcuts` (`Alt+Shift+A` beside the button's Alt+arrow
12
+ moves). Since 0.9.0.
13
+
14
+ ## 0.9.0
15
+
16
+ - **Box first, and the default.** The marking bar reads **Box · Circle ·
17
+ Arrow · Cover**, with Box picked when marking starts: most problems are a
18
+ region, and a box is the one gesture nobody has to learn. Since 0.7.0
19
+ marking started on Circle.
20
+ - **Hide is now Cover, and says what it does.** Reporters did not know what
21
+ **Hide** was for. It is **Cover** (cs **Zakrýt**), and while it is picked
22
+ the bar's line reads "Cover what the team shouldn't see" (cs "Zakryjte, co
23
+ tým nemá vidět"). A placed cover reads "Covered — not sent" (cs "Zakryto —
24
+ neodešle se"), shown once the box is wide enough to hold it. What a cover
25
+ does is unchanged: the region is blank in everything the report sends.
26
+ - **The coach lives on the card, not on the page.** It no longer follows
27
+ the pointer over the page you are marking. It rides on the card's edge
28
+ that faces the page — above a card in a bottom corner, below one in a top
29
+ corner — or beside the card when the window is too short, and over the
30
+ card's top on a phone. Drawing goes on through it. It shows the picked
31
+ shape (a box dragged, a loop drawn, an arrow, a cover) with its own line
32
+ ("Click, hold and move across the problem."), stays while you mark, and
33
+ leaves for good on **Got it, don't show again** (cs **Chápu, už
34
+ nezobrazovat**). **Settings → Marking tips** brings it back, per browser
35
+ (`vitrinka.report.coach`). The keyboard instructions left its face: they
36
+ are the marking layer's description for screen readers.
37
+ - **The coach draws under its pointer.** The pointer ran on SVG motion at a
38
+ steady pace and the line on an eased CSS animation of its own, so the line
39
+ drew ahead of the pointer. Both now run on one SVG clock with the same
40
+ timing: wherever the run is paused, the pointer's tip sits on the end of
41
+ the line. Since 0.7.0.
42
+ - **⌥⇧A opens Report a problem by default** (Alt+Shift+A on Windows and
43
+ Linux): the recorder pill's annotate chord, so "flag it here" is one key
44
+ in either face. A reporter records another in Settings or removes it, and
45
+ a removed shortcut stays removed (`off` in
46
+ `vitrinka.recorder.report.keybind`).
47
+
48
+ Upgrading:
49
+
50
+ - **A page that uses ⌥⇧A / Alt+Shift+A itself** now shares it with the
51
+ widget while Report a problem is mounted; the widget opens its card. A
52
+ reporter can remove or change the widget's shortcut in Settings.
53
+ - **Tests that named the tools** press **Cover** instead of **Hide** (cs
54
+ **Zakrýt** instead of **Skrýt**), and a first mark drawn without picking a
55
+ shape is now a box. The coach no longer leaves after the first mark: a
56
+ test that waited for it to hide presses **Got it, don't show again**.
57
+
3
58
  ## 0.8.2
4
59
 
5
60
  - **Your own opener reaches Report a problem from the pill.** While a
package/README.md CHANGED
@@ -306,10 +306,14 @@ profile** (set in vitrinka; see [`docs/PROTOCOL.md`](../../docs/PROTOCOL.md)
306
306
  § Report a problem). You need the project's report key (`vkb_…`).
307
307
 
308
308
  **Marking.** **Show us where** puts a glass bar at the top of the page —
309
- "Mark where the problem is", a segmented **Circle · Box · Arrow · Hide**
310
- and **Cancel** — and you circle, box, point at or hide parts of the page,
311
- taught by a coach card ("click, hold and move") until the first mark
312
- exists. A mark carries a pin on the page (its number and ✕) and a line in
309
+ "Mark where the problem is", a segmented **Box · Circle · Arrow · Cover**
310
+ (Box picked) and **Cancel** — and you box, circle, point at or cover parts
311
+ of the page. **Cover** blanks what is under it in everything the report
312
+ sends, and the bar says so while it is picked ("Cover what the team
313
+ shouldn’t see"). A coach on the card’s edge facing the page — above it, or
314
+ beside it when there is no room — shows the picked shape’s gesture ("click,
315
+ hold and move") until the reporter presses **Got it, don’t show again**;
316
+ **Settings → Marking tips** brings it back (`vitrinka.report.coach`). A mark carries a pin on the page (its number and ✕) and a line in
313
317
  the card for its note; a press on the number puts the caret there, and a
314
318
  note on a mark is enough to send. The card stays where it rested and moves
315
319
  only when a mark lands under it, to the corner that covers the least of
@@ -481,13 +485,16 @@ or press Alt+arrow while it has focus; the corner is remembered per site
481
485
  (`vitrinka.report.dock`), and the card opens beside the button — above it
482
486
  at the bottom, below it at the top. **Settings** (⋯) holds the shortcut
483
487
  below, **Size** — Small · Medium · Large, one scale for the button, the
484
- card and the marking bar (`vitrinka.report.size`) — and **Technical
488
+ card and the marking bar (`vitrinka.report.size`) — **Marking tips**, and **Technical
485
489
  details** for a support conversation: version, capture window, whether
486
490
  capture runs, the buffer and its cap, the server.
487
491
 
488
- **The shortcut.** There is none by default. A reporter sets their own in
489
- **Settings** by pressing it: a modifier other than Shift is required, Esc
490
- cancels. It is kept in `localStorage` (`vitrinka.recorder.report.keybind`).
492
+ **The shortcut.** ⌥⇧A on a Mac, Alt+Shift+A elsewhere — the recorder
493
+ pill’s annotate chord, so "flag it here" is one key in either face. A
494
+ reporter records another in **Settings** by pressing it (a modifier other
495
+ than Shift is required, Esc cancels) or removes it, and a removed shortcut
496
+ stays removed. It is kept in `localStorage`
497
+ (`vitrinka.recorder.report.keybind`; `off` once removed).
491
498
 
492
499
  **Typing stays in the widget.** A key typed into a field of the card, a
493
500
  mark's line or a pill sheet never reaches your page's shortcuts — even one
@@ -1,3 +1,3 @@
1
1
  /** Sent as `meta.recorder` and written as `data-vitrinka-page`; bumped with the package version. */
2
- export declare const RECORDER_VERSION = "0.8.2";
3
- export declare const RECORDER_ID = "web/0.8.2";
2
+ export declare const RECORDER_VERSION = "0.9.1";
3
+ export declare const RECORDER_ID = "web/0.9.1";
@@ -1,3 +1,3 @@
1
1
  /** Sent as `meta.recorder` and written as `data-vitrinka-page`; bumped with the package version. */
2
- export const RECORDER_VERSION = '0.8.2';
2
+ export const RECORDER_VERSION = '0.9.1';
3
3
  export const RECORDER_ID = `web/${RECORDER_VERSION}`;
@@ -7,6 +7,7 @@
7
7
  * Marking is taught as "click, hold and move" — never "drag" (D21): a
8
8
  * first-time reporter does not know the word.
9
9
  */
10
+ import type { MarkerShape } from './markers';
10
11
  export type Locale = 'cs' | 'en';
11
12
  export type ReportKind = 'bug' | 'suggestion' | 'question' | 'other';
12
13
  export declare const REPORT_KINDS: readonly ReportKind[];
@@ -58,17 +59,24 @@ export interface Strings {
58
59
  toolbar: string;
59
60
  /** The marking bar's one plain line. */
60
61
  barLead: string;
62
+ /** The bar's line while Cover is picked: what covering is for. */
63
+ barLeadHide: string;
61
64
  /** Leaves marking and drops the marks of this pass (vt-8020 D12). */
62
65
  cancelMarking: string;
63
66
  discardMarks: (n: number) => string;
64
67
  discard: string;
65
68
  keep: string;
66
- coach: string;
69
+ /** The coach's line for the picked shape. */
70
+ coach: Record<MarkerShape, string>;
67
71
  coachMore: string;
72
+ /** Turns the coach off for good on this browser; Settings turns it back on. */
73
+ coachDismiss: string;
74
+ coachSetting: string;
68
75
  /** The marking layer's name, for assistive technology. */
69
76
  marking: string;
70
- /** How to mark from the keyboard (the layer's description; shown in the coach card). */
77
+ /** How to mark from the keyboard: the layer's description for assistive technology, never painted. */
71
78
  keyboardHint: string;
79
+ /** Written on a placed cover. */
72
80
  hidden: string;
73
81
  notePlaceholder: string;
74
82
  mark: (n: number) => string;
@@ -48,18 +48,26 @@ const en = {
48
48
  sentBody: 'The team will take a look.',
49
49
  sentNotify: 'We’ll email you when it’s fixed.',
50
50
  seeReport: 'See your report',
51
- tools: { circle: 'Circle', box: 'Box', arrow: 'Arrow', hide: 'Hide' },
51
+ tools: { circle: 'Circle', box: 'Box', arrow: 'Arrow', hide: 'Cover' },
52
52
  toolbar: 'Marking tools',
53
53
  barLead: 'Mark where the problem is',
54
+ barLeadHide: 'Cover what the team shouldn’t see',
54
55
  cancelMarking: 'Cancel',
55
56
  discardMarks: (n) => (n === 1 ? 'Discard 1 mark?' : `Discard ${n} marks?`),
56
57
  discard: 'Discard',
57
58
  keep: 'Keep',
58
- coach: 'Click, hold and move around the problem.',
59
+ coach: {
60
+ box: 'Click, hold and move across the problem.',
61
+ circle: 'Click, hold and move around the problem.',
62
+ arrow: 'Click, hold and move from a clear spot to the problem.',
63
+ hide: 'Click, hold and move across anything private — it stays blank in what you send.',
64
+ },
59
65
  coachMore: 'You can mark more than one place.',
66
+ coachDismiss: 'Got it, don’t show again',
67
+ coachSetting: 'Marking tips',
60
68
  marking: 'Marking',
61
69
  keyboardHint: 'Keyboard: Enter to start, arrows to move, Shift+arrows to resize, Enter to place.',
62
- hidden: 'Hidden',
70
+ hidden: 'Covered — not sent',
63
71
  notePlaceholder: 'Add a note (optional)',
64
72
  mark: (n) => `Mark ${n}`,
65
73
  removeMark: (n) => `Remove mark ${n}`,
@@ -169,18 +177,26 @@ const cs = {
169
177
  sentBody: 'Tým se na to podívá.',
170
178
  sentNotify: 'Až to bude opravené, pošleme vám e-mail.',
171
179
  seeReport: 'Zobrazit hlášení',
172
- tools: { circle: 'Kruh', box: 'Obdélník', arrow: 'Šipka', hide: 'Skrýt' },
180
+ tools: { circle: 'Kruh', box: 'Obdélník', arrow: 'Šipka', hide: 'Zakrýt' },
173
181
  toolbar: 'Nástroje pro označení',
174
182
  barLead: 'Označte, kde je problém',
183
+ barLeadHide: 'Zakryjte, co tým nemá vidět',
175
184
  cancelMarking: 'Zrušit',
176
185
  discardMarks: (n) => csPlural(n, 'Zahodit 1 značku?', `Zahodit ${n} značky?`, `Zahodit ${n} značek?`),
177
186
  discard: 'Zahodit',
178
187
  keep: 'Ponechat',
179
- coach: 'Klikněte, podržte a veďte kolem problému.',
188
+ coach: {
189
+ box: 'Klikněte, podržte a veďte přes problém.',
190
+ circle: 'Klikněte, podržte a veďte kolem problému.',
191
+ arrow: 'Klikněte, podržte a veďte z volného místa k problému.',
192
+ hide: 'Klikněte, podržte a veďte přes vše soukromé — v hlášení zůstane prázdné.',
193
+ },
180
194
  coachMore: 'Označit můžete i více míst.',
195
+ coachDismiss: 'Chápu, už nezobrazovat',
196
+ coachSetting: 'Nápověda při označování',
181
197
  marking: 'Označování',
182
198
  keyboardHint: 'Klávesnice: Enter začne, šipky posouvají, Shift+šipky mění velikost, Enter umístí.',
183
- hidden: 'Skryto',
199
+ hidden: 'Zakryto — neodešle se',
184
200
  notePlaceholder: 'Přidejte poznámku (nepovinné)',
185
201
  mark: (n) => `Značka ${n}`,
186
202
  removeMark: (n) => `Odebrat značku ${n}`,
@@ -23,6 +23,16 @@ export declare function matchesKeybind(e: KeyPress, b: Keybind): boolean;
23
23
  export declare function isMacPlatform(): boolean;
24
24
  /** ⌃⌥⇧⌘R on a Mac, Ctrl+Alt+Shift+R elsewhere. */
25
25
  export declare function keybindLabel(b: Keybind, mac?: boolean): string;
26
+ /** The chord in `aria-keyshortcuts` words (Control, Alt, Shift, Meta): what assistive technology announces. */
27
+ export declare function keybindAria(b: Keybind): string;
28
+ /**
29
+ * ⌥⇧A on a Mac, Shift+Alt+A elsewhere (vt-8020): the recorder pill's annotate
30
+ * chord, so "flag it here" is one key in either face — one face is on screen at
31
+ * a time. A Mac's ⌥ turns the A into Å, which is why matching reads `code`.
32
+ */
33
+ export declare const DEFAULT_KEYBIND: Keybind;
34
+ /** The stored value as the shortcut in force: absent (or unreadable) → the default, `off` → none. */
35
+ export declare function resolveKeybind(raw: string | null | undefined): Keybind | null;
26
36
  export declare function loadKeybind(): Keybind | null;
27
37
  export declare function saveKeybind(b: Keybind | null): void;
28
38
  /** Hear another tab change the shortcut; returns the unsubscribe. */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The reporter's own shortcut for Report a problem (QA Studio assumptions:
3
- * the snap HotKeyRecorder rules). There is no default: the person records
4
- * one in the widget's settings by pressing it. The next key pressed with a
3
+ * the snap HotKeyRecorder rules). It starts as DEFAULT_KEYBIND; the person
4
+ * records another in the widget's settings by pressing it, or removes it. The next key pressed with a
5
5
  * modifier becomes the shortcut; Esc on its own cancels; a bare key is
6
6
  * refused with the reason — and so is Shift alone, which in a browser types
7
7
  * capitals. Matched by physical key (`code`: ⌥ rewrites `key` on a Mac).
@@ -65,6 +65,10 @@ export function keybindLabel(b, mac = isMacPlatform()) {
65
65
  return `${b.ctrl ? '⌃' : ''}${b.alt ? '⌥' : ''}${b.shift ? '⇧' : ''}${b.meta ? '⌘' : ''}${key}`;
66
66
  return [b.ctrl && 'Ctrl', b.alt && 'Alt', b.shift && 'Shift', b.meta && 'Meta', key].filter(Boolean).join('+');
67
67
  }
68
+ /** The chord in `aria-keyshortcuts` words (Control, Alt, Shift, Meta): what assistive technology announces. */
69
+ export function keybindAria(b) {
70
+ return [b.ctrl && 'Control', b.alt && 'Alt', b.shift && 'Shift', b.meta && 'Meta', keyLabel(b.code)].filter(Boolean).join('+');
71
+ }
68
72
  function parseKeybind(raw) {
69
73
  if (!raw)
70
74
  return null;
@@ -82,18 +86,28 @@ function parseKeybind(raw) {
82
86
  return null;
83
87
  }
84
88
  }
89
+ /**
90
+ * ⌥⇧A on a Mac, Shift+Alt+A elsewhere (vt-8020): the recorder pill's annotate
91
+ * chord, so "flag it here" is one key in either face — one face is on screen at
92
+ * a time. A Mac's ⌥ turns the A into Å, which is why matching reads `code`.
93
+ */
94
+ export const DEFAULT_KEYBIND = { code: 'KeyA', alt: true, ctrl: false, meta: false, shift: true };
95
+ /** Stored when the person removes the shortcut: an absent key means the default, so "none" needs a value of its own. */
96
+ const KEYBIND_OFF = 'off';
97
+ /** The stored value as the shortcut in force: absent (or unreadable) → the default, `off` → none. */
98
+ export function resolveKeybind(raw) {
99
+ if (raw === KEYBIND_OFF)
100
+ return null;
101
+ return parseKeybind(raw) ?? DEFAULT_KEYBIND;
102
+ }
85
103
  export function loadKeybind() {
86
- return parseKeybind(getRecorderStorage().getString(KEYBIND_STORAGE_KEY));
104
+ return resolveKeybind(getRecorderStorage().getString(KEYBIND_STORAGE_KEY));
87
105
  }
88
106
  export function saveKeybind(b) {
89
- const s = getRecorderStorage();
90
- if (b)
91
- s.set(KEYBIND_STORAGE_KEY, JSON.stringify(b));
92
- else
93
- s.remove(KEYBIND_STORAGE_KEY);
107
+ getRecorderStorage().set(KEYBIND_STORAGE_KEY, b ? JSON.stringify(b) : KEYBIND_OFF);
94
108
  }
95
109
  /** Hear another tab change the shortcut; returns the unsubscribe. */
96
110
  export function watchKeybind(on) {
97
111
  const s = getRecorderStorage();
98
- return s.watch ? s.watch(KEYBIND_STORAGE_KEY, (v) => on(parseKeybind(v))) : () => undefined;
112
+ return s.watch ? s.watch(KEYBIND_STORAGE_KEY, (v) => on(resolveKeybind(v))) : () => undefined;
99
113
  }
@@ -24,3 +24,14 @@ export interface Frame {
24
24
  export declare function cornerRect(c: Corner, f: Frame): Rect;
25
25
  /** The corner the card should be in: `current` while it covers no mark, else the least-covering one. */
26
26
  export declare function pickCorner(current: Corner, marks: readonly Rect[], f: Frame): Corner;
27
+ /** Where the marking coach rides on the card (vt-8020): never over the page it teaches about. */
28
+ export type CoachSide = 'above' | 'below' | 'left' | 'right' | 'over';
29
+ /**
30
+ * The card's edge that faces the open page: above a card in a bottom corner, below one in a top
31
+ * corner; when the viewport has no room there, beside it towards the middle; when there is none
32
+ * either (a phone), over the card's top. `coach` is its painted size, `gap` the space kept to the card.
33
+ */
34
+ export declare function coachSide(corner: Corner, f: Frame, coach: {
35
+ w: number;
36
+ h: number;
37
+ }, gap: number): CoachSide;
@@ -31,3 +31,17 @@ export function pickCorner(current, marks, f) {
31
31
  }
32
32
  return best;
33
33
  }
34
+ /**
35
+ * The card's edge that faces the open page: above a card in a bottom corner, below one in a top
36
+ * corner; when the viewport has no room there, beside it towards the middle; when there is none
37
+ * either (a phone), over the card's top. `coach` is its painted size, `gap` the space kept to the card.
38
+ */
39
+ export function coachSide(corner, f, coach, gap) {
40
+ const atBottom = corner === 'br' || corner === 'bl';
41
+ const room = f.vh - f.top - f.h - f.bottom;
42
+ if (room >= coach.h + gap)
43
+ return atBottom ? 'above' : 'below';
44
+ if (f.vw - 2 * f.edge - f.w >= coach.w + gap)
45
+ return corner === 'br' || corner === 'tr' ? 'left' : 'right';
46
+ return 'over';
47
+ }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * The reporter's own settings beyond the shortcut (vt-8020 D9): the widget's
3
- * size and the technical details a support conversation asks for. Each
3
+ * size, the marking tips and the technical details a support conversation asks for. Each
4
4
  * setting is one localStorage key of this origin — the reporter's, on this
5
5
  * browser, never sent anywhere.
6
6
  *
@@ -18,6 +18,12 @@ export declare const SIZE_KEY = "vitrinka.report.size";
18
18
  export declare function readPref(key: string): string | null;
19
19
  export declare function writePref(key: string, value: string): void;
20
20
  export declare function readSize(): WidgetSize;
21
+ /**
22
+ * The marking tips above the card (vt-8020): on until the person presses
23
+ * "Got it, don't show again", and Settings turns them back on.
24
+ */
25
+ export declare const COACH_KEY = "vitrinka.report.coach";
26
+ export declare function readCoach(): boolean;
21
27
  export interface TechInput {
22
28
  /** The package version (recorder/version.ts). */
23
29
  version: string;
@@ -26,6 +26,14 @@ export function readSize() {
26
26
  const v = readPref(SIZE_KEY);
27
27
  return SIZES.find((s) => s === v) ?? 'md';
28
28
  }
29
+ /**
30
+ * The marking tips above the card (vt-8020): on until the person presses
31
+ * "Got it, don't show again", and Settings turns them back on.
32
+ */
33
+ export const COACH_KEY = 'vitrinka.report.coach';
34
+ export function readCoach() {
35
+ return readPref(COACH_KEY) !== 'off';
36
+ }
29
37
  /** The read-only technical details, label → value: version, capture window, capture, buffer, server. */
30
38
  export function techDetails(t, s) {
31
39
  const c = t.config;
@@ -4,4 +4,4 @@
4
4
  * of the page. A dark card on any page (the D12 / D21 mockups): one accent
5
5
  * red for the act of sending and marking, everything else quiet.
6
6
  */
7
- export declare const REPORT_CSS = "\n:host { all: initial; }\n.vr {\n --ink: #f2f1ef;\n --dim: rgba(242, 241, 239, .62);\n --faint: rgba(242, 241, 239, .14);\n --bg: #1a191d;\n --bg-deep: #121115;\n --accent: #dc2f4c;\n --accent-soft: rgba(220, 47, 76, .28);\n /* Motion (transitions-dev tokens): a sliding indicator rides --dur-fast, the card's one glide --dur-slow. */\n --dur-quick: 150ms;\n --dur-fast: 250ms;\n --dur-slow: 400ms;\n --ease-smooth-out: cubic-bezier(0.22, 1, 0.36, 1);\n /* Size (vt-8020 D9, settings.ts): ONE factor, written by the widget, scales the button, the card and\n the marking bar \u2014 fonts and boxes together \u2014 each from its anchored corner. */\n --vr-scale: 1;\n /* The dock: the gap to the viewport edge, and where the card rests \u2014 clear of the button above or below it. */\n --edge: 24px;\n --lift: calc(var(--edge) + 72px * var(--vr-scale));\n font: 400 14px/1.45 -apple-system, BlinkMacSystemFont, \"Segoe UI\", Inter, Roboto, \"Helvetica Neue\", Arial, sans-serif;\n color: var(--ink);\n -webkit-font-smoothing: antialiased;\n letter-spacing: normal;\n text-align: left;\n}\n.vr *, .vr *::before, .vr *::after { box-sizing: border-box; }\n.vr [hidden] { display: none !important; }\n.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }\nbutton { font: inherit; color: inherit; cursor: pointer; }\nbutton:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {\n outline: 2px solid #fff; outline-offset: 2px;\n}\n\n/* -- the floating button -------------------------------------------------- */\n.fab {\n position: fixed; right: var(--edge); bottom: var(--edge);\n scale: var(--vr-scale); transform-origin: 100% 100%;\n /* A press can become a drag to another corner: the page never scrolls under it. */\n touch-action: none;\n display: inline-flex; align-items: center; gap: 12px;\n padding: 15px 22px; border: 0; border-radius: 999px;\n background: #131216; color: #fff;\n font-size: 17px; font-weight: 600; letter-spacing: -.005em;\n box-shadow: 0 12px 32px rgba(0, 0, 0, .28), 0 0 0 1px rgba(255, 255, 255, .08) inset;\n pointer-events: auto;\n transition: transform .14s ease, box-shadow .14s ease;\n}\n.fab:hover { transform: translateY(-1px); box-shadow: 0 16px 36px rgba(0, 0, 0, .32), 0 0 0 1px rgba(255, 255, 255, .12) inset; }\n.fab:active { transform: translateY(0); }\nkbd {\n font: 500 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n padding: 4px 7px; border-radius: 7px;\n border: 1px solid rgba(255, 255, 255, .26); color: rgba(255, 255, 255, .78);\n}\n\n/* -- the card: ONE size from drafting to thanks (vt-8020 D10) ---------------- */\n.card {\n position: fixed; right: var(--edge); bottom: var(--lift);\n display: flex; flex-direction: column;\n /* The box is divided by the scale so the painted card (scale \u00D7 box) still fits the viewport. */\n width: min(380px, calc((100vw - 32px) / var(--vr-scale)));\n height: min(460px, calc((100vh - var(--lift) - var(--edge)) / var(--vr-scale)));\n scale: var(--vr-scale); transform-origin: 100% 100%;\n background: var(--bg); color: var(--ink);\n border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px;\n box-shadow: 0 28px 70px rgba(0, 0, 0, .38), 0 2px 8px rgba(0, 0, 0, .2);\n pointer-events: auto;\n animation: vr-in .16s ease-out;\n}\n.vr.nobutton .card { bottom: var(--edge); }\n/* The dock (vt-8020 D9, drag.ts): the button in any corner; the card rests beside it \u2014 above it at the\n bottom, below it at the top \u2014 and both scale from that corner. */\n.vr[data-dock$=\"l\"] .fab, .vr[data-dock$=\"l\"] .card { right: auto; left: var(--edge); }\n.vr[data-dock^=\"t\"] .fab { bottom: auto; top: var(--edge); }\n.vr[data-dock^=\"t\"] .card { bottom: auto; top: var(--lift); }\n.vr.nobutton[data-dock^=\"t\"] .card { top: var(--edge); }\n.vr[data-dock=\"bl\"] .fab, .vr[data-dock=\"bl\"] .card { transform-origin: 0 100%; }\n.vr[data-dock=\"tr\"] .fab, .vr[data-dock=\"tr\"] .card { transform-origin: 100% 0; }\n.vr[data-dock=\"tl\"] .fab, .vr[data-dock=\"tl\"] .card { transform-origin: 0 0; }\n/* Dragged, the button rides the pointer by its left/top; dropped, it glides into its corner (FLIP on translate). */\n.vr .fab.dragging { transform-origin: 0 0; transition: none; cursor: grabbing; }\n.fab.gliding { transition: translate var(--dur-slow) var(--ease-smooth-out), transform .14s ease, box-shadow .14s ease; }\n/* Parked by marking: placed by left/top where it already is (place.ts, from its painted box) \u2014 the same size,\n so starting to mark never moves it; it glides once to a corner clear of the marks. */\n.card.parked { right: auto; bottom: auto; transition: left var(--dur-slow) var(--ease-smooth-out), top var(--dur-slow) var(--ease-smooth-out); }\n.vr .card.parked { transform-origin: 0 0; }\n@keyframes vr-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }\n.head {\n position: relative; flex: none; display: flex; align-items: center; gap: 4px;\n padding: 12px 10px 12px 18px; border-bottom: 1px solid rgba(255, 255, 255, .07);\n}\n/* Sending: a quiet sweep along the head's edge, the card's size untouched. */\n.card.busy .head::after {\n content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;\n background: linear-gradient(90deg, transparent, rgba(242, 241, 239, .6), transparent) no-repeat;\n background-size: 40% 100%; animation: vr-sweep 1.3s linear infinite;\n}\n@keyframes vr-sweep { from { background-position: -70% 0; } to { background-position: 170% 0; } }\n.body { flex: 1; min-height: 0; overflow: auto; }\n.head h2 { flex: 1; margin: 0; font-size: 16px; font-weight: 650; letter-spacing: -.01em; }\n.icon {\n display: inline-grid; place-items: center; width: 32px; height: 32px;\n border: 0; border-radius: 8px; background: transparent; color: var(--dim);\n}\n.icon:hover { background: var(--faint); color: var(--ink); }\n.icon svg { width: 16px; height: 16px; }\n.icon[aria-expanded=\"true\"] { background: var(--faint); color: var(--ink); }\n\n/* -- who you are and the menu (vt-8020 D5 A) -------------------------------- */\n.who {\n display: inline-flex; align-items: center; gap: 7px; max-width: 132px; height: 32px; padding: 0 11px 0 5px; margin-right: 2px;\n border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: transparent; color: var(--ink);\n font-size: 13px; font-weight: 600;\n}\n.who:hover, .who[aria-expanded=\"true\"] { background: var(--faint); }\n.who .av {\n display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%;\n background: #3a3940; font-size: 10.5px; font-weight: 700; letter-spacing: .02em;\n}\n.who-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.pop {\n position: absolute; top: 52px; right: 10px; z-index: 2; min-width: 240px; max-width: calc(100% - 20px); padding: 6px;\n background: #222126; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px;\n box-shadow: 0 18px 44px rgba(0, 0, 0, .42); animation: vr-in .14s ease-out;\n}\n.pop-item {\n display: flex; align-items: center; gap: 10px; width: 100%; height: 36px; padding: 0 10px; border: 0; border-radius: 8px;\n background: transparent; color: var(--ink); font-size: 13.5px; font-weight: 550; text-decoration: none; text-align: left;\n}\n.pop-item:hover:not([aria-disabled=\"true\"]), .pop-item:focus-visible { background: var(--faint); }\n/* A waiting item stays focusable (aria-disabled) so the arrows reach its reason; it only looks unavailable. */\n.pop-item[aria-disabled=\"true\"] { color: var(--dim); cursor: default; }\n.pop-item svg { width: 15px; height: 15px; flex: none; color: var(--dim); }\n/* Why an item waits (Record over an unsent report): a second line under the label, aligned past the icon. */\n.pop-item:has(.pop-why:not([hidden])) { flex-wrap: wrap; row-gap: 2px; height: auto; min-height: 36px; padding: 8px 10px; }\n.pop-why { flex-basis: 100%; padding-left: 25px; font-size: 12px; font-weight: 450; line-height: 1.35; }\n.acc-who { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px 10px; }\n.acc-who strong { font-size: 14px; }\n.acc-mail, .acc-via { color: var(--dim); font-size: 12.5px; margin: 0; }\n.acc-member { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 10px; }\n.acc-member:has(.acc-linked:not([hidden])) { padding: 8px 10px; border-top: 1px solid rgba(255, 255, 255, .07); }\n.acc-linked { margin: 0; font-size: 12.5px; color: var(--ink); }\n\n/* -- the lists: My reports, recent recordings \u2014 in the card body ------------ */\n.back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px -4px; padding: 4px; border: 0; background: none; color: var(--ink); font-size: 14px; font-weight: 650; }\n.back svg { width: 14px; height: 14px; color: var(--dim); }\n.rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }\n.row {\n display: grid; grid-template-columns: 1fr auto; grid-template-areas: \"t step\" \"age step\"; column-gap: 10px;\n padding: 9px 10px; border-radius: 10px; background: rgba(242, 241, 239, .045); color: var(--ink); text-decoration: none;\n}\na.row:hover { background: var(--faint); }\n.row-t { grid-area: t; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; font-weight: 600; }\n.age { grid-area: age; color: var(--dim); font-size: 12px; }\n.step { grid-area: step; align-self: center; padding: 3px 9px; border-radius: 999px; background: var(--bg-deep); color: var(--dim); font-size: 12px; font-weight: 600; }\n.step:empty { display: none; }\n.list-status, .list-note { margin: 8px 0; color: var(--dim); font-size: 13px; }\n\n/* -- the member link sheet (the pill's flow, vt-8020 D3) ------------------- */\n.code { margin: 6px 0 14px; font: 650 26px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; }\n.link-go { display: flex; align-items: center; gap: 16px; }\n.qr { width: 104px; height: 104px; border-radius: 8px; background: #fff; padding: 6px; }\n.pane { padding: 14px 16px 16px; }\n/* The reporter's word for it (vt-8020 D11): chips above the input, like the board composer's intents. */\n.kinds { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }\n.kinds button {\n height: 28px; padding: 0 11px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px;\n background: transparent; color: rgba(242, 241, 239, .6); font-size: 13px; font-weight: 600;\n transition: background-color var(--dur-quick) ease-out, border-color var(--dur-quick) ease-out, color var(--dur-quick) ease-out;\n}\n.kinds button:hover:not(:disabled) { color: var(--ink); }\n.kinds button[aria-checked=\"true\"] { background: rgba(242, 241, 239, .12); border-color: rgba(242, 241, 239, .26); color: var(--ink); }\n.kinds button:disabled { opacity: .5; cursor: default; }\n.prompt { display: block; margin: 0 0 8px; font-weight: 600; font-size: 14px; }\n.desc {\n display: block; width: 100%; min-height: 76px; resize: none;\n padding: 12px 14px; border-radius: 10px;\n border: 1px solid rgba(255, 255, 255, .2); background: var(--bg-deep); color: var(--ink);\n font-family: inherit; font-size: 15px; font-weight: 400; line-height: 1.45;\n}\n.desc::placeholder { color: rgba(242, 241, 239, .38); }\n.desc:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }\n.attached { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; color: var(--dim); font-size: 13px; }\n.attached svg { width: 14px; height: 14px; flex: none; }\n.link {\n display: inline-flex; align-items: center; gap: 3px; padding: 0; border: 0; background: none;\n color: rgba(242, 241, 239, .86); font-weight: 600; font-size: 13px;\n}\n.link:hover { color: #fff; text-decoration: underline; }\n.link svg { width: 12px; height: 12px; transition: transform .14s ease; }\n.link[aria-expanded=\"true\"] svg { transform: rotate(180deg); }\n.included { margin: 10px 0 0; padding: 10px 12px 10px 28px; border-radius: 10px; background: var(--bg-deep); color: var(--dim); font-size: 13px; }\n.included li { margin: 2px 0; }\n/* One numbered line per mark: its note, typed in the card, never floating on the page. */\n.lines-wrap { margin-top: 10px; }\n.lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }\n.ln {\n display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 4px 0 9px;\n border-radius: 10px; background: rgba(242, 241, 239, .045); border: 1px solid transparent;\n}\n.ln:focus-within { background: var(--bg-deep); border-color: rgba(242, 241, 239, .36); }\n.ln-n {\n display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%;\n background: var(--accent); color: #fff; font-size: 11px; font-weight: 750; box-shadow: 0 0 0 1.5px #fff;\n}\n.ln.hide .ln-n { background: #3a3940; }\n.ln-t {\n flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: transparent; color: var(--ink);\n font-family: inherit; font-size: 13.5px;\n}\n.ln-t::placeholder { color: rgba(242, 241, 239, .4); }\n.ln-t:focus, .ln-t:focus-visible { outline: none; }\n.ln-x { display: grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: 7px; background: transparent; color: rgba(242, 241, 239, .5); }\n.ln-x:hover:not(:disabled) { background: var(--faint); color: var(--ink); }\n.ln-x svg { width: 11px; height: 11px; }\n.ln-empty { margin: 0; padding: 11px 13px; border: 1px dashed rgba(242, 241, 239, .14); border-radius: 10px; color: rgba(242, 241, 239, .46); font-size: 13px; }\n.notify { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--ink); cursor: pointer; }\n.notify input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }\n.error { margin: 12px 0 0; color: #ff9aa9; font-size: 13px; }\n/* The bottom actions: attachments and Show us where on the left, Send on the right. */\n.foot { flex: none; display: flex; align-items: center; gap: 4px; padding: 10px 12px 12px; border-top: 1px solid rgba(255, 255, 255, .07); }\n.foot .send { margin-left: auto; }\n.icon:disabled { opacity: .45; cursor: default; background: transparent; color: var(--dim); }\n/* Attached files (vt-8020 D9): chips in a tray above the foot \u2014 it scrolls, the card never grows. */\n.tray { flex: none; max-height: 84px; overflow: auto; padding: 9px 12px 0; border-top: 1px solid rgba(255, 255, 255, .07); }\n.tray:not([hidden]) + .foot { border-top: 0; }\n.file-note { margin: 0 0 7px; color: #ffc1ca; font-size: 12.5px; }\n.files { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }\n.file { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; height: 28px; padding: 0 2px 0 10px; border-radius: 8px; background: rgba(242, 241, 239, .07); font-size: 12.5px; }\n.file-name { min-width: 0; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }\n.file-size { flex: none; color: var(--dim); }\n.file .ln-x { width: 22px; height: 22px; }\n/* A file dragged over the card: it will land here. */\n.card.dropping { outline: 2px dashed rgba(242, 241, 239, .5); outline-offset: -7px; }\n.where {\n display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 9px;\n border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: var(--ink);\n font-size: 13px; font-weight: 600;\n}\n.where:hover:not(:disabled) { background: var(--faint); }\n.where[aria-pressed=\"true\"] { border-color: var(--accent); background: var(--accent-soft); }\n.where svg { width: 14px; height: 14px; }\n.where:disabled { opacity: .45; cursor: default; }\n.send {\n padding: 10px 22px; border: 0; border-radius: 10px; background: var(--accent); color: #fff;\n font-size: 15px; font-weight: 650;\n}\n.send:hover:not(:disabled) { background: #e43a57; }\n.send:disabled { opacity: .45; cursor: default; }\n\n/* -- settings --------------------------------------------------------------- */\n/* Scoped to the pane: a bare .row would restyle the lists' rows (their grid) above. */\n.settings .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }\n.settings .label { font-weight: 600; }\n.size-row { margin-top: 18px; }\n.size-row .seg button { padding: 0 12px; font-size: 13px; }\n.tech-wrap { margin-top: 18px; }\n.tech { display: grid; grid-template-columns: auto 1fr; gap: 5px 14px; margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--bg-deep); font-size: 12.5px; }\n.tech dt { color: var(--dim); }\n.tech dd { margin: 0; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }\n.bind {\n min-width: 120px; padding: 8px 12px; border-radius: 9px; text-align: center;\n border: 1px solid rgba(255, 255, 255, .2); background: var(--bg-deep);\n font: 500 13px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n}\n.bind[aria-pressed=\"true\"] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); color: var(--dim); }\n.hint, .reason { margin: 10px 0 0; color: var(--dim); font-size: 13px; }\n.reason { color: #ffc1ca; }\n.settings-foot { display: flex; justify-content: space-between; margin-top: 16px; }\n\n/* -- sent ------------------------------------------------------------------- */\n.sent-head { display: flex; align-items: center; gap: 10px; }\n.sent-head h3 { margin: 0; font-size: 17px; font-weight: 650; }\n.sent-head svg { width: 22px; height: 22px; color: #4ade80; flex: none; }\n.sent-body { margin: 8px 0 0 32px; color: var(--dim); }\n.sent-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 0 32px; }\n.see {\n display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 9px;\n background: #fff; color: #131216; font-weight: 650; font-size: 13px; text-decoration: none;\n}\n\n/* -- marking: the frozen page ---------------------------------------------- */\n.mark {\n position: fixed; inset: 0; pointer-events: auto;\n background: rgba(14, 13, 16, .16); cursor: crosshair;\n touch-action: none; user-select: none; -webkit-user-select: none;\n}\n.ink { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }\n.ink .stroke { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }\n.ink .veil { fill: #1b1b1f; }\n.ink .veil-label { fill: rgba(255, 255, 255, .7); font: 600 12px -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif; }\n.ink .draft { opacity: .85; }\n/* A pin is the mark's number on the page; its \u2715 shows while the pin is hovered or focused. */\n.pin { position: absolute; display: flex; align-items: center; gap: 4px; cursor: default; }\n.pin .num {\n display: grid; place-items: center; width: 24px; height: 24px; border: 0; border-radius: 12px;\n background: var(--accent); color: #fff; font-size: 12px; font-weight: 750;\n box-shadow: 0 2px 6px rgba(0, 0, 0, .3), 0 0 0 2px #fff;\n}\n.pin .rm {\n display: grid; place-items: center; width: 22px; height: 22px; border: 0; border-radius: 11px;\n background: #151417; color: rgba(255, 255, 255, .7); box-shadow: 0 2px 6px rgba(0, 0, 0, .3);\n opacity: 0; transition: opacity var(--dur-quick) ease-out;\n}\n.pin:hover .rm, .pin:focus-within .rm { opacity: 1; }\n.pin .rm:hover { color: #fff; }\n.pin .rm svg { width: 11px; height: 11px; }\n\n/* The marking bar (vt-8020 D6): translucent glass at the top, the shape as a segmented control. */\n.tb {\n /* translate (not transform): it applies after the scale, so the scaled bar stays centred. */\n position: fixed; left: 50%; top: 14px; translate: -50% 0;\n scale: var(--vr-scale); transform-origin: 50% 0;\n display: flex; align-items: center; gap: 4px; padding: 5px;\n border-radius: 14px; border: 1px solid rgba(255, 255, 255, .08);\n background: rgba(30, 29, 34, .68);\n -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);\n box-shadow: 0 14px 36px rgba(0, 0, 0, .36), 0 2px 6px rgba(0, 0, 0, .18), 0 1px 0 rgba(255, 255, 255, .05) inset;\n color: var(--ink); cursor: default; white-space: nowrap;\n}\n.tb-lead { padding: 0 12px 0 11px; color: rgba(242, 241, 239, .56); font-size: 13.5px; font-weight: 500; }\n.seg { position: relative; display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, .06); }\n.seg button {\n position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px;\n height: 30px; padding: 0 13px 0 11px; border: 0; border-radius: 8px; background: transparent;\n color: rgba(242, 241, 239, .56); font-size: 13.5px; font-weight: 600;\n transition: color var(--dur-fast) var(--ease-smooth-out);\n}\n.seg button svg { width: 15px; height: 15px; flex: none; }\n.seg button:hover { color: rgba(242, 241, 239, .86); }\n.seg button[aria-checked=\"true\"] { color: var(--ink); }\n.seg-ind {\n position: absolute; top: 3px; left: 0; z-index: 0; width: 0; height: 30px; border-radius: 8px;\n background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .115));\n box-shadow: 0 1px 0 rgba(255, 255, 255, .13) inset, 0 2px 7px rgba(0, 0, 0, .38), 0 0 0 1px rgba(0, 0, 0, .22);\n transition: transform var(--dur-fast) var(--ease-smooth-out), width var(--dur-fast) var(--ease-smooth-out);\n pointer-events: none; opacity: 0;\n}\n.seg.measured .seg-ind { opacity: 1; }\n/* Before the indicator is measured, the picked segment carries the raised fill itself. */\n.seg:not(.measured) button[aria-checked=\"true\"] { background: rgba(255, 255, 255, .15); }\n.tb-sep { width: 1px; height: 20px; margin: 0 5px; background: rgba(255, 255, 255, .1); }\n.tb-quiet { height: 32px; padding: 0 13px; border: 0; border-radius: 9px; background: transparent; color: rgba(242, 241, 239, .72); font-size: 13.5px; font-weight: 600; }\n.tb-quiet:hover { background: rgba(255, 255, 255, .07); color: var(--ink); }\n.tb-confirm { display: inline-flex; align-items: center; gap: 4px; }\n.tb-ask { padding: 0 6px 0 4px; font-size: 13.5px; font-weight: 600; }\n.tb-discard { height: 32px; padding: 0 13px; border: 0; border-radius: 9px; background: var(--accent); color: #fff; font-size: 13.5px; font-weight: 650; }\n.tb-discard:hover { background: #e43a57; }\n\n/* -- the coach card (D21): stays beside the pointer until mark 1 exists --- */\n.coach {\n position: fixed; width: 300px; padding: 14px 16px 15px;\n background: #151417; color: #f2f1ef; border-radius: 14px;\n box-shadow: 0 18px 44px rgba(0, 0, 0, .38), 0 0 0 1px rgba(255, 255, 255, .1) inset;\n pointer-events: none;\n transition: opacity .12s ease;\n}\n.coach.pressing { opacity: .55; }\n.coach svg { display: block; width: 100%; height: 64px; border-radius: 9px; background: #222126; }\n.coach p { margin: 11px 0 0; font-size: 15px; line-height: 1.4; }\n.coach p + p { margin-top: 2px; color: rgba(242, 241, 239, .66); font-size: 13px; }\n.coach p.keys { margin-top: 8px; font-size: 12px; color: rgba(242, 241, 239, .5); }\n.mark:focus { outline: none; }\n.mark:focus-visible { outline: 3px solid rgba(230, 69, 95, .65); outline-offset: -3px; }\n.coach .bar { fill: #5b5a61; }\n.coach .loop { fill: none; stroke: #e6455f; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 200; stroke-dashoffset: 200; animation: vr-draw 2.8s ease-in-out infinite; }\n.coach .hold { fill: none; stroke: #fff; stroke-width: 1.5; opacity: 0; animation: vr-hold 2.8s ease-in-out infinite; }\n@keyframes vr-draw { 0%, 18% { stroke-dashoffset: 200; } 72%, 100% { stroke-dashoffset: 0; } 90% { opacity: 1; } 100% { opacity: 0; } }\n@keyframes vr-hold { 0%, 8% { opacity: 0; } 14%, 72% { opacity: .9; } 80%, 100% { opacity: 0; } }\n\n@media (max-width: 520px) {\n .vr { --edge: 16px; --lift: calc(var(--edge) + 68px * var(--vr-scale)); }\n .fab { padding: 13px 18px; font-size: 16px; }\n .tb { max-width: calc((100vw - 16px) / var(--vr-scale)); overflow-x: auto; }\n .tb-lead { display: none; }\n .seg button { padding: 0 9px; }\n .coach { width: 260px; }\n}\n/* Every motion of the face stops here: the menu rises with the card's vr-in, the coach dims as you press, the chevron turns. */\n@media (prefers-reduced-motion: reduce) {\n .card, .pop { animation: none; }\n .card.parked, .seg-ind, .seg button, .kinds button, .pin .rm, .link svg, .coach { transition: none; }\n .card.busy .head::after { animation: none; }\n .fab, .fab.gliding { transition: none; }\n .coach .loop { animation: none; stroke-dashoffset: 0; }\n .coach .hold { animation: none; opacity: .9; }\n}\n";
7
+ export declare const REPORT_CSS = "\n:host { all: initial; }\n.vr {\n --ink: #f2f1ef;\n --dim: rgba(242, 241, 239, .62);\n --faint: rgba(242, 241, 239, .14);\n --bg: #1a191d;\n --bg-deep: #121115;\n --accent: #dc2f4c;\n --accent-soft: rgba(220, 47, 76, .28);\n /* Motion (transitions-dev tokens): a sliding indicator rides --dur-fast, the card's one glide --dur-slow. */\n --dur-quick: 150ms;\n --dur-fast: 250ms;\n --dur-slow: 400ms;\n --ease-smooth-out: cubic-bezier(0.22, 1, 0.36, 1);\n /* Size (vt-8020 D9, settings.ts): ONE factor, written by the widget, scales the button, the card and\n the marking bar \u2014 fonts and boxes together \u2014 each from its anchored corner. */\n --vr-scale: 1;\n /* The dock: the gap to the viewport edge, and where the card rests \u2014 clear of the button above or below it. */\n --edge: 24px;\n --lift: calc(var(--edge) + 72px * var(--vr-scale));\n font: 400 14px/1.45 -apple-system, BlinkMacSystemFont, \"Segoe UI\", Inter, Roboto, \"Helvetica Neue\", Arial, sans-serif;\n color: var(--ink);\n -webkit-font-smoothing: antialiased;\n letter-spacing: normal;\n text-align: left;\n}\n.vr *, .vr *::before, .vr *::after { box-sizing: border-box; }\n.vr [hidden] { display: none !important; }\n.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }\nbutton { font: inherit; color: inherit; cursor: pointer; }\nbutton:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {\n outline: 2px solid #fff; outline-offset: 2px;\n}\n\n/* -- the floating button -------------------------------------------------- */\n.fab {\n position: fixed; right: var(--edge); bottom: var(--edge);\n scale: var(--vr-scale); transform-origin: 100% 100%;\n /* A press can become a drag to another corner: the page never scrolls under it. */\n touch-action: none;\n display: inline-flex; align-items: center; gap: 12px;\n padding: 15px 22px; border: 0; border-radius: 999px;\n background: #131216; color: #fff;\n font-size: 17px; font-weight: 600; letter-spacing: -.005em;\n box-shadow: 0 12px 32px rgba(0, 0, 0, .28), 0 0 0 1px rgba(255, 255, 255, .08) inset;\n pointer-events: auto;\n transition: transform .14s ease, box-shadow .14s ease;\n}\n.fab:hover { transform: translateY(-1px); box-shadow: 0 16px 36px rgba(0, 0, 0, .32), 0 0 0 1px rgba(255, 255, 255, .12) inset; }\n.fab:active { transform: translateY(0); }\nkbd {\n font: 500 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n padding: 4px 7px; border-radius: 7px;\n border: 1px solid rgba(255, 255, 255, .26); color: rgba(255, 255, 255, .78);\n}\n\n/* -- the card: ONE size from drafting to thanks (vt-8020 D10) ---------------- */\n.card {\n position: fixed; right: var(--edge); bottom: var(--lift);\n display: flex; flex-direction: column;\n /* The box is divided by the scale so the painted card (scale \u00D7 box) still fits the viewport. */\n width: min(380px, calc((100vw - 32px) / var(--vr-scale)));\n height: min(460px, calc((100vh - var(--lift) - var(--edge)) / var(--vr-scale)));\n scale: var(--vr-scale); transform-origin: 100% 100%;\n background: var(--bg); color: var(--ink);\n border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px;\n box-shadow: 0 28px 70px rgba(0, 0, 0, .38), 0 2px 8px rgba(0, 0, 0, .2);\n pointer-events: auto;\n animation: vr-in .16s ease-out;\n}\n.vr.nobutton .card { bottom: var(--edge); }\n/* The dock (vt-8020 D9, drag.ts): the button in any corner; the card rests beside it \u2014 above it at the\n bottom, below it at the top \u2014 and both scale from that corner. */\n.vr[data-dock$=\"l\"] .fab, .vr[data-dock$=\"l\"] .card { right: auto; left: var(--edge); }\n.vr[data-dock^=\"t\"] .fab { bottom: auto; top: var(--edge); }\n.vr[data-dock^=\"t\"] .card { bottom: auto; top: var(--lift); }\n.vr.nobutton[data-dock^=\"t\"] .card { top: var(--edge); }\n.vr[data-dock=\"bl\"] .fab, .vr[data-dock=\"bl\"] .card { transform-origin: 0 100%; }\n.vr[data-dock=\"tr\"] .fab, .vr[data-dock=\"tr\"] .card { transform-origin: 100% 0; }\n.vr[data-dock=\"tl\"] .fab, .vr[data-dock=\"tl\"] .card { transform-origin: 0 0; }\n/* Dragged, the button rides the pointer by its left/top; dropped, it glides into its corner (FLIP on translate). */\n.vr .fab.dragging { transform-origin: 0 0; transition: none; cursor: grabbing; }\n.fab.gliding { transition: translate var(--dur-slow) var(--ease-smooth-out), transform .14s ease, box-shadow .14s ease; }\n/* Parked by marking: placed by left/top where it already is (place.ts, from its painted box) \u2014 the same size,\n so starting to mark never moves it; it glides once to a corner clear of the marks. */\n.card.parked { right: auto; bottom: auto; transition: left var(--dur-slow) var(--ease-smooth-out), top var(--dur-slow) var(--ease-smooth-out); }\n.vr .card.parked { transform-origin: 0 0; }\n@keyframes vr-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }\n.head {\n position: relative; flex: none; display: flex; align-items: center; gap: 4px;\n padding: 12px 10px 12px 18px; border-bottom: 1px solid rgba(255, 255, 255, .07);\n}\n/* Sending: a quiet sweep along the head's edge, the card's size untouched. */\n.card.busy .head::after {\n content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;\n background: linear-gradient(90deg, transparent, rgba(242, 241, 239, .6), transparent) no-repeat;\n background-size: 40% 100%; animation: vr-sweep 1.3s linear infinite;\n}\n@keyframes vr-sweep { from { background-position: -70% 0; } to { background-position: 170% 0; } }\n.body { flex: 1; min-height: 0; overflow: auto; }\n.head h2 { flex: 1; margin: 0; font-size: 16px; font-weight: 650; letter-spacing: -.01em; }\n.icon {\n display: inline-grid; place-items: center; width: 32px; height: 32px;\n border: 0; border-radius: 8px; background: transparent; color: var(--dim);\n}\n.icon:hover { background: var(--faint); color: var(--ink); }\n.icon svg { width: 16px; height: 16px; }\n.icon[aria-expanded=\"true\"] { background: var(--faint); color: var(--ink); }\n\n/* -- who you are and the menu (vt-8020 D5 A) -------------------------------- */\n.who {\n display: inline-flex; align-items: center; gap: 7px; max-width: 132px; height: 32px; padding: 0 11px 0 5px; margin-right: 2px;\n border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: transparent; color: var(--ink);\n font-size: 13px; font-weight: 600;\n}\n.who:hover, .who[aria-expanded=\"true\"] { background: var(--faint); }\n.who .av {\n display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%;\n background: #3a3940; font-size: 10.5px; font-weight: 700; letter-spacing: .02em;\n}\n.who-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.pop {\n position: absolute; top: 52px; right: 10px; z-index: 2; min-width: 240px; max-width: calc(100% - 20px); padding: 6px;\n background: #222126; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px;\n box-shadow: 0 18px 44px rgba(0, 0, 0, .42); animation: vr-in .14s ease-out;\n}\n.pop-item {\n display: flex; align-items: center; gap: 10px; width: 100%; height: 36px; padding: 0 10px; border: 0; border-radius: 8px;\n background: transparent; color: var(--ink); font-size: 13.5px; font-weight: 550; text-decoration: none; text-align: left;\n}\n.pop-item:hover:not([aria-disabled=\"true\"]), .pop-item:focus-visible { background: var(--faint); }\n/* A waiting item stays focusable (aria-disabled) so the arrows reach its reason; it only looks unavailable. */\n.pop-item[aria-disabled=\"true\"] { color: var(--dim); cursor: default; }\n.pop-item svg { width: 15px; height: 15px; flex: none; color: var(--dim); }\n/* Why an item waits (Record over an unsent report): a second line under the label, aligned past the icon. */\n.pop-item:has(.pop-why:not([hidden])) { flex-wrap: wrap; row-gap: 2px; height: auto; min-height: 36px; padding: 8px 10px; }\n.pop-why { flex-basis: 100%; padding-left: 25px; font-size: 12px; font-weight: 450; line-height: 1.35; }\n.acc-who { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px 10px; }\n.acc-who strong { font-size: 14px; }\n.acc-mail, .acc-via { color: var(--dim); font-size: 12.5px; margin: 0; }\n.acc-member { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 10px; }\n.acc-member:has(.acc-linked:not([hidden])) { padding: 8px 10px; border-top: 1px solid rgba(255, 255, 255, .07); }\n.acc-linked { margin: 0; font-size: 12.5px; color: var(--ink); }\n\n/* -- the lists: My reports, recent recordings \u2014 in the card body ------------ */\n.back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px -4px; padding: 4px; border: 0; background: none; color: var(--ink); font-size: 14px; font-weight: 650; }\n.back svg { width: 14px; height: 14px; color: var(--dim); }\n.rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }\n.row {\n display: grid; grid-template-columns: 1fr auto; grid-template-areas: \"t step\" \"age step\"; column-gap: 10px;\n padding: 9px 10px; border-radius: 10px; background: rgba(242, 241, 239, .045); color: var(--ink); text-decoration: none;\n}\na.row:hover { background: var(--faint); }\n.row-t { grid-area: t; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; font-weight: 600; }\n.age { grid-area: age; color: var(--dim); font-size: 12px; }\n.step { grid-area: step; align-self: center; padding: 3px 9px; border-radius: 999px; background: var(--bg-deep); color: var(--dim); font-size: 12px; font-weight: 600; }\n.step:empty { display: none; }\n.list-status, .list-note { margin: 8px 0; color: var(--dim); font-size: 13px; }\n\n/* -- the member link sheet (the pill's flow, vt-8020 D3) ------------------- */\n.code { margin: 6px 0 14px; font: 650 26px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; }\n.link-go { display: flex; align-items: center; gap: 16px; }\n.qr { width: 104px; height: 104px; border-radius: 8px; background: #fff; padding: 6px; }\n.pane { padding: 14px 16px 16px; }\n/* The reporter's word for it (vt-8020 D11): chips above the input, like the board composer's intents. */\n.kinds { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }\n.kinds button {\n height: 28px; padding: 0 11px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px;\n background: transparent; color: rgba(242, 241, 239, .6); font-size: 13px; font-weight: 600;\n transition: background-color var(--dur-quick) ease-out, border-color var(--dur-quick) ease-out, color var(--dur-quick) ease-out;\n}\n.kinds button:hover:not(:disabled) { color: var(--ink); }\n.kinds button[aria-checked=\"true\"] { background: rgba(242, 241, 239, .12); border-color: rgba(242, 241, 239, .26); color: var(--ink); }\n.kinds button:disabled { opacity: .5; cursor: default; }\n.prompt { display: block; margin: 0 0 8px; font-weight: 600; font-size: 14px; }\n.desc {\n display: block; width: 100%; min-height: 76px; resize: none;\n padding: 12px 14px; border-radius: 10px;\n border: 1px solid rgba(255, 255, 255, .2); background: var(--bg-deep); color: var(--ink);\n font-family: inherit; font-size: 15px; font-weight: 400; line-height: 1.45;\n}\n.desc::placeholder { color: rgba(242, 241, 239, .38); }\n.desc:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }\n.attached { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; color: var(--dim); font-size: 13px; }\n.attached svg { width: 14px; height: 14px; flex: none; }\n.link {\n display: inline-flex; align-items: center; gap: 3px; padding: 0; border: 0; background: none;\n color: rgba(242, 241, 239, .86); font-weight: 600; font-size: 13px;\n}\n.link:hover { color: #fff; text-decoration: underline; }\n.link svg { width: 12px; height: 12px; transition: transform .14s ease; }\n.link[aria-expanded=\"true\"] svg { transform: rotate(180deg); }\n.included { margin: 10px 0 0; padding: 10px 12px 10px 28px; border-radius: 10px; background: var(--bg-deep); color: var(--dim); font-size: 13px; }\n.included li { margin: 2px 0; }\n/* One numbered line per mark: its note, typed in the card, never floating on the page. */\n.lines-wrap { margin-top: 10px; }\n.lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }\n.ln {\n display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 4px 0 9px;\n border-radius: 10px; background: rgba(242, 241, 239, .045); border: 1px solid transparent;\n}\n.ln:focus-within { background: var(--bg-deep); border-color: rgba(242, 241, 239, .36); }\n.ln-n {\n display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%;\n background: var(--accent); color: #fff; font-size: 11px; font-weight: 750; box-shadow: 0 0 0 1.5px #fff;\n}\n.ln.hide .ln-n { background: #3a3940; }\n.ln-t {\n flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: transparent; color: var(--ink);\n font-family: inherit; font-size: 13.5px;\n}\n.ln-t::placeholder { color: rgba(242, 241, 239, .4); }\n.ln-t:focus, .ln-t:focus-visible { outline: none; }\n.ln-x { display: grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: 7px; background: transparent; color: rgba(242, 241, 239, .5); }\n.ln-x:hover:not(:disabled) { background: var(--faint); color: var(--ink); }\n.ln-x svg { width: 11px; height: 11px; }\n.ln-empty { margin: 0; padding: 11px 13px; border: 1px dashed rgba(242, 241, 239, .14); border-radius: 10px; color: rgba(242, 241, 239, .46); font-size: 13px; }\n.notify { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--ink); cursor: pointer; }\n.notify input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }\n.error { margin: 12px 0 0; color: #ff9aa9; font-size: 13px; }\n/* The bottom actions: attachments and Show us where on the left, Send on the right. */\n.foot { flex: none; display: flex; align-items: center; gap: 4px; padding: 10px 12px 12px; border-top: 1px solid rgba(255, 255, 255, .07); }\n.foot .send { margin-left: auto; }\n.icon:disabled { opacity: .45; cursor: default; background: transparent; color: var(--dim); }\n/* Attached files (vt-8020 D9): chips in a tray above the foot \u2014 it scrolls, the card never grows. */\n.tray { flex: none; max-height: 84px; overflow: auto; padding: 9px 12px 0; border-top: 1px solid rgba(255, 255, 255, .07); }\n.tray:not([hidden]) + .foot { border-top: 0; }\n.file-note { margin: 0 0 7px; color: #ffc1ca; font-size: 12.5px; }\n.files { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }\n.file { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; height: 28px; padding: 0 2px 0 10px; border-radius: 8px; background: rgba(242, 241, 239, .07); font-size: 12.5px; }\n.file-name { min-width: 0; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }\n.file-size { flex: none; color: var(--dim); }\n.file .ln-x { width: 22px; height: 22px; }\n/* A file dragged over the card: it will land here. */\n.card.dropping { outline: 2px dashed rgba(242, 241, 239, .5); outline-offset: -7px; }\n.where {\n display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 9px;\n border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: var(--ink);\n font-size: 13px; font-weight: 600;\n}\n.where:hover:not(:disabled) { background: var(--faint); }\n.where[aria-pressed=\"true\"] { border-color: var(--accent); background: var(--accent-soft); }\n.where svg { width: 14px; height: 14px; }\n.where:disabled { opacity: .45; cursor: default; }\n.send {\n padding: 10px 22px; border: 0; border-radius: 10px; background: var(--accent); color: #fff;\n font-size: 15px; font-weight: 650;\n}\n.send:hover:not(:disabled) { background: #e43a57; }\n.send:disabled { opacity: .45; cursor: default; }\n\n/* -- settings --------------------------------------------------------------- */\n/* Scoped to the pane: a bare .row would restyle the lists' rows (their grid) above. */\n.settings .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }\n.settings .label { font-weight: 600; }\n.size-row { margin-top: 18px; }\n.size-row .seg button { padding: 0 12px; font-size: 13px; }\n.tips-row { margin-top: 8px; }\n.tech-wrap { margin-top: 18px; }\n.tech { display: grid; grid-template-columns: auto 1fr; gap: 5px 14px; margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--bg-deep); font-size: 12.5px; }\n.tech dt { color: var(--dim); }\n.tech dd { margin: 0; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }\n.bind {\n min-width: 120px; padding: 8px 12px; border-radius: 9px; text-align: center;\n border: 1px solid rgba(255, 255, 255, .2); background: var(--bg-deep);\n font: 500 13px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n}\n.bind[aria-pressed=\"true\"] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); color: var(--dim); }\n.hint, .reason { margin: 10px 0 0; color: var(--dim); font-size: 13px; }\n.reason { color: #ffc1ca; }\n.settings-foot { display: flex; justify-content: space-between; margin-top: 16px; }\n\n/* -- sent ------------------------------------------------------------------- */\n.sent-head { display: flex; align-items: center; gap: 10px; }\n.sent-head h3 { margin: 0; font-size: 17px; font-weight: 650; }\n.sent-head svg { width: 22px; height: 22px; color: #4ade80; flex: none; }\n.sent-body { margin: 8px 0 0 32px; color: var(--dim); }\n.sent-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 0 32px; }\n.see {\n display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 9px;\n background: #fff; color: #131216; font-weight: 650; font-size: 13px; text-decoration: none;\n}\n\n/* -- marking: the frozen page ---------------------------------------------- */\n.mark {\n position: fixed; inset: 0; pointer-events: auto;\n background: rgba(14, 13, 16, .16); cursor: crosshair;\n touch-action: none; user-select: none; -webkit-user-select: none;\n}\n.ink { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }\n.ink .stroke { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }\n.ink .veil { fill: #1b1b1f; }\n.ink .veil-label { fill: rgba(255, 255, 255, .7); font: 600 12px -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif; }\n.ink .draft { opacity: .85; }\n/* A pin is the mark's number on the page; its \u2715 shows while the pin is hovered or focused. */\n.pin { position: absolute; display: flex; align-items: center; gap: 4px; cursor: default; }\n.pin .num {\n display: grid; place-items: center; width: 24px; height: 24px; border: 0; border-radius: 12px;\n background: var(--accent); color: #fff; font-size: 12px; font-weight: 750;\n box-shadow: 0 2px 6px rgba(0, 0, 0, .3), 0 0 0 2px #fff;\n}\n.pin .rm {\n display: grid; place-items: center; width: 22px; height: 22px; border: 0; border-radius: 11px;\n background: #151417; color: rgba(255, 255, 255, .7); box-shadow: 0 2px 6px rgba(0, 0, 0, .3);\n opacity: 0; transition: opacity var(--dur-quick) ease-out;\n}\n.pin:hover .rm, .pin:focus-within .rm { opacity: 1; }\n.pin .rm:hover { color: #fff; }\n.pin .rm svg { width: 11px; height: 11px; }\n\n/* The marking bar (vt-8020 D6): translucent glass at the top, the shape as a segmented control. */\n.tb {\n /* translate (not transform): it applies after the scale, so the scaled bar stays centred. */\n position: fixed; left: 50%; top: 14px; translate: -50% 0;\n scale: var(--vr-scale); transform-origin: 50% 0;\n display: flex; align-items: center; gap: 4px; padding: 5px;\n border-radius: 14px; border: 1px solid rgba(255, 255, 255, .08);\n background: rgba(30, 29, 34, .68);\n -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);\n box-shadow: 0 14px 36px rgba(0, 0, 0, .36), 0 2px 6px rgba(0, 0, 0, .18), 0 1px 0 rgba(255, 255, 255, .05) inset;\n color: var(--ink); cursor: default; white-space: nowrap;\n}\n.tb-lead { padding: 0 12px 0 11px; color: rgba(242, 241, 239, .56); font-size: 13.5px; font-weight: 500; }\n.seg { position: relative; display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, .06); }\n.seg button {\n position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px;\n height: 30px; padding: 0 13px 0 11px; border: 0; border-radius: 8px; background: transparent;\n color: rgba(242, 241, 239, .56); font-size: 13.5px; font-weight: 600;\n transition: color var(--dur-fast) var(--ease-smooth-out);\n}\n.seg button svg { width: 15px; height: 15px; flex: none; }\n.seg button:hover { color: rgba(242, 241, 239, .86); }\n.seg button[aria-checked=\"true\"] { color: var(--ink); }\n.seg-ind {\n position: absolute; top: 3px; left: 0; z-index: 0; width: 0; height: 30px; border-radius: 8px;\n background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .115));\n box-shadow: 0 1px 0 rgba(255, 255, 255, .13) inset, 0 2px 7px rgba(0, 0, 0, .38), 0 0 0 1px rgba(0, 0, 0, .22);\n transition: transform var(--dur-fast) var(--ease-smooth-out), width var(--dur-fast) var(--ease-smooth-out);\n pointer-events: none; opacity: 0;\n}\n.seg.measured .seg-ind { opacity: 1; }\n/* Before the indicator is measured, the picked segment carries the raised fill itself. */\n.seg:not(.measured) button[aria-checked=\"true\"] { background: rgba(255, 255, 255, .15); }\n.tb-sep { width: 1px; height: 20px; margin: 0 5px; background: rgba(255, 255, 255, .1); }\n.tb-quiet { height: 32px; padding: 0 13px; border: 0; border-radius: 9px; background: transparent; color: rgba(242, 241, 239, .72); font-size: 13.5px; font-weight: 600; }\n.tb-quiet:hover { background: rgba(255, 255, 255, .07); color: var(--ink); }\n.tb-confirm { display: inline-flex; align-items: center; gap: 4px; }\n.tb-ask { padding: 0 6px 0 4px; font-size: 13.5px; font-weight: 600; }\n.tb-discard { height: 32px; padding: 0 13px; border: 0; border-radius: 9px; background: var(--accent); color: #fff; font-size: 13.5px; font-weight: 650; }\n.tb-discard:hover { background: #e43a57; }\n\n/* -- the coach (D21, vt-8020): on the card's edge that faces the open page (place.ts coachSide), never over it -- */\n.coach {\n position: absolute; z-index: 3; padding: 10px 12px 11px;\n /* Drawing goes on through it (to the marking layer under the card): only its button takes a press. */\n pointer-events: none;\n background: #151417; color: #f2f1ef; border-radius: 14px;\n box-shadow: 0 18px 44px rgba(0, 0, 0, .38), 0 0 0 1px rgba(255, 255, 255, .1) inset;\n transition: opacity .12s ease;\n}\n.coach[data-side=\"above\"] { left: 0; right: 0; bottom: calc(100% + 10px); }\n.coach[data-side=\"below\"] { left: 0; right: 0; top: calc(100% + 10px); }\n.coach[data-side=\"left\"] { right: calc(100% + 10px); top: 0; width: 300px; }\n.coach[data-side=\"right\"] { left: calc(100% + 10px); top: 0; width: 300px; }\n/* No room around the card (a phone): over its top, the words without the art. */\n.coach[data-side=\"over\"] { left: 10px; right: 10px; top: 58px; }\n.coach[data-side=\"over\"] .coach-art { display: none; }\n.coach.pressing { opacity: .55; }\n.coach svg { display: block; width: 100%; height: 52px; border-radius: 9px; background: #222126; }\n.coach p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.38; }\n.coach p + p { margin-top: 2px; color: rgba(242, 241, 239, .66); font-size: 13px; }\n.coach-ok {\n pointer-events: auto; margin-top: 8px; height: 28px; padding: 0 12px; border: 0; border-radius: 8px;\n background: rgba(255, 255, 255, .09); color: #f2f1ef; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;\n}\n.coach-ok:hover { background: rgba(255, 255, 255, .14); }\n.mark:focus { outline: none; }\n.mark:focus-visible { outline: 3px solid rgba(230, 69, 95, .65); outline-offset: -3px; }\n/* The art runs on SMIL (widget.ts coachArt): one clock moves the pointer and grows the shape. */\n.coach .bar { fill: #5b5a61; }\n.coach .loop { fill: none; stroke: #e6455f; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }\n.coach .veil { fill: #3a3940; stroke: rgba(255, 255, 255, .2); stroke-width: 1; }\n.coach .hold { fill: none; stroke: #fff; stroke-width: 1.5; }\n.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }\n.switch {\n position: relative; flex: none; width: 38px; height: 22px; padding: 0; border: 0; border-radius: 999px;\n background: rgba(255, 255, 255, .16); cursor: pointer; transition: background .15s ease;\n}\n.switch[aria-checked=\"true\"] { background: var(--accent); }\n.switch .knob { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: translate .15s ease; }\n.switch[aria-checked=\"true\"] .knob { translate: 16px 0; }\n\n@media (max-width: 520px) {\n .vr { --edge: 16px; --lift: calc(var(--edge) + 68px * var(--vr-scale)); }\n .fab { padding: 13px 18px; font-size: 16px; }\n .tb { max-width: calc((100vw - 16px) / var(--vr-scale)); overflow-x: auto; }\n .tb-lead { display: none; }\n .seg button { padding: 0 9px; }\n}\n/* Every motion of the face stops here: the menu rises with the card's vr-in, the coach dims as you press, the chevron turns. */\n@media (prefers-reduced-motion: reduce) {\n .card, .pop { animation: none; }\n .card.parked, .seg-ind, .seg button, .kinds button, .pin .rm, .link svg, .coach, .switch, .switch .knob { transition: none; }\n .card.busy .head::after { animation: none; }\n .fab, .fab.gliding { transition: none; }\n}\n";
@@ -262,6 +262,7 @@ a.row:hover { background: var(--faint); }
262
262
  .settings .label { font-weight: 600; }
263
263
  .size-row { margin-top: 18px; }
264
264
  .size-row .seg button { padding: 0 12px; font-size: 13px; }
265
+ .tips-row { margin-top: 8px; }
265
266
  .tech-wrap { margin-top: 18px; }
266
267
  .tech { display: grid; grid-template-columns: auto 1fr; gap: 5px 14px; margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--bg-deep); font-size: 12.5px; }
267
268
  .tech dt { color: var(--dim); }
@@ -355,26 +356,46 @@ a.row:hover { background: var(--faint); }
355
356
  .tb-discard { height: 32px; padding: 0 13px; border: 0; border-radius: 9px; background: var(--accent); color: #fff; font-size: 13.5px; font-weight: 650; }
356
357
  .tb-discard:hover { background: #e43a57; }
357
358
 
358
- /* -- the coach card (D21): stays beside the pointer until mark 1 exists --- */
359
+ /* -- the coach (D21, vt-8020): on the card's edge that faces the open page (place.ts coachSide), never over it -- */
359
360
  .coach {
360
- position: fixed; width: 300px; padding: 14px 16px 15px;
361
+ position: absolute; z-index: 3; padding: 10px 12px 11px;
362
+ /* Drawing goes on through it (to the marking layer under the card): only its button takes a press. */
363
+ pointer-events: none;
361
364
  background: #151417; color: #f2f1ef; border-radius: 14px;
362
365
  box-shadow: 0 18px 44px rgba(0, 0, 0, .38), 0 0 0 1px rgba(255, 255, 255, .1) inset;
363
- pointer-events: none;
364
366
  transition: opacity .12s ease;
365
367
  }
368
+ .coach[data-side="above"] { left: 0; right: 0; bottom: calc(100% + 10px); }
369
+ .coach[data-side="below"] { left: 0; right: 0; top: calc(100% + 10px); }
370
+ .coach[data-side="left"] { right: calc(100% + 10px); top: 0; width: 300px; }
371
+ .coach[data-side="right"] { left: calc(100% + 10px); top: 0; width: 300px; }
372
+ /* No room around the card (a phone): over its top, the words without the art. */
373
+ .coach[data-side="over"] { left: 10px; right: 10px; top: 58px; }
374
+ .coach[data-side="over"] .coach-art { display: none; }
366
375
  .coach.pressing { opacity: .55; }
367
- .coach svg { display: block; width: 100%; height: 64px; border-radius: 9px; background: #222126; }
368
- .coach p { margin: 11px 0 0; font-size: 15px; line-height: 1.4; }
376
+ .coach svg { display: block; width: 100%; height: 52px; border-radius: 9px; background: #222126; }
377
+ .coach p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.38; }
369
378
  .coach p + p { margin-top: 2px; color: rgba(242, 241, 239, .66); font-size: 13px; }
370
- .coach p.keys { margin-top: 8px; font-size: 12px; color: rgba(242, 241, 239, .5); }
379
+ .coach-ok {
380
+ pointer-events: auto; margin-top: 8px; height: 28px; padding: 0 12px; border: 0; border-radius: 8px;
381
+ background: rgba(255, 255, 255, .09); color: #f2f1ef; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
382
+ }
383
+ .coach-ok:hover { background: rgba(255, 255, 255, .14); }
371
384
  .mark:focus { outline: none; }
372
385
  .mark:focus-visible { outline: 3px solid rgba(230, 69, 95, .65); outline-offset: -3px; }
386
+ /* The art runs on SMIL (widget.ts coachArt): one clock moves the pointer and grows the shape. */
373
387
  .coach .bar { fill: #5b5a61; }
374
- .coach .loop { fill: none; stroke: #e6455f; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 200; stroke-dashoffset: 200; animation: vr-draw 2.8s ease-in-out infinite; }
375
- .coach .hold { fill: none; stroke: #fff; stroke-width: 1.5; opacity: 0; animation: vr-hold 2.8s ease-in-out infinite; }
376
- @keyframes vr-draw { 0%, 18% { stroke-dashoffset: 200; } 72%, 100% { stroke-dashoffset: 0; } 90% { opacity: 1; } 100% { opacity: 0; } }
377
- @keyframes vr-hold { 0%, 8% { opacity: 0; } 14%, 72% { opacity: .9; } 80%, 100% { opacity: 0; } }
388
+ .coach .loop { fill: none; stroke: #e6455f; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
389
+ .coach .veil { fill: #3a3940; stroke: rgba(255, 255, 255, .2); stroke-width: 1; }
390
+ .coach .hold { fill: none; stroke: #fff; stroke-width: 1.5; }
391
+ .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
392
+ .switch {
393
+ position: relative; flex: none; width: 38px; height: 22px; padding: 0; border: 0; border-radius: 999px;
394
+ background: rgba(255, 255, 255, .16); cursor: pointer; transition: background .15s ease;
395
+ }
396
+ .switch[aria-checked="true"] { background: var(--accent); }
397
+ .switch .knob { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: translate .15s ease; }
398
+ .switch[aria-checked="true"] .knob { translate: 16px 0; }
378
399
 
379
400
  @media (max-width: 520px) {
380
401
  .vr { --edge: 16px; --lift: calc(var(--edge) + 68px * var(--vr-scale)); }
@@ -382,15 +403,12 @@ a.row:hover { background: var(--faint); }
382
403
  .tb { max-width: calc((100vw - 16px) / var(--vr-scale)); overflow-x: auto; }
383
404
  .tb-lead { display: none; }
384
405
  .seg button { padding: 0 9px; }
385
- .coach { width: 260px; }
386
406
  }
387
407
  /* Every motion of the face stops here: the menu rises with the card's vr-in, the coach dims as you press, the chevron turns. */
388
408
  @media (prefers-reduced-motion: reduce) {
389
409
  .card, .pop { animation: none; }
390
- .card.parked, .seg-ind, .seg button, .kinds button, .pin .rm, .link svg, .coach { transition: none; }
410
+ .card.parked, .seg-ind, .seg button, .kinds button, .pin .rm, .link svg, .coach, .switch, .switch .knob { transition: none; }
391
411
  .card.busy .head::after { animation: none; }
392
412
  .fab, .fab.gliding { transition: none; }
393
- .coach .loop { animation: none; stroke-dashoffset: 0; }
394
- .coach .hold { animation: none; opacity: .9; }
395
413
  }
396
414
  `;
@@ -39,6 +39,10 @@ export declare class ReportWidget {
39
39
  private markers;
40
40
  private nextKey;
41
41
  private tool;
42
+ /** The coach shows while marking until dismissed (settings.ts readCoach). */
43
+ private coachOn;
44
+ /** The shape the coach's art shows; its SVG is rebuilt (and its clock restarted) when the pick changes. */
45
+ private coachShape;
42
46
  private frozen;
43
47
  private job;
44
48
  private sending;
@@ -187,6 +191,8 @@ export declare class ReportWidget {
187
191
  * top-left) would first overhang its corner by the size difference, then glide back.
188
192
  */
189
193
  private placeCard;
194
+ /** The coach takes the card's edge that faces the open page (place.ts coachSide); styles place it by `data-side`. */
195
+ private placeCoachSide;
190
196
  private unpark;
191
197
  /** The segmented control's indicator under the picked shape; `land`: the bar just appeared, so it does not slide. */
192
198
  private placeSeg;
@@ -200,8 +206,6 @@ export declare class ReportWidget {
200
206
  private kbDraft;
201
207
  private markKey;
202
208
  private renderKbDraft;
203
- /** The coach rides beside the pointer, inside the viewport. */
204
- private placeCoach;
205
209
  private shapeNodes;
206
210
  private renderMarks;
207
211
  /** Pin numbers and positions, line numbers and labels; text in place (the locale may have changed). */