demoman 0.7.0 → 0.7.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.
@@ -884,15 +884,28 @@
884
884
  // Vue scoped styles
885
885
  /^_ngcontent-/i,
886
886
  // Angular
887
- /^:r[0-9a-z]*:$/i,
888
- // React useId
887
+ // React useId — 18 `:r1:`, 19.0 `«r1»`, 19.1 `_r_1_` — anywhere, since
888
+ // libraries wrap it (react-aria: `react-aria544548995-_r_2_`).
889
+ /:r[0-9a-z]*:|«r[0-9a-z]*»|(?:^|[^a-z0-9])_r_[0-9a-z]+_/i,
889
890
  // A bare hash: hex, and mixed — pure digits are a plausible authored id.
890
891
  /^(?=[a-f0-9]*[0-9])(?=[a-f0-9]*[a-f])[a-f0-9]{8,}$/i
891
892
  ];
892
893
  function isAuthoredIdentifier(value) {
893
894
  if (value.length === 0)
894
895
  return false;
895
- return !GENERATED.some((re) => re.test(value));
896
+ return !GENERATED.some((re) => re.test(value)) && !isGuidLike(value);
897
+ }
898
+ function isGuidLike(value) {
899
+ const kinds = Array.from(value).filter((c) => c !== "-" && c !== "_").map((c) => /[a-z]/.test(c) ? "lower" : /[A-Z]/.test(c) ? "upper" : /[0-9]/.test(c) ? "digit" : "other");
900
+ if (kinds.length < 16)
901
+ return false;
902
+ const switched = kinds.map((k, i) => i > 0 && k !== kinds[i - 1] && !(kinds[i - 1] === "upper" && k === "lower"));
903
+ for (let i = 0; i + 21 <= Math.max(kinds.length, 21); i++) {
904
+ const inWindow = switched.slice(i + 1, i + 21).filter(Boolean).length;
905
+ if (inWindow >= 5)
906
+ return true;
907
+ }
908
+ return false;
896
909
  }
897
910
  function readStableId(el) {
898
911
  for (const attr of STABLE_ID_ATTRS) {
package/dist/recipe.md CHANGED
@@ -13,12 +13,12 @@ the user; section 7 lists every reason.
13
13
  latest run's report or its progress, or null), `sessions`, `accounts`,
14
14
  `secretsFile` and `update`.
15
15
  `sessions` is `[{site, savedAt, refreshedAt, signInUrl}]`; it and
16
- `display` (the screen headless films as) can be `{unreadable}`: tell the user why. `accounts` and `secretsFile` are the demo
16
+ `display` (the screen headless records as) can be `{unreadable}`: tell the user why. `accounts` and `secretsFile` are the demo
17
17
  accounts below. The browser starts on the first `snapshot`, `run`
18
18
  or `export`. Demoman updates itself: say nothing about `update`. When `browserInstalled` is false, the first
19
19
  `snapshot` or `run` answers `browserMissing`.
20
20
  2. The browser is signed in wherever the user ran `npx demoman signin <url>`,
21
- and nowhere else; `status`'s `sessions` lists those sites. A demo account films best. A page
21
+ and nowhere else; `status`'s `sessions` lists those sites. A demo account records best. A page
22
22
  that sends this browser to its sign-in page answers `signedOut` (section
23
23
  7) with the exact command in `detail`: give the user that command and
24
24
  spend no run until they say they have run it, unless a demo account can
@@ -190,7 +190,7 @@ a run resolves to exactly that element: Demoman checked it.
190
190
  why. A sign-in page offering only "Continue with Google" may
191
191
  not answer `signedOut`: a `landedUrl` that is plainly a sign-in page with
192
192
  `"none"` or `"unchecked"` means the same. Tell the user to run
193
- `npx demoman signin <the page they want filmed>` and spend no run. On
193
+ `npx demoman signin <the page to record>` and spend no run. On
194
194
  `"unchecked"` otherwise, carry on only if `landedUrl` is not a sign-in
195
195
  page.
196
196
  - `settled: false` - the page was still loading; `settleNote` says what was
@@ -200,7 +200,7 @@ a run resolves to exactly that element: Demoman checked it.
200
200
  FAQ answer): still a valid target for `waitFor … until: "visible"` after
201
201
  the step that opens it.
202
202
  - `size` is `{ width, height, from, error }`: the size the page was laid out
203
- at, which a run films too. `from` is `screen` (this machine's screen),
203
+ at, which a run records too. `from` is `screen` (this machine's screen),
204
204
  or `device`. `from: "window"` with an `error`: Demoman could not read the
205
205
  screen and listed the browser's smaller layout; tell the user the `error`.
206
206
  - `unresolvable` counts elements left out because no target names them
@@ -272,7 +272,7 @@ to change and run again.
272
272
  - `unreadable` - a stored take cannot be read; report its `reason`.
273
273
  - `threw` - report its `error`.
274
274
 
275
- **Re-filming an edited take.** `run({ takeId })` films a take again from its
275
+ **Re-recording an edited take.** `run({ takeId })` runs a take again from its
276
276
  saved script and its current `scene.json`: the steps' text and targets,
277
277
  name and look as they are now, the original's pauses, and any step added
278
278
  since. It is a run: a new take, counted toward the three. Pass `takeId` instead of `script`; both
@@ -280,7 +280,7 @@ or neither is `invalidScript`. Refused with `unfilledHoles` when
280
280
  the take did not keep a value (a redacted field): `derive`, fill, `run`.
281
281
  Refused with `invalidScript` (`field` `steps.<i>.do`) when a step's verb
282
282
  was changed by hand: `derive`, check that step, `run` the draft.
283
- Refused with `nothingToRefilm` when no step that acts is left.
283
+ Refused with `nothingToRerecord` when no step that acts is left.
284
284
 
285
285
  ## 4. Run and read
286
286
 
@@ -297,7 +297,7 @@ Refused with `nothingToRefilm` when no step that acts is left.
297
297
  - `stopped` - `stopped.at` names the step and `stopped.sentence` says why.
298
298
  A `steps[i].pageUrl` on a sign-in page means the app sent this browser
299
299
  to sign in mid-run: tell the user; do not rewrite targets.
300
- `signedOut` means nothing usable was filmed and no take was kept: give
300
+ `signedOut` means nothing usable was recorded and no take was kept: give
301
301
  the user the command in `stopped.detail`; run again only after they
302
302
  have run it. It is not a script fault.
303
303
  `signInFailed` names the account, step and landing: fix the account's
@@ -306,13 +306,13 @@ Refused with `nothingToRefilm` when no step that acts is left.
306
306
  `signedOut` too; its detail ends "The run itself stopped at script
307
307
  step N: ...".)
308
308
  - `complete` - read `verdict`: `verdict.kind` is `"matches"` or
309
- `"diverged"`, and `verdict.diverged[]` lists each step the film does not
309
+ `"diverged"`, and `verdict.diverged[]` lists each step the video does not
310
310
  show the way the script asked. `matches` with every
311
311
  `steps[i].candidates` at 1 means the steps are right.
312
312
  - In any outcome, a step whose `textHidden` is set typed into a credential
313
313
  field (`"credentialField"`) or the page could not say whether it was
314
314
  (`"credentialUnchecked"`): its text is kept nowhere, and `intent.text` reads `(hidden: typed into a
315
- credential field)`. A re-film or `derive` of that take asks for a demo
315
+ credential field)`. Re-recording or deriving that take asks for a demo
316
316
  value. `landing.startedElsewhere` names where the start URL went
317
317
  instead; `landing.unchecked`: the page could not be checked for a
318
318
  sign-in page. `notStored` with `what: "session"` means the saved
@@ -320,32 +320,35 @@ Refused with `nothingToRefilm` when no step that acts is left.
320
320
  - `threw` - a fault in the run; report its `error`.
321
321
  - Then read `frames.degradations` and `frames.storageRefused`. These are
322
322
  about the video, not the script (`surfaceMismatch`: the browser handed
323
- back frames of the wrong size). Spend no run on them; name them to the
323
+ back frames of the wrong size; `dragPictureMissing`: a native drag's item
324
+ jumps). `notDragged`: a drag changed nothing; `verdict.diverged` lists
325
+ it. Spend no run on them; name them to the
324
326
  user. One is about a step: `clickUnconfirmed` means a click
325
327
  could not be confirmed to have reached its target, and
326
328
  `frames.unconfirmedClicks` names each such step and says why; check in
327
- the film that the step did what it should before saying so.
328
- - A re-film's report carries `refilm`: `from` (the take), `notes`
329
+ the video that the step did what it should before saying so.
330
+ - A re-recording's report carries `rerecord`: `from` (the take), `notes`
329
331
  (`noSkeleton` or `skeletonUnreadable`: the original's pauses were not
330
332
  kept; `stepDropped`, with `why` `actionGone` or `neverPerformed`;
331
- `actionAdded`: a `scene.json` step the saved script lacked) and `notCarried` (each cut, mask,
332
- hold, gap, replacement or trim the old take had and the new one does
333
- not, and each zoom the editor aimed or ended by hand, `zoom`; every
334
- other zoom the new take makes again from its own clicks). Name every
333
+ `actionAdded`: a `scene.json` step the saved script lacked;
334
+ `migrated`: a `sentence`) and `notCarried` (each `removed`, `split`,
335
+ mask, hold, gap or trim the old take had and the new one lacks, and
336
+ each zoom the editor aimed or ended by hand, `zoom`; every other zoom
337
+ the new take makes again from its own clicks). Name every
335
338
  one to the user; a mask not carried may show what the old video hid.
336
- 3. **Read the film.** The report carries `film` and `recording`. Read
337
- `film.summary` first (a count per label: `inside`, `atEdge`, `cutOff`,
339
+ 3. **Read the video.** The report carries `video` and `recording`. Read
340
+ `video.summary` first (a count per label: `inside`, `atEdge`, `cutOff`,
338
341
  `outOfFrame`, `strayArrival`, `detour`, `longStill`), then
339
- `film.steps[i].framing.label`, and `film.journeys[j].arrival` /
340
- `film.journeys[j].detour` for the cursor.
341
- - **Which script step a film step is:** `film.steps` lists the take's
342
+ `video.steps[i].framing.label`, and `video.journeys[j].arrival` /
343
+ `video.journeys[j].detour` for the cursor.
344
+ - **Which script step a video step is:** `video.steps` lists the take's
342
345
  actions, and a `pause` makes no action. Find the report's `steps[k]`
343
- whose `actionId` equals `film.steps[i].actionId`; `steps[k].index` is
346
+ whose `actionId` equals `video.steps[i].actionId`; `steps[k].index` is
344
347
  its 0-based position in your script.
345
- - `film` may be `{ "unavailable": … }` (`refused`, `noTake`, `noFrames`,
348
+ - `video` may be `{ "unavailable": … }` (`refused`, `noTake`, `noFrames`,
346
349
  `checkFailed` with `error`): the check could not look. That is not a
347
350
  clean bill; say so, and do not retry. Likewise
348
- `film.steps[i].unknown` and `film.noCursor: true`.
351
+ `video.steps[i].unknown` and `video.noCursor: true`.
349
352
  - `recording` is `{ "unavailable": … }` or
350
353
  `{ recordingTakeId, steps[], notInRecording[] }`, comparing the run with
351
354
  the take a derived script came from. `unavailable` is again an answer.
@@ -372,7 +375,7 @@ branding. The report's `look.branding` says where it came from: `script`,
372
375
  `kit` (you named it; `look.kit.name` says which), `defaultKit`, or
373
376
  `defaults`. A non-null `look.brandKitError` means the default kit could not
374
377
  be read, and goes into your hand-back. The report's `size` is what the video
375
- was filmed at, read as in section 2; a `size.error` goes into your hand-back
378
+ was recorded at, read as in section 2; a `size.error` goes into your hand-back
376
379
  too.
377
380
 
378
381
  ## 5. Export and hand back
@@ -406,13 +409,13 @@ too.
406
409
  sentence: what was saved and anything the user asked for that the file
407
410
  lacks (a logo, motion, a still, an edit). `warnings` holds more:
408
411
  Demoman's own calls (`zooms`, `detailViolations`, a size cap's `steps`,
409
- a GIF's widths, `retexts` marked `unchecked`, `targetCheck`). They are
412
+ a GIF's widths, `targetCheck`). They are
410
413
  not the user's to act on: do not pass them on. None is the script's to
411
414
  fix either.
412
- `warnings.editedSinceFilmed` lists steps whose `scene.json` no longer
413
- matches the frames; the summary says so and names the re-film
415
+ `warnings.editedSinceRecorded` lists steps whose `scene.json` no longer
416
+ matches the frames; the summary says so and names the re-recording
414
417
  (`run({ takeId })`, or `derive` then `run` when a step's verb changed).
415
- Re-film only on request.
418
+ Re-record only on request.
416
419
  `links` holds the export's one-click actions for the user, each present
417
420
  only where it works: `studio`, `reveal` (Finder) and `copy` (the file to
418
421
  the clipboard; none for stills). `linksError`, set instead, says why
@@ -433,22 +436,23 @@ too.
433
436
 
434
437
  Before opening a pull request, read `status.pullRequests` (pass `project`
435
438
  in another checkout): `attach`, `ask`, `off`, or `{ unreadable, file }`,
436
- which is not `off`: tell the user. If the diff changes something a user
437
- would see, film that one flow (only the change), push and open the PR, then
438
- `attach({ takeId, into: "description" })`, or `"comment"` on a PR that is not
439
- yours. A later `gh pr edit --body` drops the video. If not, write `No demo: <why>` as one line in the PR description and
440
- say the same line to the user. `ask`: offer first. `off`: only when asked.
441
- `attach` takes `maxMB` as `export` does, and can answer `stillRunning`:
442
- `report(id)` until the outcome is none of `attaching`, `stillRunning`. With
443
- the browser busy it answers the export's refusal (`busy`): `report(id)` on
444
- the one in flight, then `attach` again. On `ghMissing`, `ghOutdated`,
439
+ which is not `off`: tell the user. `off`: only when asked. If the diff
440
+ changes something a user would see, record that one flow (only the change),
441
+ push and open the PR, then `attach({ takeId, into: "description" })`, or
442
+ `"comment"` on a PR that is not yours. A later `gh pr edit --body` drops the
443
+ video. `ask`: offer once; on a no, nothing to see or a failed run (say why),
444
+ the PR says nothing of it. `attach`: with no video, the PR description gets
445
+ one line, `No demo: <why>`, and so does the user.
446
+ `attach` takes `maxMB` as `export` does. On `stillRunning`, `report(id)`
447
+ until the outcome is none of `attaching`, `stillRunning`. On `busy`,
448
+ `report(id)` on the export in flight, then `attach` again. On `ghMissing`, `ghOutdated`,
445
449
  `ghSignedOut`, `notGitHub` or `copyFailed`, call
446
450
  `export({ takeId, maxMB: 9.5 })` and give the user that `file.path` to drag
447
451
  into the PR, saying why: the browser refuses video over 10 MB on a free
448
452
  plan. On `uploadRefused`, do as its `detail` says: one more `attach` with
449
- `maxMB: 9.5`, or the file by hand. On `partial` or
450
- `unconfirmed`, do not post again; tell the user to look at the PR. For the other reasons, follow section 7. An
451
- export that did not save comes back as the export's answer.
453
+ `maxMB: 9.5`, or the file by hand. On `partial` or `unconfirmed`, do not
454
+ post again; tell the user to look at the PR. For the other reasons, follow
455
+ section 7. An export that did not save comes back as the export's answer.
452
456
 
453
457
  Hand back, on `saved`, two lines and nothing else: the `summary` as it is,
454
458
  then the `links` as markdown links on one line, in this order and only
@@ -499,10 +503,15 @@ recorded action each step came from (`recorded`, in `recordedFrom`):
499
503
  }
500
504
  ```
501
505
 
506
+ ```json
507
+ {"scriptVersion": 6, "name": "Move a card", "target": "https://app.example.com/board",
508
+ "steps": [{ "do": "drag", "from": { "on": { "text": "Card A" } }, "to": { "on": { "text": "Done" } } }]}
509
+ ```
510
+
502
511
  - `scriptVersion` and `name` are required; a step's verb is `do`.
503
512
  `scriptVersion` is the highest that applies: `1`; `2` when `look` names
504
513
  a `kit`; `3` when it carries `motion`; `4` when the script names a
505
- `device`; `5` when it names an `account`.
514
+ `device`; `5` when it names an `account`; `6` when it has a `drag`.
506
515
  - **Targets** name exactly one strategy: `{ "stableId" }`, `{ "role", "name" }`,
507
516
  `{ "text" }` or `{ "treePath" }`. Two in one target is refused. Copy them
508
517
  from `snapshot` or a derived draft. A `treePath` is a position in the
@@ -510,13 +519,14 @@ recorded action each step came from (`recorded`, in `recordedFrom`):
510
519
  - **Verbs:** `click`, `type` (replaces the field's contents), `hover`,
511
520
  `scrollTo`, `waitFor` (`until`: `visible` | `hidden`; visible means it can
512
521
  be seen, so an element at `opacity: 0` or `visibility: hidden` is hidden),
513
- `waitForLoad`, and `pause` (`ms`). An unknown key is refused and named.
522
+ `waitForLoad`, `pause` (`ms`), and `drag` (`from: { on, at? }`, `to`
523
+ the same or `{ "by": { x, y } }` px; `at` is a spot in the box, 0–1). An unknown key is refused and named.
514
524
  - `scrollTo` takes an optional `landing: { "top": <px> }`, the viewport y of
515
525
  the element's top edge when the scroll stops. Absent means centred.
516
526
  - `viewport` absent means the size the user chose: the screen's, which
517
527
  `snapshot` measured `inFirstViewport` against. Leave `viewport`
518
528
  out unless the user asked for a size.
519
- - `device` is `"phone"` or `"tablet"`: the page is filmed as a phone (393x852)
529
+ - `device` is `"phone"` or `"tablet"`: the page is recorded as a phone (393x852)
520
530
  or a tablet (820x1180), with touch and an iOS user agent. Name a device or a
521
531
  `viewport`, not both. A device has no hover, so a `hover` step under one is
522
532
  refused. `look` takes `branding` or `kit`, plus `cursor`, `canvas` and
@@ -546,10 +556,10 @@ recorded action each step came from (`recorded`, in `recordedFrom`):
546
556
  | `secretMissing` | `snapshot`, `run` (`refusedBeforeRun`) | A `{secret:NAME}` has no `DEMOMAN_SECRET_NAME` and no line in `.demoman/secrets.env`; `detail` names `NAME` and both places. Through `project`, the environment is not used, and `detail` says so when it holds the name. Write one (section 1), or ask the user. |
547
557
  | `secretTooShort` | `snapshot`, `run` (`refusedBeforeRun`) | The secret `NAME` is under 8 characters. Generate a longer one and write it again. |
548
558
  | `secretUnbound` | `snapshot`, `run` (`refusedBeforeRun`) | `DEMOMAN_SECRET_NAME` is in Demoman's environment with no `DEMOMAN_SECRET_NAME_ORIGIN`, or one that is not an origin; `detail` names the variable and the site. Nothing was typed. Tell the user; never set it yourself. |
549
- | `secretOffOrigin` | `snapshot`, `run` (`refusedBeforeRun`) | A secret was about to be typed off its site: a sign-in step's page is not the site's origin, or an environment secret's `_ORIGIN` names another site; `detail` names both. Nothing was typed. Check the account's site, `goto` and the redirect; tell the user if the app sends the login elsewhere, or if the secret is meant for this site. |
559
+ | `secretOffOrigin` | `snapshot`, `run` (`refusedBeforeRun`) | A secret was about to be typed off its site: a sign-in step's page is not the site's origin, or an environment secret's `_ORIGIN` names another site; `detail` names both. Nothing was typed. Check the account's site and `goto`, then tell the user. |
550
560
  | `secretsFileNotIgnored` | `snapshot`, `run` (`refusedBeforeRun`) | Git does not ignore `.demoman/secrets.env`, so Demoman did not read it. Add `.demoman/secrets.env` to `.gitignore` (`detail` says the line), or take the file out of git if tracked. |
551
561
  | `secretsFileInvalid` | `snapshot`, `run` (`refusedBeforeRun`) | A line of `.demoman/secrets.env` is not `DEMOMAN_SECRET_NAME=value`, a comment or blank; `detail` gives the line number. Fix it. |
552
- | `accountsInvalid` | `snapshot`, `run` (`refusedBeforeRun`) | `.demoman/accounts.json` is malformed or breaks a rule (an unknown key, a first step that is not a `goto`, a `goto` off the origin, a missing `checkUrl`, a `default` naming no account, a newer `accountsVersion`); `detail` names the field. Fix the file. |
562
+ | `accountsInvalid` | `snapshot`, `run` (`refusedBeforeRun`) | `.demoman/accounts.json` is malformed or breaks a rule; `detail` names the field and the rule. Fix the file. |
553
563
  | `unknownAccount` | `snapshot`, `run` (`refusedBeforeRun`) | The script names an account the site does not have, or names none and the site has no `default`; `detail` lists the site's accounts. Name one, or add it (section 1). |
554
564
  | `invalidProject` | `snapshot`, `run` (`refusedBeforeRun`), `attach` | `project` is not an absolute path to a folder. Pass one, or leave it out. |
555
565
  | `ghMissing`, `ghOutdated`, `ghSignedOut` | `attach` (`refusedBeforeAttach`) | `gh` is missing, too old or signed out; `detail` gives the fix. Hand the user the file (section 5). |
@@ -570,20 +580,21 @@ recorded action each step came from (`recorded`, in `recordedFrom`):
570
580
  | `noReport` | `report` | No report for that id: this server keeps only its latest runs and exports (an old one was let go), or the call left none; `detail` says which. Do not run again for it. |
571
581
  | `notAnObject` | `run` | The script is not a JSON object. |
572
582
  | `invalidScript` | `run` | The schema refused the script; `field` names where. |
573
- | `unfilledHoles` | `run` | A derived draft still has holes (section 3); also a re-film (`takeId`) of a take that did not keep a value. |
574
- | `nothingToRefilm` | `run` (`refusedBeforeRun`) | The take has no step left that acts, so a re-film would film nothing; tell the user. |
583
+ | `unfilledHoles` | `run` | A derived draft still has holes (section 3); also `run({ takeId })` of a take that did not keep a value. |
584
+ | `nothingToRerecord` | `run` (`refusedBeforeRun`) | The take has no step left that acts; tell the user. |
575
585
  | `unknownKit` | `run` (`refusedBeforeRun`) | `look.kit` names no brand kit, or one that cannot be read; `detail` lists the kits there are. Fix the name from `snapshot`'s `kits`, or ask the user. |
576
586
  | `kitsUnreadable` | `run` (`refusedBeforeRun`) | The brand kits file could not be read, so `look.kit` could not be checked; not a wrong name. Quote `detail` to the user; do not change the name. |
577
587
  | `invalidDevice` | `snapshot` | `device` names no phone or tablet Demoman has; `detail` lists the ones it does. Use one of them. |
578
- | `deviceFailed` | `snapshot`, `run` | The browser would not emulate the device, so nothing was listed or filmed; `detail` says which command and why. Not the script's: tell the user; do not run it again. |
588
+ | `deviceFailed` | `snapshot`, `run` | The browser would not emulate the device, so nothing was listed or recorded; `detail` says which command and why. Not the script's: tell the user; do not run it again. |
579
589
  | `nonHttpTarget` | `run`, `snapshot` | The target or url is not `http(s)`, or its host contains `*`. |
580
590
  | `invalidFileType` | `export` (`refusedBeforeExport`) | Not answered here: the schema takes only `mp4`, `gif`, `stills`. |
581
591
  | `invalidStillsOptions` | `export` (`refusedBeforeExport`) | `stills` was given for an MP4 or GIF, or holds a width outside 320-3840 (or `"native"`), a zoom other than `"none"` or `"step"`, or another field; `detail` says which. Fix the call. |
582
592
  | `invalidQuality`, `invalidMaxMB` | `export` (`refusedBeforeExport`), `attach` | Through these tools, only `quality` or `maxMB` given for a GIF or stills; the schema rejects a bad value first. |
583
593
  | `noTakeId`, `noFrames` | `export` (`refusedBeforeExport`) | No take id; the take has no frames to render. |
584
594
  | `takeNotFound`, `takeUnreadable` | `export` (`refusedBeforeExport`), `run` with `takeId` (`refusedBeforeRun`), `studio` (`takeNotFound`: call `takes`) | No such take; the take could not be read (or, for `run`, built into a script). |
595
+ | `dragEndOutOfView`, `dragNoDistance` | `run` (`stopped.reason`) | A drag's end was off screen (a drag cannot scroll), or on its start. Fix the script. |
585
596
  | `clickNotDelivered` | `run` (`stopped.reason`) | The browser put a click elsewhere than where it was sent; `stopped.at` names the step and `stopped.detail` says where the click went. Not the script's fault: run again (it counts toward the three); tell the user if it repeats. |
586
- | `signedOut` | `run` (`stopped.reason`) | The app sent this browser to its sign-in page: the saved session expired or does not sign this page in, or none was ever saved. Nothing was filmed and no take kept. Give the user the command in `stopped.detail`; run again only after they have run it. As an account there is no command to give: the detail says whether Demoman signed in again; repeat only if it says so. |
597
+ | `signedOut` | `run` (`stopped.reason`) | The app sent this browser to its sign-in page: no saved session signs this page in. Nothing was recorded or kept. Give the user the command in `stopped.detail`; run again only after they have run it. As an account there is no command to give: the detail says whether Demoman signed in again; repeat only if it says so. |
587
598
  | `windowClosed` | `run` (`stopped.reason`) | `--headed` only: Demoman's window was closed before the run finished; the script is fine. Ask the user to leave it open; run once more. During an export it answers `renderFailed`; export again. |
588
599
  | `pageDidNotLoad` | `snapshot` | The url did not load: the browser showed its own error page. Ask the user whether the app is running at that address; spend no run. |
589
600
  | `pageSilent` | `snapshot` | The page never answered, or took too long. Call once more, and if it answers this again, the page blocked Demoman's script; tell the user. |
@@ -0,0 +1 @@
1
+ @layer shell{:root{color-scheme:light dark;--font-mono:"JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;--shell:#eef0f4;--ground-dot:#11182714;--dot-pitch:20px;--dot-origin:0px;--card:#fff;--ink:#111827;--ink-muted:#4b5563;--ink-faint:#636b7a;--ring:#1118271a;--ring-strong:#11182738;--control:#e4e7ed;--control-hover:#d7dbe3;--control-ground:var(--control);--control-hover-ground:var(--control-hover);--primary:#cdeb45;--primary-hover:#b9d700;--primary-ink:#030712;--secondary:#030712;--secondary-hover:#1f2937;--secondary-ink:#fff;--accent:#566505;--accent-soft:#f7fde7;--warn:#b4530a;--warn-soft:#fff7ed;--error:#991b1b;--error-soft:#fef2f2;--error-ring:#991b1b40;--switch-off:#9ca3af;--switch-knob:#fff;--slider-rest:#ccd2dc;--rec:#dc2626;--focus:#566505;--shadow-overlay:0 8px 24px #0f172a24;--radius:6px;--radius-card:8px}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--shell:#010102;--ground-dot:#ececf11a;--card:#181818;--ink:#ececf1;--ink-muted:#b4b4bd;--ink-faint:#8b8b94;--ring:#ffffff1a;--ring-strong:#ffffff3d;--control:#ffffff12;--control-hover:#ffffff21;--control-ground:color-mix(in srgb, #fff 7%, var(--shell));--control-hover-ground:color-mix(in srgb, #fff 13%, var(--shell));--primary:#cdeb45;--primary-hover:#b9d700;--primary-ink:#242b04;--secondary:#ececf1;--secondary-hover:#fff;--secondary-ink:#141416;--accent:#cdeb45;--accent-soft:#23260f;--warn:#f5a969;--warn-soft:#2a1d10;--error:#fca5a5;--error-soft:#3b1a1a;--error-ring:#fca5a540;--switch-off:#fff3;--switch-knob:#ececf1;--slider-rest:#ececf1;--rec:#ff4d4f;--focus:#cdeb45;--shadow-overlay:0 8px 24px #0000008c}}:root[data-theme=dark]{--shell:#010102;--ground-dot:#ececf11a;--card:#181818;--ink:#ececf1;--ink-muted:#b4b4bd;--ink-faint:#8b8b94;--ring:#ffffff1a;--ring-strong:#ffffff3d;--control:#ffffff12;--control-hover:#ffffff21;--control-ground:color-mix(in srgb, #fff 7%, var(--shell));--control-hover-ground:color-mix(in srgb, #fff 13%, var(--shell));--primary:#cdeb45;--primary-hover:#b9d700;--primary-ink:#242b04;--secondary:#ececf1;--secondary-hover:#fff;--secondary-ink:#141416;--accent:#cdeb45;--accent-soft:#23260f;--warn:#f5a969;--warn-soft:#2a1d10;--error:#fca5a5;--error-soft:#3b1a1a;--error-ring:#fca5a540;--switch-off:#fff3;--switch-knob:#ececf1;--slider-rest:#ececf1;--rec:#ff4d4f;--focus:#cdeb45;--shadow-overlay:0 8px 24px #0000008c;color-scheme:dark}:root[data-theme=light]{color-scheme:light}@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(/fonts/manrope-latin-variable.woff2)format("woff2")}@font-face{font-family:Outfit;font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/outfit-latin-variable.woff2)format("woff2")}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:100 800;font-display:swap;src:url(/fonts/jetbrains-mono-latin-variable.woff2)format("woff2")}*{box-sizing:border-box}body{color:var(--ink);-webkit-font-smoothing:antialiased;background-color:var(--shell);background-image:radial-gradient(circle, var(--ground-dot) 1px, transparent 1.6px);background-size:var(--dot-pitch) var(--dot-pitch);background-position:calc(var(--dot-origin) - var(--dot-pitch) / 2) calc(var(--dot-origin) - var(--dot-pitch) / 2);margin:0;font:400 13px/1.5 Manrope,ui-sans-serif,system-ui,sans-serif}p{margin:0}button,input{font:inherit;color:inherit}button{cursor:pointer;border:0}button:disabled{cursor:default}:focus-visible{outline:2px solid var(--focus);outline-offset:2px}#brand{align-items:center;gap:8px;line-height:1.5;display:flex}#brand img{width:22px;height:22px}#wordmark{letter-spacing:-.01em;font:500 18px/1 Outfit,ui-sans-serif,system-ui,sans-serif}#version{color:var(--ink-faint);font-variant-numeric:tabular-nums;margin-left:auto;font-size:11px}:root{--page-gutter:16px}@media (width>=640px){:root{--page-gutter:24px}}@media (width>=1024px){:root{--page-gutter:32px}}.topbar{--control:var(--control-ground);--control-hover:var(--control-hover-ground);line-height:1.5}.topbar-inner,.page{max-width:1280px;padding-inline:var(--page-gutter);margin-inline:auto}.topbar-inner{box-sizing:border-box;flex-wrap:nowrap;align-items:center;gap:16px;min-height:64px;padding-block:8px;display:flex}.topbar-group{align-items:center;display:flex}.logomark{flex:none;gap:12px;height:32px;display:flex}@media (width<=759px){.logomark-word{display:none}}.logomark .disc{width:32px;height:32px;display:block}.logomark .for-light,.logomark .for-dark{width:101.547px;height:32px;display:block}.logomark .for-dark{display:none}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .logomark .for-light{display:none}:root:not([data-theme=light]) .logomark .for-dark{display:block}}:root[data-theme=dark] .logomark .for-light{display:none}:root[data-theme=dark] .logomark .for-dark{display:block}.page{padding-top:40px;padding-bottom:48px}.topbar-actions{align-items:center;gap:12px;margin-left:auto;display:flex}.tabs{align-items:center;gap:2px;margin-left:24px;display:flex}.tabs a{border-radius:var(--radius);color:var(--ink-muted);align-items:center;gap:6px;padding:6px 11px;font-size:13px;font-weight:600;text-decoration:none;transition:background-color .12s,color .12s;display:inline-flex}.tabs svg{opacity:.85;flex:none;width:15px;height:15px}.tabs a:hover{color:var(--ink);background:var(--control)}.tabs a[aria-current=page]{color:var(--ink);background:var(--control-hover)}@media (width<=559px){.tabs{margin-left:16px}.tabs a{padding:6px 9px}.tab-label{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}}.pill{border-radius:var(--radius);background:var(--control);color:var(--ink-muted);align-items:center;gap:6px;padding:5px 11px;font-size:12px;font-weight:600;transition:background-color .12s,color .12s;display:inline-flex}.pill:hover{background:var(--control-hover);color:var(--ink)}.pill[aria-pressed=true]{background:var(--secondary);color:var(--secondary-ink)}.pill-count{font-variant-numeric:tabular-nums;opacity:.7}.switch-row{cursor:pointer;align-items:center;gap:12px;display:flex}.switch-row:has(input:disabled){cursor:default;opacity:.5}.switch-text{flex:1;min-width:0}.switch-text strong{font-weight:700;display:block}.hint{color:var(--ink-muted);font-size:12px;display:block}.switch{--switch-travel:16px;flex:none;width:38px;height:22px;position:relative}.switch input{z-index:1;opacity:0;cursor:inherit;margin:0;position:absolute;inset:0}.switch-track{pointer-events:none;background:var(--switch-off);border-radius:999px;transition:background-color .12s;position:absolute;inset:0}.switch-track:after{content:"";background:var(--switch-knob);border-radius:50%;width:16px;height:16px;transition:transform .12s;position:absolute;top:3px;left:3px;box-shadow:0 1px 2px #00000040}.switch input:checked+.switch-track{background:var(--primary)}.switch input:checked+.switch-track:after{transform:translateX(var(--switch-travel))}.switch input:focus-visible+.switch-track{outline:2px solid var(--focus);outline-offset:2px}.switch[data-flip] .switch-track,.switch[data-flip] .switch-track:after{animation-duration:.12s;animation-timing-function:ease;animation-delay:var(--switch-elapsed,0s)}.switch[data-flip] input:checked+.switch-track{animation-name:switch-track-from-off}.switch[data-flip] input:checked+.switch-track:after{animation-name:switch-knob-from-off}.switch[data-flip] input:not(:checked)+.switch-track{animation-name:switch-track-from-on}.switch[data-flip] input:not(:checked)+.switch-track:after{animation-name:switch-knob-from-on}@keyframes switch-track-from-off{0%{background-color:var(--switch-off)}}@keyframes switch-track-from-on{0%{background-color:var(--primary)}}@keyframes switch-knob-from-off{0%{transform:none}}@keyframes switch-knob-from-on{0%{transform:translateX(var(--switch-travel))}}input[type=range]{-webkit-appearance:none;appearance:none;cursor:pointer;background:0 0;border:0;width:100%;height:16px}input[type=range]:disabled{cursor:default;opacity:.45}input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(to right, var(--slider-fill,var(--slider-rest)) 0 var(--fill,0%), var(--switch-off) var(--fill,0%) 100%);border-radius:999px;height:4px}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:var(--switch-knob);opacity:0;border-radius:50%;width:12px;height:12px;margin-top:-4px;transition:opacity .12s;box-shadow:0 1px 3px #0000004d}input[type=range]:hover:not(:disabled),input[type=range]:focus-visible,input[type=range]:active{--slider-fill:var(--accent)}input[type=range]:hover:not(:disabled)::-webkit-slider-thumb,input[type=range]:focus-visible::-webkit-slider-thumb,input[type=range]:active::-webkit-slider-thumb{opacity:1}.card{background:var(--card);border-radius:var(--radius-card);padding:12px}.btn{border-radius:var(--radius);justify-content:center;align-items:center;gap:8px;padding:6px 11px;font-size:12.5px;font-weight:600;line-height:1.3;transition:background-color .12s;display:inline-flex}.btn:disabled{opacity:.5}.btn-primary{background:var(--primary);color:var(--primary-ink)}.btn-primary:not(:disabled):hover{background:var(--primary-hover)}.btn-secondary{background:var(--secondary);color:var(--secondary-ink)}.btn-secondary:not(:disabled):hover{background:var(--secondary-hover)}.btn-quiet{background:var(--control);color:var(--ink);font-weight:600}.btn-quiet:not(:disabled):hover{background:var(--control-hover)}.btn-link{color:var(--ink-muted);background:0 0;padding:6px;font-weight:600}.btn-link:hover{color:var(--ink)}.btn-icon{flex:none;width:32px;height:32px;padding:0}.btn-icon svg{width:16px;height:16px}.btn-icon.btn-danger:not(:disabled):hover{background:var(--error-soft);color:var(--error)}select,input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]){border-radius:var(--radius);background:var(--control);color:var(--ink);border:0;padding:6px 9px;font-family:inherit;font-size:13px}.notice{border-radius:var(--radius);background:var(--control);color:var(--ink-muted);padding:8px 10px;font-size:12px}.notice-error{background:var(--error-soft);border:1px solid var(--error-ring);color:var(--error);padding:10px 12px;font-weight:600}.notice-warn{background:var(--warn-soft);color:var(--warn);padding:10px 12px;font-weight:600}.notice-line{align-items:flex-start;gap:10px;display:flex}.notice-line>svg{flex:none;width:16px;height:16px;margin-top:1px}.notice-body{flex:1;min-width:0}.notice-title{overflow-wrap:anywhere;margin:0;line-height:18px}.notice-details{margin-top:2px;font-weight:500}.notice-details>summary{cursor:pointer;opacity:.8;align-items:center;gap:4px;list-style:none;display:inline-flex}.notice-details>summary:hover{opacity:1}.notice-details>summary::-webkit-details-marker{display:none}.notice-details>summary>svg{width:12px;height:12px;transition:transform .12s}.notice-details[open]>summary>svg{transform:rotate(180deg)}.notice-reason{border-radius:var(--radius);background:var(--card);color:var(--ink-muted);font-family:var(--font-mono);overflow-wrap:anywhere;user-select:text;margin-top:6px;padding:6px 8px;font-size:11px;font-weight:400;line-height:1.5}.notice-actions{flex-wrap:wrap;gap:8px;margin:-4px 0;display:flex}.notice-dismiss{border-radius:var(--radius);color:inherit;opacity:.7;background:0 0;flex:none;margin:-3px -5px 0 0;padding:3px;display:inline-flex}.notice-dismiss:hover{opacity:1}.notice-dismiss>svg{width:14px;height:14px}.empty{color:var(--ink-muted);align-items:flex-start;gap:14px;margin:0;display:flex}.empty>svg{width:22px;height:22px;color:var(--ink-faint);flex:none;margin-top:1px}.empty strong{color:var(--ink);font-size:14px;font-weight:600;display:block}.empty .hint{max-width:56ch;margin-top:2px}code{font-family:var(--font-mono);font-size:.92em}[data-rerun-line] code{display:block}.gone{z-index:2147483647;background-color:var(--shell);background-image:radial-gradient(circle, var(--ground-dot) 1px, transparent 1.6px);background-size:var(--dot-pitch) var(--dot-pitch);place-items:center;padding:24px;display:grid;position:fixed;inset:0}.gone p{text-align:center;max-width:40rem;color:var(--ink-muted);font-size:14px}.gone code{color:var(--ink)}.chev{width:16px;height:16px;color:var(--ink-faint);flex:none;transition:transform .12s,color .12s}@media (prefers-reduced-motion:reduce){.chev{transition:none}}.hidden{display:none}.branding-controls{max-width:420px}.branding-controls .segmented,.run-size .segmented,.pull-requests .segmented,.export-quality .segmented,.inspector .segmented,#stage-bar .segmented,#stage-tools .segmented{border:1px solid var(--ring-strong);border-radius:var(--radius);width:fit-content;display:inline-flex;overflow:hidden}.branding-controls .segment,.run-size .segment,.pull-requests .segment,.export-quality .segment,.inspector .segment,#stage-bar .segment,#stage-tools .segment{background:var(--control);color:var(--ink-muted);font:inherit;cursor:pointer;border:0;padding:6px 14px}.branding-controls .segment+.segment,.run-size .segment+.segment,.pull-requests .segment+.segment,.export-quality .segment+.segment,.inspector .segment+.segment,#stage-bar .segment+.segment,#stage-tools .segment+.segment{border-left:1px solid var(--ring-strong)}.branding-controls .segment[aria-checked=true],.run-size .segment[aria-checked=true],.pull-requests .segment[aria-checked=true],.export-quality .segment[aria-checked=true],.inspector .segment[aria-checked=true],#stage-bar .segment[aria-checked=true],#stage-tools .segment[aria-checked=true]{background:var(--accent-soft);color:var(--ink)}.branding-controls .colour-row{font-family:var(--font-mono);align-items:center;gap:8px;display:flex}.branding-controls input[type=color]{border:1px solid var(--ring-strong);background:var(--control);cursor:pointer;border-radius:6px;flex:none;width:32px;height:32px;padding:0}.branding-controls .colour-text{flex:1;min-width:0}.branding-controls .colour-text[aria-invalid=true]{outline:1px solid var(--error)}.branding-controls .colour-error{color:var(--error);margin:4px 0 0;font-size:12px}.branding-controls .colour-error:empty,.branding-controls [data-colour-note]:empty{display:none}.branding-controls [data-colour-note]{margin:4px 0 0;font-size:12px}.branding-controls [data-swap]{padding:0}.branding-controls .corner-frame{aspect-ratio:16/9;box-sizing:border-box;border:1px solid var(--ring-strong);background:var(--control);border-radius:8px;justify-self:center;width:100%;max-width:220px;position:relative}.branding-controls .corner-frame-rec{border:1px solid var(--ring);background:var(--card);pointer-events:none;border-radius:4px;position:absolute;inset:22% 16%}.branding-controls .corner{cursor:pointer;background:0 0;border:0;border-radius:6px;width:34%;height:40%;padding:0;position:absolute}.branding-controls .corner:hover{background:var(--control-hover)}.branding-controls .corner:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}.branding-controls .corner:after{content:"";box-sizing:border-box;border:1px dashed var(--ring-strong);border-radius:2px;width:22px;height:10px;position:absolute}.branding-controls .corner[data-logo-corner=top-left]{top:0;left:0}.branding-controls .corner[data-logo-corner=top-right]{top:0;right:0}.branding-controls .corner[data-logo-corner=bottom-left]{bottom:0;left:0}.branding-controls .corner[data-logo-corner=bottom-right]{bottom:0;right:0}.branding-controls .corner[data-logo-corner=top-left]:after{top:8px;left:8px}.branding-controls .corner[data-logo-corner=top-right]:after{top:8px;right:8px}.branding-controls .corner[data-logo-corner=bottom-left]:after{bottom:8px;left:8px}.branding-controls .corner[data-logo-corner=bottom-right]:after{bottom:8px;right:8px}.branding-controls .corner[aria-checked=true]:after{background:var(--accent);border:0}.branding-controls .kit-picker-wrap{position:relative}.branding-controls .kit-picker{border:1px solid var(--ring-strong);background:var(--control);width:100%;min-width:0;height:36px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;border-radius:8px;align-items:center;gap:8px;padding:0 10px;font-size:13px;font-weight:600;display:flex}.branding-controls .kit-picker:hover{background:var(--control-hover)}.branding-controls .kit-picker:focus-visible{outline:2px solid var(--focus);outline-offset:1px}.branding-controls .kit-picker>svg{width:14px;height:14px;color:var(--ink-muted);flex:none;margin-left:auto}.branding-controls .kit-picker-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.branding-controls .kit-picker-none{color:var(--ink-muted);font-weight:500}.branding-controls .kit-swatch{border:1px solid var(--ring);width:22px;height:14px;color:var(--error);border-radius:3px;flex:none;place-items:center;display:inline-grid}.branding-controls .kit-swatch svg{width:10px;height:10px}.branding-controls .kit-edited{color:var(--warn);white-space:nowrap;align-items:center;gap:5px;font-size:12px;font-weight:500;display:inline-flex}.branding-controls .kit-edited:before{content:"";background:currentColor;border-radius:50%;width:6px;height:6px}.branding-controls .kit-menu{z-index:5;border:1px solid var(--ring-strong);background:var(--card);box-shadow:var(--shadow-overlay);border-radius:10px;gap:2px;padding:6px;display:grid;position:absolute;top:calc(100% + 4px);left:0;right:0}.branding-controls .kit-menu[hidden]{display:none}.branding-controls .kit-menu-item{height:34px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;padding:0 8px;font-size:13px;display:flex}.branding-controls .kit-menu-item:hover:not(:disabled),.branding-controls .kit-menu-item:focus-visible{background:var(--control-hover);outline:none}.branding-controls .kit-menu-item:disabled{opacity:.45;cursor:default}.branding-controls .kit-menu-item[aria-checked=true]{font-weight:600}.branding-controls .kit-menu-item>svg{flex:none;width:15px;height:15px}.branding-controls .kit-menu-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.branding-controls .kit-menu-meta{color:var(--ink-muted);align-items:center;gap:6px;margin-left:auto;display:inline-flex}.branding-controls .kit-menu-meta svg{width:14px;height:14px}.branding-controls .kit-menu-meta [data-icon=star]{fill:currentColor;width:12px;height:12px}.branding-controls .kit-menu-sep{background:var(--ring);height:1px;margin:4px 2px}.branding-controls .kit-naming{grid-template-columns:minmax(0,1fr) auto auto;gap:6px;display:grid}.branding-controls .kit-new-name{min-width:0;height:36px}.branding-controls .logo-row{grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:10px;display:grid}.branding-controls .logo-stack{align-content:center;gap:6px;display:grid}.branding-controls .logo-controls .btn{gap:8px}.branding-controls .logo-stack .btn{justify-content:flex-start}.branding-controls .logo-controls .btn svg{flex:none;width:15px;height:15px}.branding-controls .logo-thumb{--thumb-h:76px;--thumb-inset:10px;box-sizing:border-box;height:var(--thumb-h);min-width:0;padding:calc(var(--thumb-inset) - 1px);border:1px solid var(--ring-strong);background-color:var(--card);background-image:conic-gradient(var(--control) 25%, transparent 0 50%, var(--control) 0 75%, transparent 0);color:var(--error);background-size:12px 12px;border-radius:8px;place-items:center;display:grid}.branding-controls .logo-thumb-img{width:auto;max-width:100%;height:auto;max-height:calc(var(--thumb-h) - 2 * var(--thumb-inset));display:block}.branding-controls .logo-thumb svg{width:16px;height:16px}.branding-controls .logo-controls label.btn{align-items:center;display:inline-flex;position:relative}.branding-controls .logo-controls label.btn input[type=file]{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.kit-preview{width:100%;max-width:480px;height:auto;margin:8px 0 12px;display:block}.branding-controls .control-row,.branding-controls .slider-row{grid-template-columns:1fr auto;align-items:baseline;gap:12px 8px;margin:12px 0;display:grid}.branding-controls .slider-row{row-gap:6px}.branding-controls .control-row>:not(.control-label):not(.control-aside),.branding-controls .slider-row>input[type=range]{grid-column:1/-1;min-width:0;margin:0}.branding-controls .control-aside,.branding-controls .slider-row>.slider-value{color:var(--ink-muted);font-variant-numeric:tabular-nums}.branding-controls .control-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.branding-controls [data-logo-notes] p{margin:4px 0 0;font-size:12px}}.confirm-dialog{border-radius:var(--radius-card);background:var(--card);width:calc(100% - 32px);max-width:400px;max-height:calc(100vh - 32px);color:var(--ink);box-shadow:0 0 0 1px var(--ring);border:0;padding:0}.confirm-dialog::backdrop{background:#0307128c}.confirm-dialog form{text-align:center;flex-direction:column;padding:28px 28px 24px;font-size:14px;display:flex}.confirm-title{letter-spacing:-.02em;margin:0;font:700 22px/1.25 Outfit,ui-sans-serif,system-ui,sans-serif}.confirm-body{color:var(--ink-muted);margin:8px 0 0;line-height:1.5}.confirm-actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:24px;display:grid}.confirm-actions .btn{padding:10px 16px;font-size:14px}.confirm-actions .btn svg{flex:none;width:16px;height:16px}.confirm-actions .confirm-go-danger{color:#fff;background:#b42318}.confirm-actions .confirm-go-danger:not(:disabled):hover{background:#8f1c13}.confirm-dialog .btn:focus{outline:2px solid var(--focus);outline-offset:2px}body{font-family:Manrope,ui-sans-serif,system-ui,sans-serif}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/geist-variable.woff2)format("woff2")}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/geist-mono-variable.woff2)format("woff2")}:root[data-studio][data-theme=dark]{color-scheme:dark;--well:#070707;--bg:#0a0a0a;--bg-1:#101010;--bg-2:#151515;--bg-3:#1b1b1b;--bg-4:#232325;--line:#ffffff14;--line-2:#ffffff21;--line-3:#ffffff3d;--fill:#ffffff08;--fill-2:#ffffff12;--fill-3:#ffffff1c;--ink:#f4f4f5;--ink-2:#a1a1aa;--ink-3:#8f8f98;--ink-4:#7b7b84;--accent:#cdeb45;--ok:#5eead4;--danger:#f87171;--warn:#f5a969;--rec:#ff4d4f;--glow:#e4e4e721;--r-pill:999px;--r-frame:14px;--r-panel:12px;--r-field-lg:10px;--r-field:8px;--r-chip:6px;--sans:"Geist", system-ui, -apple-system, "Segoe UI", sans-serif;--mono:"Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;--shadow-pop:0 0 0 1px var(--line-2), 0 16px 40px -8px #000000b3;--shell:var(--bg);--stage-bed:var(--bg);--card:var(--bg-1);--ink-muted:var(--ink-2);--ink-faint:var(--ink-3);--ring:var(--line);--ring-strong:var(--line-2);--control:var(--fill);--control-hover:var(--fill-2);--control-ground:var(--fill);--control-hover-ground:var(--fill-2);--primary:var(--ink);--primary-hover:#fff;--primary-ink:var(--bg);--secondary:var(--ink);--secondary-hover:#fff;--secondary-ink:var(--bg);--accent-soft:#cdeb451a;--error:var(--danger);--error-soft:#f871711a;--error-ring:#f8717140;--warn-soft:#f5a9691a;--focus:var(--ink);--switch-off:var(--bg-4);--switch-knob:var(--ink);--slider-rest:var(--line-2);--ground-dot:transparent;--radius:var(--r-field);--radius-card:var(--r-panel);--font-mono:var(--mono);--shadow-overlay:0 16px 40px -8px #000000b3}[data-studio] body{font-family:var(--sans);letter-spacing:-.006em;-webkit-font-smoothing:antialiased}[data-studio] .topbar{backdrop-filter:blur(16px);border-bottom:1px solid var(--line);background:#0a0a0ac7}[data-studio] .topbar-inner{gap:28px;max-width:1202px;height:55px;min-height:55px;padding-block:0;padding-inline:32px}[data-studio] .logomark{height:20px;color:var(--ink);align-items:center}[data-studio] .logomark .disc,[data-studio] .logomark .logomark-word{display:none}[data-studio] .logomark .figure{height:20px;display:flex}[data-studio] .tabs{gap:22px;margin-left:28px}@media (width>=560px){[data-studio] .tabs svg{display:none}}[data-studio] .tabs a{letter-spacing:-.006em;color:var(--ink-2);border-radius:0;padding:6px 0;font-size:13.5px;font-weight:400}[data-studio] .tabs a:hover,[data-studio] .tabs a[aria-current=page]{color:var(--ink);background:0 0}[data-studio] .page{border-left:1px solid var(--line);border-right:1px solid var(--line);max-width:1202px;min-height:calc(100vh - 56px);padding:0 0 48px;display:flow-root}[data-studio] #notice:not(.hidden){margin:20px 32px 0}[data-studio] .library,[data-studio] .settings{--head-h:90px;gap:0;position:relative}[data-studio] .library-side,[data-studio] .settings-side{padding:32px 16px 20px}[data-studio] .library-side h1,[data-studio] .settings-side h1{margin:0 0 calc(var(--head-h) - 32px - 32px + 20px);font:500 32px / 1 var(--sans);letter-spacing:-.04em;color:var(--ink);padding-left:16px}@media (width>=1024px){[data-studio] .library{grid-template-columns:220px minmax(0,1fr)}[data-studio] .library-content{padding:calc(var(--head-h) + 20px) 32px 0}[data-studio] .library:before,[data-studio] .library:after{content:"";background:var(--line);pointer-events:none;position:absolute}[data-studio] .library:before{left:0;right:0;top:var(--head-h);height:1px}[data-studio] .library:after{left:220px;top:var(--head-h);width:1px;bottom:-48px}}@media (width>=768px){[data-studio] .settings{grid-template-columns:220px minmax(0,1fr)}[data-studio] .settings .content{max-width:784px;padding:calc(var(--head-h) + 20px) 32px 0}[data-studio] .settings:before,[data-studio] .settings:after{content:"";background:var(--line);pointer-events:none;position:absolute}[data-studio] .settings:before{left:0;right:0;top:var(--head-h);height:1px}[data-studio] .settings:after{left:220px;top:var(--head-h);width:1px;bottom:-48px}}@media (width<=1023px){[data-studio] .library-side{border-bottom:1px solid var(--line)}[data-studio] .library-side h1{margin-bottom:0}[data-studio] .library-content{padding:28px 32px 0}}@media (width<=767px){[data-studio] .settings-side{border-bottom:1px solid var(--line)}[data-studio] .settings .content{padding:28px 32px 0}}[data-studio] .side-item,[data-studio] .section-nav a{border-radius:var(--r-field);min-height:32px;color:var(--ink-2);padding:0 10px;font-size:13.5px;font-weight:400}[data-studio] .side-item:hover,[data-studio] .section-nav a:hover{color:var(--ink);background:var(--fill)}[data-studio] .side-item[aria-current=true],[data-studio] .section-nav a[aria-current=true]{color:var(--ink);background:var(--fill-2)}[data-studio] .section-nav svg{color:var(--ink-3);opacity:1}[data-studio] .side-count,[data-studio] .nav-count{font-family:var(--mono);color:var(--ink-4);font-size:11.5px}[data-studio] :is(h1,h2,h3,h4,.confirm-title,.storage-title),[data-studio] #name{font-family:var(--sans);letter-spacing:-.015em;font-weight:500}[data-studio] :focus-visible{outline:2px solid var(--focus);outline-offset:2px}[data-studio] .btn{border-radius:var(--r-pill);letter-spacing:-.01em;font-size:13px;font-weight:500;transition:background-color .15s,box-shadow .15s,color .15s}[data-studio] .btn:not(.btn-icon){min-height:32px;padding:0 14px}[data-studio] .btn-primary{background:var(--ink);color:var(--bg)}[data-studio] .btn-primary:not(:disabled):hover{background:#fff}[data-studio] :is(.btn-secondary,.btn-quiet:not(.btn-icon)){background:var(--fill);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line-2)}[data-studio] :is(.btn-secondary,.btn-quiet:not(.btn-icon)):not(:disabled):hover{background:var(--fill);box-shadow:inset 0 0 0 1px var(--line-3)}[data-studio] .btn-quiet.btn-icon{color:var(--ink-2);background:0 0}[data-studio] .btn-quiet.btn-icon:not(:disabled):hover{background:var(--fill-2);color:var(--ink)}[data-studio] .btn-danger{color:var(--danger)}[data-studio] .btn-link{color:var(--ink-2);font-weight:500}[data-studio] :is(.branding-controls,.run-size,.pull-requests,.export-quality,.inspector,#stage-bar,#stage-tools) .segmented{border-radius:var(--r-pill);background:var(--bg-1);box-shadow:inset 0 0 0 1px var(--line-2);border:0;gap:0;padding:2px;overflow:visible}[data-studio] :is(.branding-controls,.run-size,.pull-requests,.export-quality,.inspector,#stage-bar,#stage-tools) .segment{border-radius:var(--r-pill);min-height:26px;color:var(--ink-3);background:0 0;border:0;padding:0 11px;font-size:12.5px;font-weight:400}[data-studio] :is(.branding-controls,.run-size,.pull-requests,.export-quality,.inspector,#stage-bar,#stage-tools) .segment+.segment{border-left:0}[data-studio] :is(.branding-controls,.run-size,.pull-requests,.export-quality,.inspector,#stage-bar,#stage-tools) .segment[aria-checked=true]{background:var(--bg-4);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line-2)}[data-studio] .switch:not([data-flip]){--switch-travel:12px;width:30px;height:18px}[data-studio] .switch:not([data-flip]) .switch-track{background:var(--bg-4);box-shadow:inset 0 0 0 1px var(--line-2)}[data-studio] .switch:not([data-flip]) .switch-track:after{background:var(--ink-3);width:12px;height:12px;box-shadow:none}[data-studio] .switch:not([data-flip]) input:checked+.switch-track{background:var(--ink);box-shadow:none}[data-studio] .switch:not([data-flip]) input:checked+.switch-track:after{background:var(--bg)}[data-studio] input[type=range]{--slider-rest:var(--ink)}[data-studio] input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(to right, var(--slider-fill,var(--slider-rest)) 0 var(--fill,0%), var(--line-2) var(--fill,0%) 100%);height:2px}[data-studio] input[type=range]::-webkit-slider-thumb{background:var(--ink);box-shadow:0 0 0 3px var(--bg-1);margin-top:-5px}[data-studio] input[type=range]:is(:hover:not(:disabled),:focus-visible,:active){--slider-fill:var(--ink)}[data-studio] .notice{border-radius:var(--r-field-lg);background:var(--bg-1);box-shadow:inset 0 0 0 1px var(--line-2);color:var(--ink-2);font-size:13px}[data-studio] :is(.notice-error,.notice-warn){background:var(--bg-1);color:var(--ink-2);border:0;font-weight:400}[data-studio] .notice-error .notice-line>svg{color:var(--danger)}[data-studio] .notice-warn .notice-line>svg{color:var(--warn)}[data-studio] .notice-title{color:var(--ink);font-weight:500}[data-studio] .confirm-dialog{border-radius:var(--r-frame);background:var(--bg-2);box-shadow:var(--shadow-pop)}[data-studio] .meter-fill,[data-studio] .branding-controls .corner[aria-checked=true]:after{background:var(--ink)}[data-studio] input[type=checkbox]{accent-color:var(--ink)}[data-studio] #rail .btn[aria-pressed=true]{background:var(--fill-3);color:var(--ink)}[data-studio] #transport .transport-button[data-active]:not([data-transport-play]),[data-studio] .rate{color:var(--ink)}[data-studio] .cursor-style[aria-checked=true]{border-color:var(--ink)}[data-studio] .kit-pick[aria-pressed=true]{box-shadow:inset 0 0 0 1.5px var(--ink)}[data-studio] .kit-pick[aria-pressed=true]:not(:focus-visible){outline:0}[data-studio] .inspector .export-progress{accent-color:var(--accent)}[data-studio] #stage-tools .chip{border-radius:var(--r-pill);color:var(--ink-2);font-weight:500}[data-studio] .library-total .storage-label{color:var(--ink-3);font-weight:400}[data-studio] .library-total{color:var(--ink-2);font-family:var(--mono);gap:6px;font-size:12px}[data-studio] .library-total .storage-label{font-family:var(--sans);font-size:12.5px}[data-studio] .section-head{width:100%;padding:4px 0}[data-studio] .section-head:after{content:"";background:var(--line);flex:1;height:1px}[data-studio] .section-head h2{font:400 11.5px / 1 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3)}[data-studio] .section-count{font-family:var(--mono);color:var(--ink-4);font-size:11.5px;font-weight:400}[data-studio] .section-head .chev{color:var(--ink-4)}[data-studio] .section[open]+.section{margin-top:36px}[data-studio] .rows{gap:16px}[data-studio] article.card{border-radius:var(--r-panel);background:var(--bg-1);box-shadow:inset 0 0 0 1px var(--line);padding:6px;transition:box-shadow .15s}[data-studio] article.card:hover{background:var(--bg-1);box-shadow:inset 0 0 0 1px var(--line-3)}[data-studio] [data-preview]{border-radius:var(--r-field);background:var(--bg-2);box-shadow:inset 0 0 0 1px var(--line)}[data-studio] [data-duration]{border-radius:var(--r-chip);backdrop-filter:blur(6px);color:var(--ink);font:400 11px / 1.4 var(--mono);background:#0a0a0ab8;padding:2px 6px}[data-studio] .row-text{padding:10px 2px 2px}[data-studio] [data-name]{letter-spacing:-.012em;font-size:14px;font-weight:500}[data-studio] .row-line{font-size:12.5px}[data-studio] :is(.row-meta,.row-size){color:var(--ink-3)}[data-studio] .row-size{font-family:var(--mono);font-size:11.5px}[data-studio] article.card[data-unreadable-row] [data-unreadable-name]{font-family:var(--mono);color:var(--ink);font-size:12px}[data-studio] article.card[data-unreadable-row] [data-action=delete]{color:var(--danger)}[data-studio] .empty-card{border-radius:var(--r-panel);background:radial-gradient(60% 80% at 50% 100%, var(--glow), transparent 70%), var(--bg-1);box-shadow:inset 0 0 0 1px var(--line)}[data-studio] .settings .section-body{border-radius:var(--r-panel);background:var(--bg-1);box-shadow:inset 0 0 0 1px var(--line)}[data-studio] .settings .section-head{margin-bottom:12px}[data-studio] .kit-strip{margin-bottom:14px}[data-studio] .kit-tile{width:148px}[data-studio] .kit-pick{border-radius:var(--r-panel);background:var(--bg-2);box-shadow:inset 0 0 0 1px var(--line);border:0}[data-studio] .kit-pick:hover{box-shadow:inset 0 0 0 1px var(--line-3)}[data-studio] .kit-thumb{border-radius:var(--r-field)}[data-studio] .kit-tile-name{padding:2px 2px 0;font-size:13px;font-weight:500}[data-studio] .kit-star{border-radius:var(--r-chip);color:var(--ink);background:#0a0a0a8c}[data-studio] .kit-star[aria-pressed=true]{color:var(--accent)}[data-studio] .kit-new{border:1px dashed var(--line-3);border-radius:var(--r-panel);color:var(--ink-3);font-size:12.5px}[data-studio] .kit-new:hover{border-color:var(--ink-3);color:var(--ink)}[data-studio] .kit-name{letter-spacing:-.015em;font-size:15px;font-weight:500}[data-studio] .kit-head .btn:not(.btn-icon){min-height:28px;padding:0 12px;font-size:12.5px}[data-studio] .kit-head [data-kit-delete]{color:var(--danger)}[data-studio] .kit-hero{border-radius:var(--r-panel);background:var(--bg);box-shadow:inset 0 0 0 1px var(--line);padding:8px}@media (height<=899px){[data-studio] .kit-hero .kit-preview{max-height:max(140px,100vh - 590px)}}[data-studio] .branding-group-title{font:400 11.5px / 1 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3);margin:0 0 10px}@container (width>=600px){[data-studio] .kit-controls .branding-controls{border-top:1px solid var(--line);gap:0;margin-top:12px}[data-studio] .kit-controls .branding-group{align-self:stretch;padding:12px 20px 6px}[data-studio] .kit-controls .branding-group:first-child{padding-left:0}[data-studio] .kit-controls .branding-group:last-child{padding-right:0}[data-studio] .kit-controls .branding-group+.branding-group{border-left:1px solid var(--line)}}[data-studio][data-theme=dark]:root{--seam:0px;--float:none;--radius-float:0px;--rail-w:52px}[data-studio] body{padding:0}[data-studio] body>header:not(.topbar){border-bottom:1px solid var(--line);box-sizing:border-box;gap:12px;min-height:52px;padding:0 12px 0 8px}[data-studio] .head-card{height:51px;box-shadow:none;background:0 0;border-radius:0;padding:0}[data-studio] .head-take{min-width:0}[data-studio] .head-divider{background:var(--line-2);height:18px}[data-studio] #name{letter-spacing:-.015em;text-overflow:ellipsis;font-size:14.5px;font-weight:500}[data-studio] .take-meta{color:var(--ink-3);font-family:var(--mono);font-size:12px}[data-studio] button.take-meta{border-radius:var(--r-chip)}[data-studio] button.take-meta:hover,[data-studio] button.take-meta[aria-expanded=true]{background:var(--fill-2);color:var(--ink-2)}[data-studio] #take-info{border-radius:var(--r-frame);background:var(--bg-2);box-shadow:var(--shadow-pop)}[data-studio] #take-info .info-group+.info-group{border-top-color:var(--line)}[data-studio] #take-info .info-key,[data-studio] #take-info .info-label{color:var(--ink-3)}[data-studio] #take-info .info-value.mono{font-family:var(--mono);color:var(--ink-2)}[data-studio] #take-info .output+.output{border-top-color:var(--line)}[data-studio] #take-info .chip{background:var(--fill-2);box-shadow:inset 0 0 0 1px var(--line);color:var(--ink-3)}[data-studio] #take-info .chip-warn{color:var(--warn)}[data-studio] #take-info button.chip:hover{color:var(--ink)}[data-studio] #take-info .output-meta{color:var(--ink-3);font-family:var(--mono);font-size:11.5px}[data-studio] #status:has(>:not(:empty):not(.hidden)){border-bottom:1px solid var(--line);padding:10px 12px}[data-studio] body>main{background:var(--well);padding:20px}[data-studio] #preview{border-radius:var(--r-chip)}[data-studio] #rail{background:var(--bg);box-shadow:none;border-left:1px solid var(--line);border-radius:0;align-self:stretch;padding:10px 0}[data-studio] body>aside{background:var(--bg);box-shadow:none;border-left:1px solid var(--line);border-radius:0}[data-studio] .inspector{padding:16px 18px}[data-studio] .inspector-close{top:9px;right:11px}[data-studio] .inspector h2{letter-spacing:-.015em;font-size:14.5px;font-weight:500}[data-studio] #dock{background:var(--bg);box-shadow:none;border-top:1px solid var(--line);border-radius:0}@media (width<=951px){[data-studio] body:not([data-panel=closed])>aside{border-left:0;border-top:1px solid var(--line)}}[data-studio][data-theme=dark]:root{--lane-clip:#82b9464d;--lane-clip-ink:var(--ink);--lane-clip-glyph:#9ccc5c;--lane-clip-pointer:#c5e59a;--lane-zoom:#967deb4d;--lane-zoom-ink:#f1edff;--lane-zoom-glyph:#b59fff;--lane-mask:#e16e5f4d;--lane-mask-ink:#ffe6e1;--lane-mask-glyph:#fb8e7c;--lane-clip-hover:#82b94673;--lane-zoom-hover:#967deb73;--lane-mask-hover:#e16e5f73;--track:var(--fill);--playhead:var(--ink)}[data-studio] .lane[data-lane=clip]{--clip-fill-hover:var(--lane-clip-hover)}[data-studio] .lane[data-lane=zoom]{--clip-fill-hover:var(--lane-zoom-hover)}[data-studio] .lane[data-lane=mask]{--clip-fill-hover:var(--lane-mask-hover)}[data-studio] .seg{border-radius:var(--r-chip);box-shadow:none;font-weight:500}[data-studio] .seg:not([data-pieces]):is(:hover,[data-dragging]),[data-studio] .track:has(>.tick:hover,>.handle:hover)>.seg[data-clip-block]:not([data-pieces]){background-color:var(--clip-fill-hover,var(--clip-fill))}[data-studio] .seg[data-kind=zoom]{font-family:var(--sans);font-variant-numeric:tabular-nums;font-size:11.5px;font-weight:500}[data-studio] .seg[data-selected]:before{border-radius:var(--r-chip);border-width:1.5px}[data-studio] .track{border-radius:var(--r-chip);box-shadow:inset 0 0 0 1px var(--line)}[data-studio] .lane-head{color:var(--ink-2);font-size:12.5px;font-weight:400}[data-studio] .lane[data-lane=clip] .tick[data-verb]{--tick-halo:#2f3d22;width:24px;height:24px;margin:-12px 0 0 calc(-12px + var(--tick-stack,0) * 14px);box-shadow:none;color:var(--tick-input);background:0 0;border-radius:6px;place-items:center;display:grid;transform:none}[data-studio] .lane[data-lane=clip] .tick[data-verb] svg{width:16px;height:16px;filter:drop-shadow(0 0 1px var(--tick-halo)) drop-shadow(0 0 2px var(--tick-halo));display:block}[data-studio] .lane[data-lane=clip] .tick:is([data-verb=moveTo],[data-verb=scrollTo]){color:var(--tick-pointer)}[data-studio] .lane[data-lane=clip] .tick[data-verb=waitFor]{color:var(--tick-wait)}[data-studio] .lane[data-lane=clip] .tick[data-verb][data-cut]{opacity:.45}[data-studio] .lane[data-lane=clip] .tick[data-verb][data-flag]{color:var(--warn)}[data-studio] .lane[data-lane=clip] .tick[data-verb]:hover{background:#ffffff14}[data-studio] .lane[data-lane=clip] .tick[data-verb][data-selected]{color:var(--ink);background:#ffffff2e;outline:none}[data-studio] .lane[data-lane=clip] .tick[data-verb][data-selected] svg{filter:none}[data-studio] .ruler .tick{color:var(--ink-4);font-family:var(--sans);font-variant-numeric:tabular-nums;font-size:11px}[data-studio] #toolbar-clock .stage-clock{font-family:var(--sans);font-variant-numeric:tabular-nums;font-size:12.5px}[data-studio] .playhead{width:1px;box-shadow:0 0 0 .5px #00000080}[data-studio] .grab:before{border-radius:3px;width:11px;height:14px;top:3px;box-shadow:0 0 0 .5px #00000080}[data-studio] .confirm-actions .confirm-go-danger{background:var(--fill);color:var(--danger);box-shadow:inset 0 0 0 1px #f8717166}[data-studio] .confirm-actions .confirm-go-danger:not(:disabled):hover{background:#f871711a;box-shadow:inset 0 0 0 1px #f8717199}[data-studio] .notice-error.notice-line>svg{color:var(--danger)}[data-studio] .notice-warn.notice-line>svg{color:var(--warn)}[data-studio] .seg[data-clamped=true]{box-shadow:inset 0 0 0 2px var(--warn)}[data-studio] :is(.side-item,.section-nav a):is([aria-current=true],:hover) :is(.side-count,.nav-count){color:var(--ink-3)}[data-studio] input:is([type=text],[type=search],[type=number],:not([type])):not(#name):not(.kit-name):not([data-name]),[data-studio] select{border-radius:var(--r-field);background:var(--bg-1);height:32px;box-shadow:inset 0 0 0 1px var(--line-2);color:var(--ink);border:0;padding:0 10px;font-size:13px}[data-studio] .branding-controls input[type=color]{border-color:var(--line-2);border-radius:var(--r-chip)}[data-studio] .shortcuts-search{background:var(--bg);box-shadow:inset 0 0 0 1px var(--line-2)}[data-studio] .shortcuts-row:hover{background:var(--fill-2)}[data-studio] .shortcuts-group{color:var(--ink-3)}[data-studio] .keycap{background:var(--bg-3);box-shadow:inset 0 0 0 1px var(--line-2);color:var(--ink-2);font-family:var(--mono);border-radius:5px;font-weight:400}[data-studio] #shortcuts-open[aria-pressed=true]{background:var(--fill-2);color:var(--ink)}[data-studio] .tooltip{background:var(--bg-3);box-shadow:var(--shadow-pop);border-radius:8px;font-size:12.5px}[data-studio] .keycap[data-symbol]{font-family:system-ui,-apple-system,sans-serif;font-size:14px}[data-studio] .notice .btn:not(.btn-icon){min-height:28px;padding:0 12px;font-size:12.5px}[data-studio] .logomark .figure svg{fill:currentColor;width:auto;height:20px}