carlos / platform Public

controller brief: build slice 2 console secrets

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 389ff1387b8cd20eb2f12a73e74e935427a2170f parent 476a5b8
4 files changed, +4,304 −0
  • docs/superpowers/specs/CONTROLLER-BRIEF-console-secrets.md +38 −0
  • docs/superpowers/specs/settings-secrets-v2.html +1,430 −0
  • docs/superpowers/specs/settings-secrets-v3.html +1,433 −0
  • docs/superpowers/specs/settings-secrets.html +1,403 −0

CI passed — run details

Intent

Human

<paseo-system version="1" kind="agent-message" source-agent-id="0c43522f-abd7-4e8b-a287-4ece2f0919cf" message-id="88c40b1b-5e9f-44ad-9033-9e5325fd2528" source-agent-title="Console secrets spec rev 3 + Astra round 3 (design)"> Done. The cut is applied, the branch is pushed, and design-console-secrets on origin is at 476a5b8f, which includes 8ef4189a and 59b6ee71. Spec rev 3.1: Save requests no restart, and the button is plain &apos;Save&apos;. The &apos;restarted by Carloku&apos; class is kept but always empty, and a guard test fails if Save writes any restart request. A sidecar counts as &apos;updates itself&apos; only when its box&apos;s report shows the rollout manager manages it. Unknown or unmanaged sidecars go under &apos;restart it yourself&apos; with &apos;check Running and restart the app if it hasn&apos;t picked this up&apos;. Opted-in TCP routes say &apos;restart it the way you started it&apos;. Rev 3&apos;s sidecar change to the boxes is dropped. One gap for the builder: the box status report may not yet say whether its rollout manager manages a sidecar. If it doesn&apos;t, they add that field, and sidecars are labelled unknown until it ships. Mockup settings-secrets-v3.html is in the companion, checked light and dark at 390 and 1280: Save button, no &apos;Restart requested&apos; row, with per-host &apos;how&apos; lines under &apos;Restart it yourself&apos;. Stopping now. </paseo-system>

Human

<task-notification> <task-id>bvyhq2ebj</task-id> <tool-use-id>toolu_016dVu7TpzuWbELRxu5tXfAs</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/a1de5273-c148-49b8-8267-3dee9d49c9c1/tasks/bvyhq2ebj.output</output-file> <status>completed</status> <summary>Background command "Relay Paul's acceptance of the restart cut" completed (exit code 0)</summary> </task-notification>

Human

Go ahead.

diff --git a/docs/superpowers/specs/CONTROLLER-BRIEF-console-secrets.md b/docs/superpowers/specs/CONTROLLER-BRIEF-console-secrets.md
new file mode 100644
index 000000000..657f8a924
--- /dev/null
+++ b/docs/superpowers/specs/CONTROLLER-BRIEF-console-secrets.md
@@ -0,0 +1,38 @@
+# Controller brief: build slice 2, settings and secrets in the console
+
+Coordinator: session 55f1f6a (platform-44). Paul APPROVED the spec on
+2026-11-08 ("Go ahead"); under his programme ruling, plan, build, reviews,
+Luna copy, merge and console release go ahead without asking. Paul
+2026-11-08: Opus implements; Astra (and/or Fable) reviews.
+
+Worktree (all work here; never the base checkout):
+/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-console-secrets
+(branch design-console-secrets; identity set). Spec (binding):
+docs/superpowers/specs/2026-11-08-console-secrets-design.md (rev 3.1; Astra
+spec rounds 1-3 done). Approved mockup: the newest settings-secrets-v3.html
+in the visual companion dir named in ~/.cache/console-secrets-mockup/screen_dir
+(copy it into docs/superpowers/specs/ for reference). Read AGENTS.md first.
+
+Do, in order: plan (superpowers:writing-plans) -> build
+(superpowers:subagent-driven-development; Opus implementers; per-task review
+sized to risk: the browser sealing + interop vectors, the shared validation
+extraction, the save handler (CSRF, membership, CAS), and the route
+classifier get their own Astra review; the rest one branch review) ->
+UI from the mockup using existing components, plus the mockup's one new
+style block moved into the console stylesheet AND documented in
+docs/console-styleguide.md (the drift test must pass) -> Luna copy pass
+under Paul's delegation (no em/en dashes, brand via {console}) -> census
+(cross-family Astra verdict on #280) -> Astra branch review (max 3 rounds;
+stopping rule 2: escalate to me) -> CI green -> squash-merge (subject < 80
+chars) -> release via the agent manager (`paseo send
+8a3d302a-eac7-407c-b61c-f5ccc66b5544`), console-only unless the box status
+field from the spec's builder gap requires a box release (then say so and
+let 8a3d302 schedule it). Report to me with `paseo send 55f1f6a`, including
+rulings you made and their cost if wrong. Escalate instead of deciding: a
+spec gap that changes what a person sees, stopping rule 2, anything on
+flagship beyond the release, spend.
+
+Environment: Go commands need the sandbox disabled (default GOCACHE); only
+touched packages' tests with -run locally; never git stash; scratch in
+$TMPDIR, cleaned; never bind 0.0.0.0; don't spawn Anthropic reviewers from
+Codex.
diff --git a/docs/superpowers/specs/settings-secrets-v2.html b/docs/superpowers/specs/settings-secrets-v2.html
new file mode 100644
index 000000000..8470c4c75
--- /dev/null
+++ b/docs/superpowers/specs/settings-secrets-v2.html
@@ -0,0 +1,1430 @@
+<!doctype html>
+<html lang="en">
+<head>
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<title>Mockup</title>
+<style>
+
+
+
+:root {
+ color-scheme: light dark;
+
+
+ --rst-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
+
+
+ --rst-radius: 6px;
+ --rst-radius-sm: 4px;
+ --rst-radius-pill: 999px;
+
+
+ --rst-bg: light-dark(#fbfbfc, #0c0d0f);
+ --rst-surface: light-dark(#ffffff, #141518);
+ --rst-surface-2: light-dark(#f3f3f5, #18191d);
+ --rst-line: light-dark(#e6e6ea, #26282e);
+
+ --rst-line-strong: light-dark(#868691, #71737c);
+ --rst-header-rule: var(--rst-line);
+
+
+ --rst-text: light-dark(#18181b, #ededf0);
+ --rst-text-muted: light-dark(#52525c, #a1a1aa);
+ --rst-text-faint: light-dark(#6b6b75, #8c8c96);
+
+
+ --rst-accent: light-dark(#1f56d6, #7aa2ff);
+ --rst-accent-strong: light-dark(color-mix(in srgb, var(--rst-accent, #1f56d6) 80%, #000000), color-mix(in srgb, var(--rst-accent, #7aa2ff) 68.5%, #ffffff));
+ --rst-accent-soft: light-dark(#ecf1ff, #16234a);
+ --rst-on-accent: light-dark(#ffffff, #0c0d0f);
+
+
+ --rst-tone-neutral-fg: light-dark(#374151, #c3c9d1);
+ --rst-tone-neutral-bg: light-dark(#eef0f2, #262c34);
+ --rst-tone-positive-fg: light-dark(#166534, #6ee7a8);
+ --rst-tone-positive-bg: light-dark(#dcfce7, #10281c);
+ --rst-tone-warning-fg: light-dark(#854d0e, #f0c46a);
+ --rst-tone-warning-bg: light-dark(#fef3c7, #2c2110);
+ --rst-tone-negative-fg: light-dark(#b91c1c, #f79aa0);
+ --rst-tone-negative-bg: light-dark(#fee2e2, #331819);
+
+
+ --rst-shadow-pop: 0 2px 4px light-dark(rgba(16, 24, 40, 0.06), rgba(0, 0, 0, 0.35)), 0 8px 16px -4px light-dark(rgba(16, 24, 40, 0.1), rgba(0, 0, 0, 0.5));
+
+ --rst-shadow-knob: 0 1px 2px light-dark(rgba(16, 24, 40, 0.22), rgba(0, 0, 0, 0.5)), 0 0 0 0.5px light-dark(rgba(16, 24, 40, 0.08), rgba(0, 0, 0, 0.3));
+ --rst-shadow-knob-hover: 0 1.5px 3px light-dark(rgba(16, 24, 40, 0.26), rgba(0, 0, 0, 0.58)), 0 0 0 0.5px light-dark(rgba(16, 24, 40, 0.08), rgba(0, 0, 0, 0.3));
+ --rst-shadow-lift: 0 1px 2px light-dark(rgba(16, 24, 40, 0.08), rgba(0, 0, 0, 0.3));
+ --rst-overlay: light-dark(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.6));
+
+
+ --rst-accent-fill: light-dark(#2257df, #2f61e8);
+ --rst-accent-fill-hover: light-dark(#1d4dc8, #2956d0);
+ --rst-accent-fill-edge: light-dark(#153ca0, #1f43a6);
+ --rst-accent-fill-edge-hover: light-dark(#12358f, #1a3b95);
+ --rst-on-accent-fill: #ffffff;
+ --rst-danger-fill: light-dark(#c62f2f, #c43232);
+ --rst-danger-fill-hover: light-dark(#b12929, #af2c2c);
+ --rst-danger-fill-edge: light-dark(#8d1f1f, #8c2121);
+ --rst-danger-fill-edge-hover: light-dark(#7e1a1a, #7d1d1d);
+ --rst-on-danger-fill: #ffffff;
+ --rst-on-danger-fill-hover: #ffffff;
+ --rst-danger-hover-filter: none;
+
+
+ --rst-control-face: light-dark(#ffffff, #141518);
+ --rst-control-face-hover: light-dark(#f7f8fa, #1b1d22);
+ --rst-control-face-press: light-dark(#e6e9ee, #202329);
+ --rst-control-border: light-dark(#d0d4dc, #343843);
+ --rst-control-border-hover: light-dark(#8a8a95, #71737c);
+ --rst-control-text-hover: light-dark(#18181b, #ededf0);
+ --rst-ghost-edge: transparent;
+ --rst-ghost-face-hover: light-dark(#f3f3f5, #18191d);
+ --rst-ghost-edge-hover: transparent;
+ --rst-summary-face: light-dark(#ffffff, #141518);
+ --rst-summary-face-hover: light-dark(#f7f8fa, #1b1d22);
+ --rst-summary-edge: light-dark(#d0d4dc, #343843);
+ --rst-summary-edge-hover: light-dark(#8a8a95, #71737c);
+
+ --rst-summary-radius: var(--rst-radius-sm);
+
+
+ --rst-depth-hl: light-dark(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.06));
+ --rst-depth-contact: light-dark(rgba(16, 24, 40, 0.1), rgba(0, 0, 0, 0.5));
+ --rst-depth-ambient: light-dark(rgba(16, 24, 40, 0.06), rgba(0, 0, 0, 0.35));
+ --rst-depth-face: 0.04;
+ --rst-press-drop: 1px;
+
+
+ --rst-knob: #ffffff;
+ --rst-knob-shade: light-dark(#f1f3f6, #d9dee8);
+ --rst-track-off: light-dark(#8a8a95, #71737c);
+
+ --rst-switch-w: 40px;
+ --rst-switch-h: 23px;
+ --rst-switch-knob: 19px;
+ --rst-switch-touch-w: 51px;
+ --rst-switch-touch-h: 31px;
+ --rst-switch-touch-knob: 27px;
+
+
+ --rst-tint-hover: light-dark(color-mix(in srgb, var(--rst-accent, #1f56d6) 4.5%, var(--rst-surface)), color-mix(in srgb, var(--rst-accent, #7aa2ff) 10%, var(--rst-bg)));
+ --rst-tint-press: light-dark(color-mix(in srgb, var(--rst-accent, #1f56d6) 8.5%, var(--rst-surface)), color-mix(in srgb, var(--rst-accent, #7aa2ff) 19%, #000000));
+ --rst-tint-tap: var(--rst-tint-press);
+
+ --rst-tint-card-hover: var(--rst-tint-hover);
+
+ --rst-tint-tile-hover: var(--rst-tint-hover);
+ --rst-tint-tile-press: var(--rst-tint-press);
+
+ --rst-tint-group-hover: var(--rst-tint-hover);
+ --rst-row-tint-hover: var(--rst-tint-hover);
+ --rst-row-tint-press: var(--rst-tint-press);
+ --rst-focus-edge: var(--rst-accent, light-dark(#1f56d6, #7aa2ff));
+ --rst-focus-halo: color-mix(in srgb, var(--rst-accent, light-dark(#1f56d6, #7aa2ff)) 22%, transparent);
+
+
+ --rst-sheen-fill: light-dark(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
+ --rst-sheen-plain: light-dark(color-mix(in srgb, var(--rst-accent-fill) 9%, transparent), rgba(255, 255, 255, 0.04));
+ --rst-light-rim: light-dark(color-mix(in srgb, var(--rst-accent, #1f56d6) 23%, var(--rst-line)), color-mix(in srgb, var(--rst-accent, #7aa2ff) 31%, #505050));
+ --rst-light-wash: light-dark(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.015));
+
+
+ --rst-press-wash: 0.08;
+ --rst-press-spot: 0.16;
+ --rst-press-wash-plain: 0.04;
+ --rst-press-spot-plain: 0.07;
+
+
+ --rst-title-size: 1.25rem;
+ --rst-title-weight: 600;
+ --rst-title-track: -0.012em;
+ --rst-heading-size: 0.8125rem;
+ --rst-label-case: none;
+ --rst-label-track: 0;
+ --rst-rail-bg: var(--rst-bg);
+ --rst-nav-current-bg: light-dark(#ffffff, #141518);
+ --rst-nav-current-fg: light-dark(#18181b, #ededf0);
+}
+
+
+@supports (color: oklch(from red l c h)) {
+ :root {
+ --rst-accent-soft: light-dark(oklch(from var(--rst-accent, #1f56d6) 0.958 min(calc(c * 0.0878), 0.018) h), oklch(from var(--rst-accent, #7aa2ff) 0.268 min(calc(c * 0.5039), 0.072) h));
+ --rst-accent-fill: light-dark(oklch(from var(--rst-accent, #1f56d6) calc(0.513 - 0.05 * max(0, cos((h - 170) * 1deg) - 0.087)) min(calc(c * 1.0244), 0.21) h), oklch(from var(--rst-accent, #7aa2ff) calc(0.543 - 0.1 * max(0, cos((h - 170) * 1deg) - 0.087)) min(calc(c * 1.5045), 0.215) h));
+ --rst-accent-fill-hover: light-dark(oklch(from var(--rst-accent, #1f56d6) calc(0.472 - 0.045 * max(0, cos((h - 170) * 1deg) - 0.087)) min(calc(c * 0.9463), 0.194) h), oklch(from var(--rst-accent, #7aa2ff) calc(0.5 - 0.05 * max(0, cos((h - 170) * 1deg) - 0.087)) min(calc(c * 1.3786), 0.197) h));
+ --rst-accent-fill-edge: light-dark(oklch(from var(--rst-accent, #1f56d6) 0.401 min(calc(c * 0.8049), 0.165) h), oklch(from var(--rst-accent, #7aa2ff) 0.422 min(calc(c * 1.1617), 0.166) h));
+ --rst-accent-fill-edge-hover: light-dark(oklch(from var(--rst-accent, #1f56d6) 0.37 min(calc(c * 0.7366), 0.151) h), oklch(from var(--rst-accent, #7aa2ff) 0.389 min(calc(c * 1.0847), 0.155) h));
+ }
+}
+
+
+:root[data-theme="light"] { color-scheme: light; }
+:root[data-theme="dark"] { color-scheme: dark; }
+
+
+:root[data-theme="dark"] { --rst-press-wash: 0.18; --rst-press-spot: 0.30; --rst-press-wash-plain: 0.18; --rst-press-spot-plain: 0.30; }
+@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --rst-press-wash: 0.18; --rst-press-spot: 0.30; --rst-press-wash-plain: 0.18; --rst-press-spot-plain: 0.30; } }
+
+
+
+ :root { color-scheme: light dark; }
+ :root {
+ --rst-radius: 0.6rem; --rst-radius-sm: 0.4rem;
+ --rst-bg: light-dark(#ffffff, #0c0d0f);
+ --rst-surface: light-dark(#ffffff, #141518);
+ --rst-surface-2: light-dark(#f7f7f8, #18191d);
+ --rst-line: light-dark(#e6e6ea, #26282e);
+ --rst-line-strong: light-dark(#868691, #71737c);
+ --rst-text: light-dark(#202126, #ededf0);
+ --rst-text-muted: light-dark(#60616b, #a1a1aa);
+ --rst-accent: light-dark(#6f2c65, #d7a0cd);
+ --rst-accent-strong: light-dark(#55204d, #ecc0e4);
+ --rst-accent-soft: light-dark(rgba(111, 44, 101, 0.08), rgba(215, 160, 205, 0.12));
+ --rst-accent-fill: light-dark(#6f2c65, #864078);
+ --rst-accent-fill-hover: light-dark(#5a2352, #743367);
+ --rst-accent-fill-edge: light-dark(#491b42, #52234a);
+ --rst-accent-fill-edge-hover: light-dark(#391433, #411b3a);
+ --rst-control-face: var(--rst-surface);
+ --rst-control-face-hover: light-dark(#f7f8fa, #1b1d22);
+ --rst-control-face-press: light-dark(#e6e9ee, #202329);
+ --rst-control-border: light-dark(#d0d4dc, #343843);
+ --rst-control-border-hover: light-dark(#8a8a95, #71737c);
+ --rst-depth-hl: light-dark(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.07));
+ --rst-depth-contact: light-dark(rgba(16, 24, 40, 0.12), rgba(0, 0, 0, 0.5));
+ --rst-depth-ambient: light-dark(rgba(16, 24, 40, 0.06), rgba(0, 0, 0, 0.35));
+ --rst-depth-face: 0.06;
+ --rack-edge: light-dark(#d9cde0, #392b43);
+ --panel-cool: light-dark(#faf7fb, #1c1823);
+ --wire: light-dark(#a4a4af, #686a76);
+ --field: light-dark(#fafafb, #101114);
+ --shadow-module: inset 1px 1px 0 var(--rst-depth-hl), 1px 2px 0 var(--rack-edge), 2px 5px 8px -3px var(--rst-depth-ambient);
+ --shadow-raised: inset 0 1px 0 var(--rst-depth-hl), 0 1px 0 var(--rack-edge), 0 2px 3px -1px var(--rst-depth-ambient);
+ --shadow-inset: inset 0 1px 2px var(--rst-depth-contact);
+ --bg: var(--rst-surface); --ink: var(--rst-text); --muted: var(--rst-text-muted);
+ --accent: var(--rst-accent); --accent-strong: var(--rst-accent-strong);
+ --accent-soft: var(--rst-accent-soft);
+ --rule: var(--rst-line); --bad: var(--rst-tone-negative-fg);
+ --warn: var(--rst-tone-warning-fg); --good: var(--rst-tone-positive-fg);
+ --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
+ --sans: ui-sans-serif, system-ui, -apple-system, sans-serif;
+ }
+ [hidden] { display: none !important; }
+ * { margin: 0; padding: 0; box-sizing: border-box; }
+ body {
+ background: var(--rst-bg); color: var(--ink);
+ font: 400 1rem/1.6 var(--sans);
+ -webkit-font-smoothing: antialiased; padding: 0 1.25rem;
+ }
+ a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
+ code {
+ font-family: var(--mono);
+ font-size: 0.88em; background: var(--accent-soft);
+ padding: 0.1em 0.35em; border-radius: 0.25rem;
+ }
+ pre {
+ background: var(--accent-soft); border-radius: 0.5rem;
+ padding: 0.9rem 1.1rem; margin: 0 0 1rem; max-width: 40rem;
+ overflow-x: auto; font-family: var(--mono); font-size: 0.85rem; line-height: 1.6;
+ }
+ pre code { background: none; padding: 0; }
+
+ .changelog { white-space: pre-wrap; }
+ select, input[type=text], input[type=search], input[type=email], input[type=number] {
+ font: inherit; font-family: var(--sans); font-size: 0.9rem; color: var(--ink); background: var(--field);
+ border: 1px solid var(--rst-line-strong); border-radius: var(--rst-radius-sm); padding: 0.3rem 0.5rem;
+ box-shadow: var(--shadow-inset);
+ }
+
+ @media (pointer: coarse) {
+ select, textarea, input[type=text], input[type=search], input[type=email], input[type=number],
+ input[type=password], input[type=url], input[type=tel] { font-size: max(16px, 1rem); }
+ }
+ select:disabled, input:disabled {
+ background: var(--rst-surface-2); color: var(--muted); box-shadow: none; cursor: not-allowed;
+ }
+
+ :where(a, button, .btn, select, summary, input:not([type=radio]):not([type=checkbox])):focus-visible {
+ outline: 2px solid var(--accent); outline-offset: 2px;
+ }
+ :where(input:not([type=radio]):not([type=checkbox]), select):focus-visible { outline-offset: 1px; }
+ .tablewrap :where(a, button, select, input):focus-visible,
+ .settings-nav a:focus-visible, header .switcher-menu a:focus-visible { outline-offset: -2px; }
+ td form { display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; margin: 0; }
+
+ form.inline { display: inline; margin: 0; }
+ form.inline button { vertical-align: baseline; }
+
+ .toolbar { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin: 0 0 0.6rem; }
+ .toolbar input, .toolbar select, .toolbar button { height: 2rem; margin: 0; }
+
+ .listctl { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 0 0 0.6rem; }
+ .toolbar label { display: inline-flex; align-items: center; gap: 0.35rem; max-width: 100%; font-size: 0.9rem; color: var(--muted); }
+ .toolbar select, .toolbar input[type=search], .toolbar input[type=text] { max-width: 100%; min-width: 0; }
+ #logs-filter select[name="host"] { max-width: 12rem; }
+
+ .sectionhead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 2rem 0 0.75rem; }
+ .sectionhead h2 { margin: 0; }
+
+ .icon { width: 1em; height: 1em; flex: none; vertical-align: -0.125em; }
+ header {
+ max-width: 64rem; margin: 0 auto; padding: 1rem 0;
+ display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; row-gap: 0.5rem;
+ border-top: 3px solid var(--accent); border-bottom: 1px solid var(--rule);
+ }
+ header .brand a { font-weight: 700; color: var(--ink); text-decoration: none; }
+ header nav {
+ margin-left: auto; display: flex; align-items: center; gap: 0.5rem 1rem; flex-wrap: wrap;
+ font-size: 0.9rem;
+ }
+
+ header .profile { position: relative; flex: none; }
+ header .profile > summary {
+ display: inline-flex; align-items: center; justify-content: center; gap: 0.25rem;
+ list-style: none; cursor: pointer; min-width: 2.75rem; min-height: 2.75rem; padding: 0 0.6rem;
+ border: 1px solid var(--rst-control-border); border-radius: var(--rst-radius-sm);
+ background-color: var(--rst-control-face); color: var(--muted); box-shadow: var(--shadow-raised);
+ font-size: 1.1rem;
+ }
+ header .profile > summary::-webkit-details-marker { display: none; }
+ header .profile > summary:hover { background-color: var(--rst-control-face-hover); color: var(--ink); }
+ header .profile[open] > summary { background-color: var(--rst-control-face-press); color: var(--ink); box-shadow: var(--shadow-inset); }
+ header .profile > summary > .icon { pointer-events: none; }
+ header .profile > summary > .icon + .icon { width: 0.7em; height: 0.7em; }
+ header .profile[open] > summary > .icon + .icon { transform: rotate(180deg); }
+ header .profile-menu {
+ position: absolute; z-index: 20; top: calc(100% + 0.5rem); right: 0;
+ width: max-content; min-width: 13rem; max-width: min(20rem, calc(100vw - 2.5rem));
+ display: flex; flex-direction: column; align-items: stretch; gap: 0.15rem;
+ background: var(--bg); border: 1px solid var(--rst-control-border); border-radius: var(--rst-radius);
+ padding: 0.35rem; font-size: 0.9rem;
+ box-shadow: var(--rst-shadow-pop), 1px 2px 0 var(--rack-edge);
+ }
+ header .profile-menu .addr, header .profile-menu button.linkish {
+ display: flex; align-items: center; min-height: 2.75rem; padding: 0.4rem 0.55rem;
+ border-radius: var(--rst-radius-sm); text-align: left; overflow-wrap: anywhere;
+ }
+ header .profile-menu .addr { color: var(--muted); }
+ header .profile-menu :is(.addr, button.linkish):hover { background: var(--accent-soft); }
+ header .profile-menu :is(.addr, button.linkish):focus-visible { outline-offset: -2px; }
+ header .profile-menu form { margin: 0; }
+ header .profile-menu button.linkish { width: 100%; }
+ header .mobile-root { display: none; }
+
+ header .switcher {
+ position: relative;
+ }
+ header .switcher > summary {
+ display: inline-flex; align-items: baseline; gap: 0.4rem;
+ list-style: none; cursor: pointer;
+ padding: 0.25rem 0.6rem; border-radius: var(--rst-radius-sm);
+ background-color: var(--rst-control-face); color: var(--accent-strong);
+ border: 1px solid var(--rst-control-border); box-shadow: var(--shadow-raised);
+ }
+ header .switcher > summary .small { color: inherit; }
+ header .switcher > summary::-webkit-details-marker { display: none; }
+ header .switcher > summary:hover { background-color: var(--rst-control-face-hover); }
+ header .switcher[open] > summary {
+ background-color: var(--accent-soft);
+ box-shadow: var(--shadow-inset);
+ }
+
+ header .switcher .current-name {
+ font-weight: 700; min-width: 0; max-width: 14rem;
+ overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
+ }
+
+ header .switcher > summary > .icon { color: currentColor; align-self: center; width: 0.9em; }
+ header .switcher[open] > summary > .icon { transform: rotate(180deg); }
+ header .switcher-menu {
+ position: absolute; z-index: 20; top: calc(100% + 0.5rem); left: 0;
+
+ width: max-content; min-width: 13rem; max-width: 20rem;
+ background: var(--bg); border: 1px solid var(--rst-control-border); border-radius: var(--rst-radius);
+ padding: 0.35rem; font-size: 0.9rem;
+ box-shadow: var(--rst-shadow-pop), 1px 2px 0 var(--rack-edge);
+ }
+
+ header .switcher-menu ul {
+ list-style: none; margin: 0; padding: 0;
+ max-height: min(22rem, 60vh); overflow-y: auto; overscroll-behavior: contain;
+ }
+
+ header .switcher-find { display: block; width: 100%; margin: 0 0 0.35rem; }
+ header .switcher-none { padding: 0.35rem 0.55rem; color: var(--muted); }
+ header .switcher-menu a, header .switcher-menu .current {
+ display: flex; align-items: baseline; gap: 0.5rem;
+ padding: 0.35rem 0.55rem; border-radius: 0.4rem;
+ color: var(--ink); text-decoration: none; overflow-wrap: anywhere;
+ }
+ header .switcher-menu a:hover, header .switcher-menu a:focus { background: var(--accent-soft); }
+ header .switcher-menu .current { font-weight: 600; background: var(--accent-soft); }
+
+ header .switcher-menu .mark {
+ color: var(--accent); width: 0.9rem; flex: none;
+ display: flex; align-self: center;
+ }
+ header .switcher-menu a .mark { visibility: hidden; }
+ header .switcher-menu .new a .mark { visibility: visible; }
+ header .switcher-menu hr { border: 0; border-top: 1px solid var(--rule); margin: 0.35rem 0.2rem; }
+ header .switcher-menu .new a { color: var(--accent); }
+ main { max-width: 64rem; margin: 0 auto; padding: 2.5rem 0 3rem; min-height: 55vh; }
+ h1 { overflow-wrap: anywhere; font-size: 1.9rem; line-height: 1.15; margin: 0 0 1rem; color: var(--accent-strong); }
+ h2 { font-size: 1.25rem; margin: 2rem 0 0.75rem; }
+ h3 { font-size: 1rem; margin: 1.5rem 0 0.5rem; }
+
+ .settings-row { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; margin: 0 0 0.75rem; }
+ .settings-layout {
+ display: grid; grid-template-columns: minmax(10rem, 13rem) minmax(0, 1fr);
+ gap: 2.5rem; align-items: start;
+ }
+ .settings-nav { display: flex; flex-direction: column; gap: 0.2rem; }
+ .settings-nav a {
+ display: block; padding: 0.45rem 0.65rem; border-radius: 0.35rem;
+ color: var(--muted); text-decoration: none;
+ }
+ .settings-nav a:hover { color: var(--ink); background: var(--accent-soft); }
+ .settings-nav a[aria-current="page"] {
+ color: var(--ink); background: var(--accent-soft); font-weight: 600;
+ }
+ .settings-content {
+ min-width: 0; padding: 1.25rem 1.5rem 0.5rem; background-color: var(--bg);
+ border: 1px solid var(--rule); border-radius: var(--rst-radius); box-shadow: var(--shadow-module);
+ }
+ .settings-content :is(.tile, .tablewrap, .rung) { background-color: var(--rst-surface-2); box-shadow: none; }
+ .settings-content > h2:first-child { margin-top: 0; }
+ .danger-head { color: var(--bad); }
+ p { max-width: 40rem; margin: 0 0 1rem; }
+ .lede { font-size: 1.15rem; color: var(--muted); }
+ .small { font-size: 0.9rem; color: var(--muted); }
+
+ .visually-hidden {
+ position: absolute; width: 1px; height: 1px; overflow: hidden;
+ clip-path: inset(50%); white-space: nowrap;
+ }
+ .error { color: var(--bad); }
+ .banner {
+ background: var(--accent-soft); border-radius: 0.5rem;
+ padding: 0.6rem 0.9rem; margin: 0 0 1.5rem; max-width: 40rem;
+ }
+ :where(main) :where(ul:not([class]), ol:not([class]), ul.small, ol.small) { padding-left: 1.25rem; margin: 0 0 1rem; }
+ .tablewrap {
+ overflow-x: auto; margin: 0 0 1rem; background-color: var(--bg);
+ border: 1px solid var(--rule); border-radius: var(--rst-radius); box-shadow: var(--shadow-module);
+ }
+ .tablewrap > table:not(.packs) { margin: 0; }
+ .tablewrap > table:not(.packs) :is(th, td):first-child { padding-left: 0.9rem; }
+ .tablewrap > table:not(.packs) > :last-child > tr:last-child > :is(th, td) { border-bottom: 0; }
+ .tablewrap > table:not(.packs) tr:not(.instance-group) > th { background-color: var(--panel-cool); }
+ .tablewrap:has(> table.packs) { background: none; border: 0; border-radius: 0; box-shadow: none; margin: 0; }
+ .instances .instance-address { white-space: nowrap; }
+ .instances td:nth-child(2) { white-space: nowrap; }
+ .methods td:nth-child(3), .methods td:nth-child(4) { white-space: nowrap; }
+ .instance-open { display: inline-flex; padding: .25rem; }
+ .instance-group th { text-align: left; padding-top: 1rem; background: var(--accent-soft); }
+ .instance-group .small { font-weight: normal; }
+ .small a[aria-current="true"] { color: var(--ink); font-weight: 700; text-decoration-thickness: 3px; }
+ .instance-facts { display: grid; grid-template-columns: minmax(8rem, auto) 1fr; gap: .5rem 1.5rem; margin: 1rem 0; }
+ .instance-facts dt { color: var(--muted); }
+ .instance-facts dd { margin: 0; overflow-wrap: anywhere; }
+ .instance-facts .cellspark { max-width: 24rem; }
+
+ .term {
+ background: var(--accent-soft); border-radius: 0.5rem;
+ padding: 0.8rem 0 0.8rem 1rem; margin: 0 0 1rem;
+ min-height: 16rem; max-height: 70vh; overflow: auto;
+ font-family: var(--mono); font-size: 0.8rem; line-height: 1.55;
+ }
+
+ .tl { white-space: pre; width: max-content; min-width: 100%; padding-right: 1rem; }
+
+ .tl-t, .tl-h, .tl-f { color: var(--muted); }
+ .tl-s { color: var(--accent); }
+
+ .tl-warn .tl-m { color: var(--warn, #a6790f); }
+ .tl-error .tl-m { color: var(--bad); font-weight: 600; }
+ table { border-collapse: collapse; width: 100%; margin: 0 0 1rem; font-size: 0.95rem; }
+ .tiles { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0 0 1.5rem; }
+ .tile {
+ flex: 1 1 10rem; background-color: var(--bg); border: 1px solid var(--rule);
+ border-radius: var(--rst-radius); padding: 1rem 1.1rem; box-shadow: var(--shadow-module);
+ }
+
+ a.tile { color: var(--ink); text-decoration: none; }
+ a.tile:hover { outline: 1px solid var(--accent); }
+
+ .stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
+ .tile h2 {
+ margin: 0 0 0.35rem; font-family: var(--mono); font-size: 0.78rem; text-transform: uppercase;
+ letter-spacing: 0.05em; color: var(--accent-strong); font-weight: 600;
+ }
+ .tile-value { font-size: 1.6rem; font-weight: 600; margin: 0; }
+ .tile-detail { color: var(--muted); font-size: 0.8rem; margin: 0.25rem 0 0; }
+
+ .chip {
+ display: inline-block; font-family: var(--mono); font-size: 0.78rem; font-weight: 500;
+ padding: 0.15rem 0.55rem; border-radius: 999px; margin: 0.15rem 0.3rem 0.15rem 0;
+ }
+ .chip-stale { border: 1px solid var(--warn, #a6790f); color: var(--warn, #a6790f); }
+
+ .chip-canary { border: 1px solid var(--accent); color: var(--accent); }
+ .chip-prod { background: var(--bad); color: var(--bg); }
+
+ .chip-expired { border: 1px solid var(--warn, #a6790f); color: var(--warn, #a6790f); }
+
+ .chip-env { border: 1px solid var(--rule); color: var(--muted); }
+
+ .chip-health-ok { border: 1px solid var(--good); color: var(--good); }
+ .chip-health-attention { background: var(--warn, #a6790f); color: var(--bg); }
+ .chip-health-notdeployed { border: 1px solid var(--rule); color: var(--muted); }
+ .chip-health-unknown { border: 1px solid var(--warn, #a6790f); color: var(--warn, #a6790f); }
+
+ .chip-health-ok::before, .chip-health-attention::before,
+ .chip-health-notdeployed::before, .chip-health-unknown::before {
+ content: ""; display: inline-block; width: 0.55em; height: 0.55em;
+ margin: 0 0.4em 0.1em 0; border-radius: 50%; vertical-align: middle;
+ }
+ .chip-health-ok::before { background: var(--good); box-shadow: 0 0 0.4em color-mix(in srgb, var(--good) 55%, transparent); }
+ .chip-health-attention::before { background: var(--bg); border-radius: 1px; transform: rotate(45deg); }
+ .chip-health-unknown::before { box-shadow: inset 0 0 0 2px var(--warn, #a6790f); }
+ .chip-health-notdeployed::before { background: var(--muted); opacity: 0.45; }
+
+ .chip-freetier-inside { border: 1px solid var(--warn, #a6790f); color: var(--warn, #a6790f); }
+ .chip-freetier-partial { border: 1px solid var(--accent); color: var(--accent); }
+ .chip-freetier-paying { border: 1px solid var(--good); color: var(--good); }
+ .chip-freetier-pooled { border: 1px solid var(--rule); color: var(--muted); }
+
+ .chip-tier-unassigned { border: 1px solid var(--rule); color: var(--muted); }
+ .chip-tier-try { border: 1px solid var(--rule); color: var(--muted); }
+ .chip-tier-pool { border: 1px solid var(--rule); color: var(--muted); }
+ .chip-tier-hosted { border: 1px solid var(--good); color: var(--good); }
+ .chip-tier-fleet { border: 1px solid var(--accent); color: var(--accent); }
+ .chip-tier-dedicated { border: 1px solid var(--warn, #a6790f); color: var(--warn, #a6790f); }
+ .chip .icon { vertical-align: -0.1em; margin-right: 0.2em; }
+ .chip-up { background: var(--accent-soft); color: var(--good); }
+ .chip-down { background: var(--accent-soft); color: var(--bad); }
+ .chips { display: flex; flex-wrap: wrap; margin: 0 0 1rem; }
+
+ .bar { display: inline-block; width: 6rem; height: 0.5rem; border-radius: 999px; background: var(--accent-soft); vertical-align: middle; overflow: hidden; }
+ .bar-fill { display: block; height: 100%; background: var(--accent); }
+
+ .knob-row { display: flex; gap: 0.6rem; align-items: center; margin: 0 0 0.5rem; flex-wrap: wrap; }
+ .knob-row label { min-width: 12rem; color: var(--muted); font-size: 0.9rem; }
+ .knob-row input[type=number], .knob-row input[type=text] { width: 8rem; }
+ .knob-row input[type=range] { width: 12rem; }
+
+ .flow { margin: 0 0 1.75rem; }
+ .flow-line {
+ --flow-y: 1.25rem;
+ display: flex; flex-wrap: wrap; gap: 1.1rem 2.6rem;
+ list-style: none; margin: 0; padding: 0;
+ }
+ .flow-stage {
+ position: relative; flex: 1 1 10rem; min-width: 9rem; padding: 0.7rem 0.85rem 0.8rem;
+ background-color: var(--bg); border: 1px solid var(--rule); border-radius: var(--rst-radius);
+ box-shadow: var(--shadow-module);
+ }
+ .flow-stage + .flow-stage::before, .flow-stage + .flow-stage::after {
+ content: ""; position: absolute; pointer-events: none;
+ }
+ .flow-stage + .flow-stage::before {
+ left: -2.05rem; top: var(--flow-y); width: 1.3rem; border-top: 1px dashed var(--wire);
+ }
+ .flow-stage + .flow-stage::after {
+ left: -0.82rem; top: var(--flow-y); transform: translateY(-50%);
+ border: 0.28rem solid transparent; border-right: 0; border-left-color: var(--wire);
+ }
+ .flow-stage.is-carried::before { border-top-style: solid; border-top-color: var(--accent); }
+ .flow-stage.is-carried::after { border-left-color: var(--accent); }
+ .flow-label {
+ margin: 0; font-family: var(--mono); font-size: 0.74rem; text-transform: uppercase;
+ letter-spacing: 0.05em; color: var(--muted); font-weight: 600; overflow-wrap: anywhere;
+ }
+ .flow-version { margin: 0.3rem 0 0; font-size: 0.95rem; overflow-wrap: anywhere; }
+
+ .flow-stage:not(.is-held) { background-color: var(--rst-surface-2); }
+ .flow-stage:not(.is-held) .flow-version { color: var(--muted); }
+ .flow-stage.is-held { background-color: var(--panel-cool); }
+ .flow-stage.is-held .flow-label { color: var(--accent-strong); }
+ .flow-note { margin: 0.25rem 0 0; font-size: 0.78rem; color: var(--muted); }
+ .flow-addrs {
+ list-style: none; margin: 0.6rem 0 0; padding: 0 0 0 0.7rem;
+ border-left: 1px solid var(--rule); display: grid; gap: 0.35rem;
+ }
+ .flow-addr { font-size: 0.82rem; line-height: 1.35; }
+ .flow-addr a { display: block; overflow-wrap: anywhere; }
+ .flow-region { color: var(--muted); margin-right: 0.35rem; }
+ .flow-health { display: inline-flex; align-items: center; gap: 0.2rem; color: var(--muted); }
+ .flow-health .icon { width: 0.9em; height: 0.9em; flex: none; }
+ .flow-tone-ok .flow-health { color: var(--good); }
+ .flow-tone-wait .flow-health { color: var(--warn, #a6790f); }
+ .flow-tone-bad .flow-health { color: var(--bad); font-weight: 600; }
+ .flow-band { margin: 1.4rem 0 0.7rem; font-size: 0.9rem; color: var(--muted); }
+ .flow-caption { margin: 1.1rem 0 0; }
+
+ @media (max-width: 46rem) {
+ .settings-layout { display: block; }
+ .settings-nav {
+ flex-direction: row; overflow-x: auto; margin: 0 0 1.5rem;
+ padding-bottom: 0.25rem;
+ }
+ .settings-nav a { white-space: nowrap; }
+ .settings-content { padding: 1rem 1rem 0.25rem; }
+ .flow-line { display: block; }
+ .flow-stage + .flow-stage { margin-top: 2.25rem; }
+ .flow-stage + .flow-stage::before {
+ left: 1rem; top: -1.75rem; width: 0; height: 0.85rem;
+ border-top: 0; border-left: 1px dashed var(--wire);
+ }
+ .flow-stage + .flow-stage::after {
+ left: 1rem; top: -0.9rem; transform: translateX(-50%);
+ border: 0.28rem solid transparent; border-bottom: 0; border-top-color: var(--wire);
+ border-left-color: transparent;
+ }
+ .flow-stage.is-carried::before { border-left-color: var(--accent); }
+ .flow-stage.is-carried::after { border-top-color: var(--accent); border-left-color: transparent; }
+ }
+
+ .ladder { list-style: none; margin: 0 0 1rem; padding: 0; max-width: 40rem; }
+ .rung {
+ border: 1px solid var(--rule); border-radius: var(--rst-radius); padding: 0.8rem 1rem;
+ background-color: var(--bg); box-shadow: var(--shadow-module);
+ }
+ .rung + .rung { margin-top: 0.4rem; }
+ .rung-name {
+ font-family: var(--mono);
+ font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em;
+ font-weight: 600; color: var(--muted); margin: 0 0 0.3rem;
+ }
+ .rung p { margin: 0 0 0.2rem; }
+ .rung .gate { margin: 0.5rem 0 0; }
+ .rung .routes { list-style: none; margin: 0.3rem 0 0.6rem; padding: 0; font-size: 0.95rem; }
+ .rung .routes li { padding: 0.1rem 0; }
+
+ .step {
+ display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap;
+ margin: 0.7rem -1rem -0.8rem; padding: 0.5rem 1rem;
+ border-top: 1px solid var(--rule);
+ }
+ .step form { display: flex; align-items: baseline; gap: 0.5rem; margin: 0; }
+ .step > .icon { color: var(--muted); align-self: center; }
+ th {
+ font-family: var(--mono);
+ font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em;
+ color: var(--muted); text-align: left; font-weight: 600;
+ }
+ th, td { padding: 0.5rem 1rem 0.5rem 0; border-bottom: 1px solid var(--rule); }
+ form.signin { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 0 0 1rem; }
+ form.signin input[type=text], form.signin input[type=email] { padding: 0.55rem 0.8rem; min-width: 16rem; }
+ form.signin label { flex-basis: 100%; font-weight: 600; }
+
+ @media (max-width: 40rem) {
+ form.signin input[type=text], form.signin input[type=email] { flex: 1 1 100%; min-width: 0; }
+ form.signin button { flex: 1 1 100%; }
+ }
+
+ button, .btn {
+ --btn-fill: var(--rst-accent-fill); --btn-fill-hover: var(--rst-accent-fill-hover);
+ --btn-edge: var(--rst-accent-fill-edge); --btn-edge-hover: var(--rst-accent-fill-edge-hover);
+ --btn-lip: var(--btn-edge); --btn-ink: var(--rst-on-accent-fill);
+ --btn-hl: color-mix(in srgb, var(--rst-depth-hl) 30%, transparent);
+ font-size: 0.95rem; font-weight: 600; background-color: var(--btn-fill);
+ background-image: linear-gradient(rgb(255 255 255 / var(--rst-depth-face)), rgb(0 0 0 / var(--rst-depth-face)));
+ color: var(--btn-ink); border: 1px solid var(--btn-edge); border-radius: var(--rst-radius-sm);
+ padding: calc(0.6rem - 1px) calc(1.2rem - 1px); cursor: pointer;
+ text-decoration: none; display: inline-block;
+ box-shadow: inset 0 1px 0 var(--btn-hl), 0 2px 0 var(--btn-lip), 0 3px 4px -2px var(--rst-depth-contact);
+ transition: background-color 120ms ease-out, border-color 120ms ease-out, box-shadow 120ms ease-out, translate 80ms ease-out;
+ }
+ button.linkish {
+ background: none; color: var(--accent); font-weight: 400; padding: 0; border: 0; box-shadow: none;
+ border-radius: 0; text-decoration: underline; font-size: 0.9rem; cursor: pointer;
+ }
+ button:not(.linkish, .an-col):not(:disabled):hover, .btn:not([aria-disabled="true"]):hover {
+ background-color: var(--btn-fill-hover); border-color: var(--btn-edge-hover);
+ }
+ button:not(.linkish, .an-col):not(:disabled):not([aria-busy="true"]):active, .btn:not([aria-disabled="true"]):active {
+ translate: 0 var(--rst-press-drop);
+ box-shadow: inset 0 1px 2px var(--rst-depth-contact), 0 1px 0 var(--btn-lip);
+ }
+ button:disabled:not([aria-busy="true"]), .btn[aria-disabled="true"] {
+ opacity: 0.55; cursor: not-allowed; box-shadow: none;
+ }
+ button.linkish.danger { color: var(--bad); }
+
+ button[aria-busy="true"] { position: relative; color: transparent; cursor: progress; }
+ button[aria-busy="true"]::after {
+ content: ""; position: absolute; inset: 0; margin: auto;
+ width: 1.1em; height: 1.1em; border-radius: 50%;
+ border: 2px solid var(--btn-ink, var(--bg)); border-right-color: transparent;
+ animation: busy-spin 0.7s linear infinite;
+ }
+ @keyframes busy-spin { to { transform: rotate(360deg); } }
+ @media (prefers-reduced-motion: reduce) {
+ button, .btn { transition: none; }
+ button[aria-busy="true"]::after { animation-duration: 2.4s; }
+ }
+
+ .btn-sm, button.btn-sm {
+ font-size: 0.85rem; padding: calc(0.35rem - 1px) calc(0.8rem - 1px); border-radius: var(--rst-radius-sm);
+ }
+ .btn-secondary, button.btn-secondary {
+ --btn-fill: var(--rst-control-face); --btn-fill-hover: var(--rst-control-face-hover);
+ --btn-edge: var(--rst-control-border); --btn-edge-hover: var(--rst-control-border-hover);
+ --btn-lip: var(--rack-edge); --btn-hl: var(--rst-depth-hl); --btn-ink: var(--accent);
+ }
+ button.btn-danger, .btn-danger {
+ --btn-fill: var(--rst-danger-fill); --btn-fill-hover: var(--rst-danger-fill-hover);
+ --btn-edge: var(--rst-danger-fill-edge); --btn-edge-hover: var(--rst-danger-fill-edge-hover);
+ --btn-ink: var(--rst-on-danger-fill);
+ }
+
+ td .cell-value { display: inline-block; min-width: 3.5rem; font-weight: 600; }
+ .cellspark { width: 6rem; height: 1.1rem; vertical-align: -0.2rem; color: var(--muted); }
+ .cellspark polyline { stroke-width: 2.5; }
+
+ .feed { list-style: none; margin: 0 0 0.5rem; padding: 0; max-width: 40rem; }
+ .feed li { padding: 0.25rem 0; border-bottom: 1px solid var(--rule); }
+ .feed li:last-child { border-bottom: 0; }
+
+ .confirm-card {
+ border: 1px solid var(--rule); border-radius: var(--rst-radius);
+ padding: 1.25rem 1.4rem; max-width: 40rem; margin: 0 0 1rem;
+ background-color: var(--bg); box-shadow: var(--shadow-module);
+ }
+ .confirm-card .actions { display: flex; gap: 0.9rem; align-items: center; margin-top: 1rem; }
+ .confirm-card .confirm-note { margin: 0.8rem 0 0; }
+
+
+ .archwrap { overflow-x: auto; margin: 0.2rem 0 1.6rem; }
+
+ h4.archband {
+ border-top: 1px solid var(--rule); color: var(--muted);
+ font: 600 0.8rem var(--mono); letter-spacing: 0.02em;
+ margin: 1.5rem 0 0; padding-top: 0.5rem;
+ }
+
+ .archsvg { display: block; }
+ .archsvg rect { fill: var(--accent-soft); stroke: var(--rule); }
+ .archsvg .archnode-box rect { stroke: var(--accent); }
+ .archsvg .archtitle { fill: var(--ink); font: 600 13px var(--sans); }
+ .archsvg .archsub { fill: var(--muted); font: 400 11px var(--sans); }
+
+ .archsvg .archedge { fill: none; stroke: var(--muted); stroke-width: 1.5; }
+
+ .archsvg .archalarm { fill: var(--good); }
+ .archsvg .archalarm-firing { fill: var(--bad); }
+
+ .archbox {
+ border: 1px solid var(--rule); border-radius: var(--rst-radius);
+ padding: 0.9rem 1.1rem; margin: 0 0 0.6rem; max-width: 64rem;
+ background-color: var(--bg); box-shadow: var(--shadow-module);
+ }
+ .archbox h3 { margin: 0 0 0.3rem; }
+ .archbox p { margin: 0 0 0.2rem; }
+
+ .archbox .fact + .fact::before { content: " · "; color: var(--muted); }
+ footer {
+ max-width: 64rem; margin: 0 auto; padding: 1.25rem 0 2rem;
+ border-top: 1px solid var(--rule);
+ font-size: 0.85rem; color: var(--muted);
+ }
+
+ .pagehead { margin: 0 0 1.75rem; }
+ .eyebrow {
+ font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em;
+ text-transform: uppercase; color: var(--muted); margin: 0 0 0.3rem;
+ }
+ .pagehead h1 { margin: 0 0 0.35rem; }
+ .pagehead .lede { margin: 0; font-size: 1.05rem; }
+ .version-list { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0.5rem 0 1rem; }
+ .version-list code { display: inline-block; overflow-wrap: anywhere; }
+ .version-list li { min-width: 0; max-width: 100%; }
+
+ .reveal > summary { font-size: 1.1rem; font-weight: 600; cursor: pointer; }
+ .reveal > summary h2 { display: inline; font-size: inherit; margin: 0; }
+
+ .tabs {
+ display: flex; flex-wrap: wrap; gap: 1.25rem 0.25rem; margin: 0 0 2rem;
+ border-bottom: 1px solid var(--rule);
+ font-family: var(--mono); font-size: 0.85rem;
+ }
+ .tabs a {
+ color: var(--muted); text-decoration: none;
+ padding: 0.3rem 0.5rem 0.55rem; border-bottom: 2px solid transparent; margin-bottom: -1px;
+ }
+ .tabs a:hover { color: var(--ink); }
+ .tabs a[aria-current] {
+ color: var(--ink); border-bottom-color: var(--accent);
+ background: var(--accent-soft); border-radius: 0.35rem 0.35rem 0 0;
+ }
+ header nav a[aria-current] { color: var(--ink); font-weight: 600; text-decoration: none; }
+ header nav a.addr { color: var(--muted); text-decoration: none; }
+
+ .billing-now {
+ display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start;
+ gap: 1rem 3rem; padding: 1.15rem 1.4rem 1.25rem; margin: 0 0 0.5rem;
+ }
+ .billing-now > div { min-width: 0; }
+ .billing-now .tile-value { margin: 0 0 0.3rem; line-height: 1.2; min-width: 0; overflow-wrap: anywhere; }
+ .billing-facts { list-style: none; font-size: 0.9rem; color: var(--muted); }
+ .billing-includes, .plan-incl { list-style: none; display: grid; gap: 0.3rem; font-size: 0.9rem; }
+ .billing-includes { grid-template-columns: repeat(auto-fit, minmax(13rem, auto)); column-gap: 2rem; align-self: center; }
+ .billing-includes li, .plan-incl li { display: flex; align-items: flex-start; gap: 0.5rem; }
+ .billing-includes .icon, .plan-incl .icon { color: var(--accent); margin-top: 0.25em; }
+
+ .buy fieldset { border: 0; min-width: 0; }
+ .buy .currency { display: flex; align-items: center; gap: 0.6rem; margin: 0; }
+ .buy .currency legend { float: left; }
+
+ .seg {
+ display: inline-flex; gap: 2px; padding: 2px; border-radius: 0.5rem;
+ background: var(--accent-soft); box-shadow: var(--shadow-inset);
+ }
+ .seg label { position: relative; display: block; }
+ .seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
+ .seg label > span, .seg-fixed {
+ display: block; min-width: 3.4rem; padding: 0.4rem 0.75rem; border-radius: 0.375rem;
+ font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
+ text-align: center; color: var(--muted); line-height: 1.3;
+ transition: color 150ms ease-out, background-color 150ms ease-out, box-shadow 150ms ease-out;
+ }
+ .seg label:hover > span { color: var(--ink); }
+ .seg label:has(input:checked) > span, .seg-fixed {
+ background: var(--bg); color: var(--ink);
+ box-shadow: var(--shadow-raised);
+ }
+ .seg label:has(input:focus-visible) > span { outline: 2px solid var(--accent); outline-offset: 1px; }
+
+ .plan-cards {
+ display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
+ gap: 1rem; margin: 0 0 2.25rem;
+ }
+ .plan-card {
+ position: relative; border: 1px solid var(--rule); border-radius: var(--rst-radius);
+ padding: 1.1rem 1.25rem 1.25rem; background-color: var(--bg); box-shadow: var(--shadow-module);
+ transition: border-color 150ms ease-out, background-color 150ms ease-out, box-shadow 150ms ease-out;
+ }
+ .plan-card:hover { border-color: var(--muted); }
+ .plan-card:has(input:checked) {
+ border-color: var(--accent); background-image: linear-gradient(var(--accent-soft), var(--accent-soft));
+ box-shadow: var(--shadow-module), inset 0 0 0 1px var(--accent);
+ }
+ .plan-card:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
+ .plan-card p { margin: 0; max-width: none; }
+ .plan-card label { display: flex; align-items: center; gap: 0.55rem; cursor: pointer; }
+ .plan-card label::after { content: ""; position: absolute; inset: 0; }
+ .plan-card input { flex: none; width: 1.05rem; height: 1.05rem; margin: 0; accent-color: var(--accent); cursor: pointer; }
+ .plan-name { min-width: 0; overflow-wrap: anywhere; font-size: 1.15rem; font-weight: 650; }
+ .plan-cost { display: block; margin: 0.65rem 0 0; }
+ .plan-card span.price {
+ display: block; color: var(--ink); font-size: 1.15rem; font-weight: 650;
+ line-height: 1.3; text-wrap: balance; font-variant-numeric: tabular-nums;
+ }
+ .plan-card span.total { margin-top: 0.4rem; font-size: 0.9rem; font-weight: 500; }
+
+ .buy:not(:has(input[name=currency]:checked)) .plan-card span.price { font-size: 0.95rem; font-weight: 500; }
+ .plan-incl { margin: 1rem 0 0; padding: 0.9rem 0 0; border-top: 1px solid var(--rule); }
+ .plan-card:has(input:checked) .plan-incl { border-top-color: var(--accent-soft); }
+
+ .buy h3 { margin: 0; }
+ .buy .packs-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.2rem 1rem; margin: 0 0 0.2rem; }
+ .buy .packs-head + .small { margin: 0 0 0.75rem; }
+ table.packs { margin: 0; }
+ .packs tr:first-child td { border-top: 1px solid var(--rule); }
+ .packs td { padding: 0.75rem 1.25rem 0.75rem 0; vertical-align: middle; }
+ .packs td:first-child { width: 100%; }
+ .packs td + td { white-space: nowrap; }
+ .packs td:last-child { padding-right: 0; text-align: right; }
+ .packs label { display: block; font-weight: 600; }
+ .packs td:first-child .small { display: block; }
+ .packs span.price { display: block; color: var(--ink); font-variant-numeric: tabular-nums; }
+ .packs td form { justify-content: flex-end; flex-wrap: nowrap; }
+ .packs input[type=number] {
+ width: 4.75rem; padding: 0.4rem 0.5rem; text-align: center;
+ font: inherit; font-size: 1rem; font-variant-numeric: tabular-nums;
+ color: var(--ink); background: var(--field); accent-color: var(--accent);
+ border: 1px solid var(--muted); border-radius: var(--rst-radius-sm); box-shadow: var(--shadow-inset);
+ }
+ .packs input[type=number]:hover { border-color: var(--ink); }
+ .packs input[type=number]:focus-visible { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 1px; }
+
+ .use { font-variant-numeric: tabular-nums; }
+ .use-warn, .use-over { font-weight: 600; }
+ .use-warn { color: var(--ink); }
+ .use-over { color: var(--bad); }
+ .use-warn::before, .use-over::before {
+ content: ""; display: inline-block; width: 0.45rem; height: 0.45rem; margin: 0 0.4rem 0.1em 0;
+ border-radius: 50%; background: var(--warn); vertical-align: middle;
+ }
+ .use-over::before { background: var(--bad); }
+ .packs td:first-child .use { margin-top: 0.15rem; }
+ .plan-incl .use { margin-left: auto; padding-left: 0.5rem; white-space: nowrap; }
+ .usage-asof { margin: 0; }
+ .packs-head .usage-asof { font-size: 0.82rem; }
+
+ .billing-usage { flex: 1 1 100%; padding: 0.9rem 0 0; border-top: 1px solid var(--rule); }
+ .billing-usage dl { display: flex; flex-wrap: wrap; gap: 0.6rem 2.75rem; margin: 0 0 0.6rem; }
+ .billing-usage dt { font-size: 0.82rem; color: var(--muted); }
+ .billing-usage dd { margin: 0; font-size: 0.95rem; }
+ .billing-usage .usage-asof { font-size: 0.82rem; }
+
+
+ .an-off { margin: 0 0 1.5rem; }
+ .an-range { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; margin: 0 0 1.75rem; }
+ .an-range a {
+ padding: 0.3rem 0.75rem; border-radius: 999px; color: var(--muted);
+ text-decoration: none; font-size: 0.9rem;
+ }
+ .an-range a:hover { color: var(--ink); background: var(--accent-soft); }
+ .an-range a[aria-current="page"] { color: var(--ink); background: var(--accent-soft); font-weight: 600; }
+ .an-range a:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
+ .an-span { margin-left: 0.75rem; color: var(--muted); font-size: 0.85rem; }
+ .an-daynav { display: inline-flex; gap: 0.25rem; margin-left: 0.5rem; }
+ .an-daynav a { font-size: 0.85rem; }
+ .an-figures { display: flex; flex-wrap: wrap; gap: 1rem 3.5rem; margin: 0 0 1.5rem; }
+ .an-figures dt { color: var(--muted); font-size: 0.9rem; }
+ .an-figures dd { margin: 0; font-size: 2.25rem; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
+ .an-figures dd.an-note { font-size: 0.8rem; font-weight: 400; color: var(--muted); max-width: 16rem; line-height: 1.4; margin-top: 0.3rem; letter-spacing: 0; }
+ .an-empty { color: var(--muted); padding: 2.5rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); max-width: none; }
+ .an-insights { color: var(--ink); font-size: 0.95rem; margin: 0.75rem 0 0.5rem; max-width: none; }
+ .an-quality { margin: 0 0 2rem; max-width: 48rem; }
+
+ .an-chart { margin: 0; padding-left: 2.25rem; }
+ .an-plot { position: relative; height: 14rem; }
+ .an-overview .an-plot { height: 7rem; }
+ .an-grid span {
+ position: absolute; left: 0; right: 0; height: 0;
+ border-top: 1px solid var(--rule);
+ }
+ .an-grid i {
+ position: absolute; right: calc(100% + 0.5rem); top: -0.6em;
+ font-style: normal; font-size: 0.75rem; color: var(--muted);
+ font-variant-numeric: tabular-nums; white-space: nowrap;
+ }
+ .an-cols, .an-xaxis { display: grid; grid-template-columns: repeat(var(--an-cols), minmax(0, 1fr)); }
+ .an-cols { position: absolute; inset: 0; }
+
+ button.an-col, .an-col {
+ position: relative; display: flex; align-items: flex-end; justify-content: center;
+ height: 100%; padding: 0 1px; margin: 0; border: 0; border-radius: 0.25rem;
+ background: transparent; color: inherit; font: inherit; cursor: default; box-shadow: none;
+ }
+ .an-col:not(.an-future):hover, .an-col:not(.an-future):focus-visible { background: var(--accent-soft); }
+ .an-col:not(.an-future):focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
+
+ a.an-col { text-decoration: none; cursor: pointer; }
+ .an-bar {
+ position: relative; display: block; width: 100%; max-width: 24px; min-height: 0;
+ background: var(--accent); border-radius: 4px 4px 0 0;
+ }
+ .an-col:hover .an-bar, .an-col:focus-visible .an-bar { background: var(--accent-strong); }
+
+ .an-partial .an-bar { background: repeating-linear-gradient(135deg, var(--accent) 0 3px, var(--accent-soft) 3px 6px); }
+ .an-gap::after {
+ content: ""; position: absolute; bottom: -0.55rem; left: 50%; width: 5px; height: 5px;
+ margin-left: -2.5px; border-radius: 50%; background: var(--warn);
+ }
+ .an-tip {
+ display: none; position: absolute; z-index: 2; bottom: calc(100% + 0.4rem); left: 50%;
+ transform: translateX(-50%); width: max-content; max-width: 15rem;
+ padding: 0.5rem 0.7rem; border-radius: 0.4rem; text-align: left;
+ background: var(--ink); color: var(--bg); font-size: 0.8rem; line-height: 1.45;
+ box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18); pointer-events: none;
+ }
+ .an-tip b { display: block; font-size: 0.95rem; font-weight: 600; }
+ .an-tip span { display: block; }
+ .an-tip .an-when { opacity: 0.75; margin-top: 0.15rem; }
+ .an-edge-start .an-tip { left: 0; transform: none; }
+ .an-edge-end .an-tip { left: auto; right: 0; transform: none; }
+ .an-col:hover .an-tip, .an-col:focus .an-tip { display: block; }
+
+ .an-cols:hover .an-col:focus:not(:hover) .an-tip { display: none; }
+
+ .an-future { cursor: default; }
+ .an-xaxis { margin-top: 0.35rem; font-size: 0.75rem; color: var(--muted); white-space: nowrap; }
+ .an-xaxis span { justify-self: center; }
+
+ .an-breakdowns { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 2rem 3rem; margin: 0 0 2rem; }
+ .an-card h3 { font-size: 1rem; margin: 0 0 0.6rem; }
+ .an-share { list-style: none; margin: 0 0 0.5rem; }
+ .an-share li {
+ display: grid; grid-template-columns: minmax(0, 1fr) auto 3rem; column-gap: 0.75rem;
+ align-items: baseline; padding: 0.4rem 0 0.45rem; border-bottom: 1px solid var(--rule);
+ }
+ .an-key { overflow-wrap: anywhere; }
+ .an-flag { margin-right: 0.4rem; }
+ .an-val { font-variant-numeric: tabular-nums; text-align: right; }
+ .an-pct { font-variant-numeric: tabular-nums; text-align: right; color: var(--muted); font-size: 0.85rem; }
+ .an-track { grid-column: 1 / -1; display: block; height: 3px; margin-top: 0.3rem; border-radius: 2px; background: var(--accent-soft); }
+ .an-track span { display: block; height: 100%; border-radius: 2px; background: var(--accent); }
+ .an-muted .an-key { color: var(--muted); }
+ .an-muted .an-track span { background: var(--muted); opacity: 0.5; }
+
+ .an-more { margin: 0.6rem 0 0; font-size: 0.9rem; }
+ .an-card h3.an-subhead { margin-top: 1.4rem; }
+ .an-pages { margin: 0 0 2rem; }
+ .an-pages-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0 0 0.8rem; }
+ .an-pages-head h3 { font-size: 1rem; margin: 0; }
+ input.an-filter { width: 100%; max-width: 24rem; margin: 0 0 1rem; }
+ .an-section { border-bottom: 1px solid var(--rule); }
+ .an-section summary {
+ display: grid; grid-template-columns: minmax(0, 1fr) auto 3rem 5.5rem; column-gap: 0.75rem;
+ align-items: baseline; padding: 0.55rem 0; cursor: pointer; font-weight: 600;
+ }
+ .an-section summary .an-count { color: var(--muted); font-size: 0.85rem; font-weight: 400; text-align: right; }
+ .an-pagelist { margin: 0 0 0.75rem 1rem; }
+ .an-pagelist li { grid-template-columns: minmax(0, 1fr) 60px auto 3rem; }
+ .an-spark { width: 60px; height: 16px; align-self: center; }
+ .an-spark polyline { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
+ .an-overview { margin: 0 0 2rem; padding: 1.25rem 1.4rem 1.4rem; border: 1px solid var(--rule); border-radius: var(--rst-radius); background-color: var(--bg); box-shadow: var(--shadow-module); }
+ .an-overview-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0 0 1rem; }
+ .an-overview-head h2 { font-size: 1rem; margin: 0; }
+ .an-overview .an-figures { gap: 0.75rem 2.5rem; margin-bottom: 1rem; }
+ .an-overview .an-figures dd:not(.an-note) { font-size: 1.6rem; }
+ .an-overview .an-empty { padding: 1.5rem 0; }
+
+ .pt-blocked { position: absolute; left: 0; right: 0; bottom: 0; background: var(--ink); border-radius: inherit; }
+ .pt-key { display: inline-block; width: 0.7rem; height: 0.7rem; margin: 0 0.35rem 0 0; border-radius: 2px; background: var(--accent); vertical-align: -0.05rem; }
+ .pt-key + .pt-key { margin-left: 0.75rem; }
+ .pt-key-blocked { background: var(--ink); }
+ @media (max-width: 40rem) {
+ .an-figures { gap: 1rem 2rem; }
+ .an-figures dd:not(.an-note) { font-size: 1.75rem; }
+ .an-plot { height: 11rem; }
+ .an-span { flex-basis: 100%; margin: 0.4rem 0 0 0.75rem; }
+ }
+ @media (forced-colors: active) {
+ .an-bar, .an-track span { background: CanvasText; }
+ .pt-key { background: CanvasText; }
+ .pt-blocked, .pt-key-blocked { background: Highlight; }
+ .an-tip { border: 1px solid CanvasText; }
+ }
+ .buy-foot { margin: 1.75rem 0 0; }
+ .buy-foot button { padding: 0.7rem 1.5rem; }
+ .billing-upgrades { margin-top: 1.25rem; }
+
+ .done { max-width: 36rem; margin: clamp(1rem, 9vh, 5.5rem) auto 0; text-align: center; }
+ .done-mark {
+ display: inline-grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%;
+ margin: 0 0 1.4rem; background: var(--accent); color: var(--bg);
+ }
+ .done-mark .icon { width: 1.6rem; height: 1.6rem; stroke-width: 2.6; }
+ .done h1 { margin: 0 0 0.8rem; font-size: clamp(1.65rem, 1.2rem + 1.6vw, 2.15rem); line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; overflow-wrap: anywhere; }
+ .done-lede, .done-room { margin: 0 auto; max-width: 32rem; text-wrap: pretty; overflow-wrap: anywhere; }
+ .done-lede { font-size: 1.05rem; }
+ .done-room { margin-top: 0.5rem; color: var(--muted); }
+ .done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin: 2rem 0 0; }
+ .done-actions .btn { padding: 0.6rem 1.25rem; }
+ .done-actions .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
+
+ #packs-title, #upgrade { scroll-margin-top: 1.5rem; }
+ @media (prefers-reduced-motion: no-preference) {
+ .done-mark { animation: done-pop 520ms cubic-bezier(0.16, 1, 0.3, 1) both; }
+ .done-mark path { stroke-dasharray: 24; animation: done-draw 480ms 200ms cubic-bezier(0.16, 1, 0.3, 1) both; }
+ }
+ @keyframes done-pop { from { transform: scale(0.7); } }
+ @keyframes done-draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
+ @media (min-width: 46rem) {
+ .billing-includes { grid-template-columns: repeat(2, auto); }
+ }
+ @media (max-width: 40rem) {
+ table.methods .added { display: none; }
+ .billing-now { padding: 1rem 1.1rem 1.1rem; }
+ .done-actions { flex-direction: column; align-items: stretch; margin-top: 1.75rem; }
+ .done-actions .btn { text-align: center; }
+ .packs tr {
+ display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
+ gap: 0.6rem 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--rule);
+ }
+ .packs tr:first-child { border-top: 1px solid var(--rule); }
+ .packs td, .packs tr:first-child td { display: block; width: auto; padding: 0; border: 0; }
+ .packs td:first-child { grid-column: 1 / -1; }
+ .packs td:last-child { text-align: right; }
+ .buy-foot button { width: 100%; }
+ }
+
+ .mobile-back, .pagehead > .mobile-title { display: none; }
+ header .account-links { display: contents; }
+ .index-nav { display: flex; flex-direction: column; max-width: 32rem; margin: 0 0 2rem; border: 1px solid var(--rule); border-radius: var(--rst-radius); background: var(--bg); box-shadow: var(--shadow-module); overflow: hidden; }
+ .index-nav a:last-child { border-bottom: 0; }
+ .index-nav a {
+ display: flex; align-items: center; box-sizing: border-box;
+ gap: 0.75rem; min-height: 3.75rem; padding: 0.75rem 0.875rem; border-bottom: 1px solid var(--rule);
+ color: var(--ink); text-decoration: none; overflow-wrap: anywhere;
+ }
+ .index-context { display: flex; align-items: center; gap: 0.875rem; max-width: 32rem; margin: 0.25rem 0 1.5rem; }
+ .index-context-copy { min-width: 0; }
+ .index-context h1 { margin: 0; }
+ .index-context .eyebrow { margin: 0 0 0.25rem; font-size: 0.7rem; overflow-wrap: anywhere; }
+ .index-meta { margin: 0.375rem 0 0; color: var(--muted); font-size: 0.8rem; overflow-wrap: anywhere; }
+ .index-meta code { font-size: 0.75rem; }
+ .app-mark { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 2rem; height: 2rem; border-radius: 0.6rem; font: 600 1rem/1 var(--mono); text-transform: uppercase; color: var(--accent-strong); background: var(--accent-soft); border: 1px solid var(--rack-edge); box-shadow: var(--shadow-raised); }
+ .app-mark .icon { width: 1rem; height: 1rem; }
+ .index-context > .app-mark { width: 2.75rem; height: 2.75rem; font-size: 1.25rem; }
+ .index-context-icon { display: flex; align-items: center; justify-content: center; flex: none; width: 2.75rem; height: 2.75rem; color: var(--accent-strong); background: var(--accent-soft); border: 1px solid var(--rack-edge); border-radius: 0.75rem; box-shadow: var(--shadow-raised); }
+ .index-context-icon .icon { width: 1.4rem; height: 1.4rem; }
+ .index-nav .index-icon { display: flex; align-items: center; justify-content: center; flex: none; width: 2rem; height: 2rem; border-radius: 0.5rem; background: light-dark(#f0e4ef, #382435); color: var(--accent-strong); box-shadow: inset 0 1px 0 var(--rst-depth-hl), 0 1px 1px var(--rst-depth-ambient); }
+ .index-nav .index-icon .icon { width: 1.125rem; height: 1.125rem; }
+ .index-label { flex: 1; min-width: 0; }
+ .index-chevron { display: flex; flex: none; color: var(--muted); opacity: 0.65; }
+ .index-chevron .icon { width: 1rem; height: 1rem; }
+ .index-nav :is(.index-key-fleet, .index-key-instances, .index-key-placement, .index-key-domains, .index-key-email) .index-icon { background: light-dark(#e4edf9, #1e3049); color: light-dark(#32629c, #9cbfee); }
+ .index-nav :is(.index-key-team, .index-key-availability, .index-key-protection, .index-key-storage) .index-icon { background: light-dark(#e1f0ed, #1b3833); color: light-dark(#28685e, #99d2c5); }
+ .index-nav :is(.index-key-settings, .index-key-general, .index-key-logs, .index-key-environments) .index-icon { background: light-dark(#ececf0, #2c2d34); color: var(--muted); }
+ .index-nav .index-key-delete .index-icon { background: light-dark(#f7e9e8, #3b2425); color: var(--bad); }
+
+ .index-nav a:first-child { border-top-left-radius: calc(var(--rst-radius) - 1px); border-top-right-radius: calc(var(--rst-radius) - 1px); }
+ .index-nav a:last-child { border-bottom-left-radius: calc(var(--rst-radius) - 1px); border-bottom-right-radius: calc(var(--rst-radius) - 1px); }
+ .index-nav a:hover, .index-nav a:target { background: var(--accent-soft); }
+ .index-nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
+ @media (forced-colors: active) { .index-nav a:focus-visible { outline-color: Highlight; } }
+ @media (max-width: 800px) {
+ body[data-view] header :is(.switcher, .brand, .account-links) { display: none; }
+ body[data-view] header {
+ position: sticky; top: 0; z-index: 30; flex-wrap: nowrap; gap: 0.75rem;
+ max-width: none; margin: 0 -1.25rem; padding: 0.375rem 0.5rem; border-top: 0;
+ background: var(--rst-bg);
+ }
+ body[data-view] header nav { flex: none; margin-left: auto; flex-wrap: nowrap; gap: 0; }
+ body[data-view] header .mobile-back, body[data-view] header .mobile-root { display: flex; align-items: center; flex: 1; min-width: 0; }
+ body[data-view] header .mobile-root { font-weight: 500; min-height: 2.75rem; padding: 0.35rem 0.75rem; }
+ body[data-view="page"] .tabs, body[data-view="page"] .settings-nav { display: none; }
+ body[data-view] { border-top: 3px solid var(--accent); }
+ body[data-view] .pagehead > .eyebrow { display: none; }
+ body[data-view] main { padding-top: 1.25rem; }
+ .mobile-back a {
+ display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; min-width: 2.75rem;
+ box-sizing: border-box; padding: 0.35rem 0.75rem; font-weight: 500; text-decoration: none;
+ overflow-wrap: anywhere;
+ }
+ .mobile-back a::before {
+ content: ""; flex: none; width: 0.55rem; height: 0.55rem;
+ border-left: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(-45deg);
+ }
+ .mobile-back a:focus-visible { outline-offset: -2px; }
+ :root:has(body[data-view]) { scroll-padding-top: calc(3.5rem + 1px); }
+ .pagehead > h1:has(+ .mobile-title) { display: none; }
+ .pagehead > .mobile-title { display: block; overflow-wrap: anywhere; }
+ .index-nav { max-width: none; }
+
+ }
+</style>
+</head>
+<body data-view="page">
+<header>
+
+ <details class="switcher" id="switcher">
+ <summary>
+ <span class="small">Account</span>
+ <span class="current-name">shop</span>
+ <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m6 9 6 6 6-6"/></svg>
+ </summary>
+ <div class="switcher-menu">
+
+ <ul>
+ <li>
+ <span class="current" aria-current="true"><span class="mark"><svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20 6 9 17l-5-5"/></svg></span>shop</span>
+ </li>
+
+ </ul>
+ <hr>
+ <div class="new"><a href="/accounts/new"><span class="mark"><svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="M12 5v14"/></svg></span>New account</a></div>
+ </div>
+ </details>
+
+ <div class="mobile-back"><a href="/a/shop/apps/shop/settings/index#nav-environments" rel="up">Settings</a></div>
+ <nav>
+ <span class="account-links"><a href="/a/shop/" aria-current="page">Apps</a>
+ <a href="/a/shop/fleet">Fleet</a>
+ <a href="/a/shop/team">Team</a>
+ <a href="/a/shop/settings">Settings</a>
+ </span>
+ <details class="profile" id="profile">
+ <summary aria-label="you@example.com"><svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="8" r="5"/><path d="M20 21a8 8 0 0 0-16 0"/></svg><svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m6 9 6 6 6-6"/></svg></summary>
+ <div class="profile-menu">
+ <a class="addr" href="/settings">you@example.com</a>
+ <form method="post" action="/auth/signout">
+ <input type="hidden" name="csrf" value="mockup">
+ <button class="linkish" type="submit">Sign out</button>
+ </form>
+ </div>
+ </details>
+ </nav>
+</header>
+<main>
+<div class="pagehead">
+ <p class="eyebrow">App · shop</p>
+ <h1>shop</h1>
+ <h1 class="mobile-title">Environments</h1>
+</div>
+<nav class="tabs" aria-label="App sections">
+ <a href="/a/shop/apps/shop">Overview</a>
+ <a href="/a/shop/apps/shop/instances">Running</a>
+ <a href="/a/shop/apps/shop/releases">Deployments</a>
+ <a href="/a/shop/apps/shop/logs">Logs</a>
+ <a href="/a/shop/apps/shop/errors">Errors</a>
+ <a href="/a/shop/apps/shop/availability">Availability</a>
+ <a href="/a/shop/apps/shop/analytics">Analytics</a>
+ <a href="/a/shop/apps/shop/protection">Protection</a>
+ <a href="/a/shop/apps/shop/activity">Activity</a>
+ <a href="/a/shop/apps/shop/settings" aria-current="page">Settings</a>
+</nav>
+
+<div class="settings-layout">
+<nav class="settings-nav" aria-label="Settings sections">
+ <a href="/a/shop/apps/shop/settings">General</a>
+ <a href="/a/shop/apps/shop/settings/domains">Domains</a>
+ <a href="/a/shop/apps/shop/settings/placement">Placement</a>
+ <a href="/a/shop/apps/shop/settings/pipeline">Release pipeline</a>
+ <a href="/a/shop/apps/shop/settings/environments" aria-current="page">Environments</a>
+ <a href="/a/shop/apps/shop/settings/storage">Storage</a>
+ <a href="/a/shop/apps/shop/settings/email">Email</a>
+ <a href="/a/shop/apps/shop/settings/features">Feature flags</a>
+ <a href="/a/shop/apps/shop/settings/errors-analytics">Errors and analytics</a>
+ <a href="/a/shop/apps/shop/settings/delete">Delete</a>
+</nav>
+<div class="settings-content">
+<style>
+ /* New for this page: one compact row per variable, an Edit reveal, a save bar. */
+ .envvars { list-style: none; margin: 0; padding: 0; }
+ .envvars > li { border-bottom: 1px solid var(--rule); }
+ .envvars > li:last-child { border-bottom: 0; }
+ .envvar > summary, .envvar-row { display: flex; align-items: baseline; gap: 0.75rem; padding: 0.55rem 0.9rem; list-style: none; }
+ .envvar > summary { cursor: pointer; }
+ .envvar > summary::-webkit-details-marker { display: none; }
+ .envvar-name { flex: none; }
+ .envvar-value { flex: 1; min-width: 0; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
+ .envvar-value { font-size: 0.9rem; }
+ .outcomes .envvar-row { flex-wrap: wrap; justify-content: space-between; row-gap: 0.3rem; }
+ .outcomes .envvar-value { flex: none; }
+ .envvar-edit { flex: none; color: var(--accent); font-size: 0.9rem; }
+ .envvar[open] .envvar-edit { color: var(--muted); }
+ .envvar-panel { padding: 0 0.9rem 0.6rem; }
+ .envvar-panel .settings-row { margin: 0; }
+ .envvar-panel input[type=text], .envvar-panel input[type=password] { flex: 1; min-width: 8rem; }
+ .envhead { margin: 1.75rem 0 0.15rem; }
+ .envhead + .small { margin: 0 0 0.6rem; }
+ .addvar { margin: 0.6rem 0 0.25rem; }
+ .addvar input[name$=".name"] { flex: 0 1 9rem; min-width: 6rem; }
+ .addvar input[name$=".value"] { flex: 1 1 8rem; min-width: 6rem; }
+ .addvar + .small { margin: 0 0 0.5rem; }
+ .savebar {
+ position: sticky; bottom: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.5rem 0.9rem; align-items: center;
+ margin: 1.5rem 0 1rem; padding: 0.6rem 0.9rem; background: var(--accent-soft);
+ border: 1px solid var(--rule); border-radius: var(--rst-radius);
+ }
+ .savebar p { margin: 0; flex: 1 1 12rem; }
+ .savebar .actions { display: flex; gap: 0.9rem; align-items: center; }
+</style>
+
+<h2>Environments</h2>
+<p class="small">Settings your app reads when it starts. Anything a named environment doesn't set comes from All environments.</p>
+
+<form method="post" action="/a/shop/apps/shop/settings/environments">
+ <input type="hidden" name="csrf" value="mockup">
+
+ <h3 class="envhead">All environments</h3>
+ <p class="small">Used by shop.example.com</p>
+ <div class="tablewrap">
+ <ul class="envvars">
+ <li><details class="envvar"><summary><code class="envvar-name">LOG_LEVEL</code><span class="envvar-value">info</span><span class="envvar-edit">Edit</span></summary>
+ <div class="envvar-panel settings-row"><label class="visually-hidden" for="v-default-log">New value for LOG_LEVEL</label><input type="text" id="v-default-log" name="default.LOG_LEVEL" value="info" autocomplete="off"> <button type="submit" class="linkish danger" name="remove" value="default.LOG_LEVEL">Remove</button></div>
+ </details></li>
+ <li><details class="envvar"><summary><code class="envvar-name">STRIPE_KEY</code><span class="envvar-value small">Sealed</span><span class="envvar-edit">Edit</span></summary>
+ <div class="envvar-panel settings-row"><label class="visually-hidden" for="v-default-stripe">New value for STRIPE_KEY</label><input type="password" id="v-default-stripe" name="default.STRIPE_KEY" placeholder="New value" autocomplete="off"> <button type="submit" class="linkish danger" name="remove" value="default.STRIPE_KEY">Remove</button></div>
+ </details></li>
+ <li><details class="envvar"><summary><code class="envvar-name">MAIL_TOKEN</code><span class="envvar-value small">Sealed</span><span class="envvar-edit">Edit</span></summary>
+ <div class="envvar-panel settings-row"><label class="visually-hidden" for="v-default-mail">New value for MAIL_TOKEN</label><input type="password" id="v-default-mail" name="default.MAIL_TOKEN" placeholder="New value" autocomplete="off"> <button type="submit" class="linkish danger" name="remove" value="default.MAIL_TOKEN">Remove</button></div>
+ </details></li>
+ <li><div class="envvar-row"><code class="envvar-name">WEBHOOK_SECRET</code><span class="envvar-value"><span class="chip chip-canary">New secret</span></span><button type="submit" class="linkish" name="discard" value="default.WEBHOOK_SECRET">Undo</button></div></li>
+ </ul>
+ </div>
+ <div class="settings-row addvar">
+ <label class="visually-hidden" for="add-default-name">Name</label>
+ <input type="text" id="add-default-name" name="add.default.name" placeholder="NAME" autocomplete="off" spellcheck="false">
+ <label class="visually-hidden" for="add-default-value">Value</label>
+ <input type="text" id="add-default-value" name="add.default.value" placeholder="Value" autocomplete="off">
+ <label class="small"><input type="checkbox" name="add.default.secret" value="1"> Secret</label>
+ <button type="submit" class="btn-sm btn-secondary" name="stage" value="default">Add</button>
+ </div>
+ <p class="small">Secrets are sealed in your browser. Nobody can read them back, only replace them.</p>
+
+ <h3 class="envhead">staging</h3>
+ <p class="small">Used by staging.shop.example.com</p>
+ <div class="tablewrap">
+ <ul class="envvars">
+ <li><details class="envvar" open><summary><code class="envvar-name">LOG_LEVEL</code><span class="envvar-value">debug</span><span class="envvar-edit">Close</span></summary>
+ <div class="envvar-panel settings-row"><label class="visually-hidden" for="v-staging-log">New value for LOG_LEVEL</label><input type="text" id="v-staging-log" name="staging.LOG_LEVEL" value="debug" autocomplete="off"> <button type="submit" class="linkish danger" name="remove" value="staging.LOG_LEVEL">Remove</button></div>
+ </details></li>
+ <li><details class="envvar"><summary><code class="envvar-name">STRIPE_KEY</code><span class="envvar-value small">Sealed</span><span class="envvar-edit">Edit</span></summary>
+ <div class="envvar-panel settings-row"><label class="visually-hidden" for="v-staging-stripe">New value for STRIPE_KEY</label><input type="password" id="v-staging-stripe" name="staging.STRIPE_KEY" placeholder="New value" autocomplete="off"> <button type="submit" class="linkish danger" name="remove" value="staging.STRIPE_KEY">Remove</button></div>
+ </details></li>
+ </ul>
+ </div>
+ <div class="settings-row addvar">
+ <label class="visually-hidden" for="add-staging-name">Name</label>
+ <input type="text" id="add-staging-name" name="add.staging.name" placeholder="NAME" autocomplete="off" spellcheck="false">
+ <label class="visually-hidden" for="add-staging-value">Value</label>
+ <input type="text" id="add-staging-value" name="add.staging.value" placeholder="Value" autocomplete="off">
+ <label class="small"><input type="checkbox" name="add.staging.secret" value="1"> Secret</label>
+ <button type="submit" class="btn-sm btn-secondary" name="stage" value="staging">Add</button>
+ </div>
+
+ <div class="savebar">
+ <p class="small">1 change: new secret WEBHOOK_SECRET in All environments.</p>
+ <div class="actions">
+ <button type="submit" class="linkish" name="discard" value="all">Discard</button>
+ <button type="submit" class="btn-sm" data-busy>Save and restart</button>
+ </div>
+ </div>
+</form>
+
+<h2>After you save</h2>
+<p class="banner">Saved 1 change to All environments.</p>
+<div class="tablewrap">
+<ul class="envvars outcomes">
+ <li><div class="envvar-row"><span class="envvar-name">shop.example.com</span><span class="envvar-value"><span class="chip chip-health-ok">Updates itself</span></span></div></li>
+ <li><div class="envvar-row"><span class="envvar-name">mailer.shop.example.com</span><span class="envvar-value"><span class="chip chip-env">Restart requested</span></span></div></li>
+ <li><div class="envvar-row"><span class="envvar-name">api.shop.example.com</span><span class="envvar-value"><span class="chip chip-canary">Restart it yourself</span></span></div></li>
+ <li><div class="envvar-row"><span class="envvar-name">staging.shop.example.com</span><span class="envvar-value"><span class="chip chip-env">Asleep</span></span></div></li>
+ <li><div class="envvar-row"><span class="envvar-name">eu.shop.example.com</span><span class="envvar-value"><span class="chip chip-health-unknown">Can't see</span></span></div></li>
+</ul>
+</div>
+<ul class="small">
+ <li><strong>Updates itself:</strong> it restarts with the new settings on its own, within a minute.</li>
+ <li><strong>Restart requested:</strong> Carloku asked its box to restart it.</li>
+ <li><strong>Restart it yourself:</strong> your app runs this one itself, so Carloku delivered the settings but can't restart it. Restart it the way you started it.</li>
+ <li><strong>Asleep:</strong> it picks up the change when it next wakes.</li>
+ <li><strong>Can't see:</strong> it runs on a box Carloku can't check from here. It picks up the change when it next restarts, or run <code>carlos restart --host eu.shop.example.com</code>.</li>
+</ul>
+<p class="small">Copies on other boxes may not all be listed here. <a href="/a/shop/apps/shop/instances">See what's running</a></p>
+
+</div>
+</div>
+
+</main>
+<script>
+
+
+
+(function () {
+ var minBusy = 650;
+ document.addEventListener("submit", function (e) {
+ var f = e.target, b = e.submitter;
+ if (!b || !b.hasAttribute("data-busy")) return;
+ e.preventDefault();
+ if (f.hasAttribute("data-busy-sent")) return;
+ f.setAttribute("data-busy-sent", "");
+ b.setAttribute("aria-busy", "true");
+ b.disabled = true;
+ setTimeout(function () {
+ if (b.name) {
+ var h = document.createElement("input");
+ h.type = "hidden"; h.name = b.name; h.value = b.value;
+ f.appendChild(h);
+ }
+ f.submit();
+ }, minBusy);
+ });
+
+
+ document.addEventListener("focusin", function (e) {
+ var t = e.target;
+ if (t.matches && t.matches("input[data-select]")) {
+ setTimeout(function () { t.select(); }, 0);
+ }
+ });
+
+
+ window.addEventListener("pageshow", function (e) {
+ if (!e.persisted) return;
+ document.querySelectorAll("form[data-busy-sent]").forEach(function (f) { f.removeAttribute("data-busy-sent"); });
+ document.querySelectorAll("button[aria-busy=true]").forEach(function (b) { b.disabled = false; b.removeAttribute("aria-busy"); });
+ });
+})();
+
+
+
+
+
+
+
+(function () {
+ var d = document.getElementById("switcher");
+ if (!d) return;
+ document.addEventListener("keydown", function (e) {
+ if (e.key === "Escape" && d.open) { d.open = false; d.firstElementChild.focus(); }
+ });
+ document.addEventListener("click", function (e) {
+ if (d.open && !d.contains(e.target)) d.open = false;
+ });
+
+ var find = d.querySelector(".switcher-find");
+ var none = d.querySelector(".switcher-none");
+ var list = d.querySelector(".switcher-menu ul");
+ if (!list) return;
+ var rows = Array.prototype.slice.call(list.children);
+ if (find) find.hidden = false;
+
+ function shown() {
+ return rows.filter(function (li) { return !li.hidden; })
+ .map(function (li) { return li.querySelector("a"); })
+ .filter(Boolean);
+ }
+ function filter() {
+ var q = find.value.trim().toLowerCase(), any = false;
+ rows.forEach(function (li) {
+ li.hidden = q !== "" && li.textContent.toLowerCase().indexOf(q) < 0;
+ if (!li.hidden) any = true;
+ });
+ none.hidden = any;
+ list.hidden = !any;
+ }
+ if (find) {
+ find.addEventListener("input", filter);
+ find.addEventListener("keydown", function (e) {
+ var links = shown();
+ if (e.key === "Enter" && links.length) { e.preventDefault(); links[0].click(); }
+ if (e.key === "ArrowDown" && links.length) { e.preventDefault(); links[0].focus(); }
+ });
+ }
+ list.addEventListener("keydown", function (e) {
+ if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
+ var links = shown(), i = links.indexOf(document.activeElement);
+ if (i < 0) return;
+ e.preventDefault();
+ if (e.key === "ArrowDown") { if (i + 1 < links.length) links[i + 1].focus(); }
+ else if (i > 0) links[i - 1].focus();
+ else if (find) find.focus();
+ });
+ d.addEventListener("toggle", function () {
+ if (!d.open) {
+ if (find && find.value) { find.value = ""; filter(); }
+ return;
+ }
+
+ var cur = list.querySelector("[aria-current]");
+ if (cur) list.scrollTop = cur.parentNode.offsetTop - list.offsetTop - list.clientHeight / 2;
+
+
+ if (find && window.matchMedia("(pointer: fine)").matches) find.focus();
+ });
+})();
+</script>
+<script data-profile-menu>
+
+
+(function () {
+ var d = document.getElementById("profile");
+ if (!d) return;
+ document.addEventListener("keydown", function (e) {
+ if (e.key === "Escape" && d.open) { d.open = false; d.firstElementChild.focus(); }
+ });
+ document.addEventListener("click", function (e) {
+ if (d.open && !d.contains(e.target)) d.open = false;
+ });
+})();
+</script>
+</body>
+</html>
diff --git a/docs/superpowers/specs/settings-secrets-v3.html b/docs/superpowers/specs/settings-secrets-v3.html
new file mode 100644
index 000000000..4ea25774f
--- /dev/null
+++ b/docs/superpowers/specs/settings-secrets-v3.html
@@ -0,0 +1,1433 @@
+<!doctype html>
+<html lang="en">
+<head>
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<title>Mockup</title>
+<style>
+
+
+
+:root {
+ color-scheme: light dark;
+
+
+ --rst-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
+
+
+ --rst-radius: 6px;
+ --rst-radius-sm: 4px;
+ --rst-radius-pill: 999px;
+
+
+ --rst-bg: light-dark(#fbfbfc, #0c0d0f);
+ --rst-surface: light-dark(#ffffff, #141518);
+ --rst-surface-2: light-dark(#f3f3f5, #18191d);
+ --rst-line: light-dark(#e6e6ea, #26282e);
+
+ --rst-line-strong: light-dark(#868691, #71737c);
+ --rst-header-rule: var(--rst-line);
+
+
+ --rst-text: light-dark(#18181b, #ededf0);
+ --rst-text-muted: light-dark(#52525c, #a1a1aa);
+ --rst-text-faint: light-dark(#6b6b75, #8c8c96);
+
+
+ --rst-accent: light-dark(#1f56d6, #7aa2ff);
+ --rst-accent-strong: light-dark(color-mix(in srgb, var(--rst-accent, #1f56d6) 80%, #000000), color-mix(in srgb, var(--rst-accent, #7aa2ff) 68.5%, #ffffff));
+ --rst-accent-soft: light-dark(#ecf1ff, #16234a);
+ --rst-on-accent: light-dark(#ffffff, #0c0d0f);
+
+
+ --rst-tone-neutral-fg: light-dark(#374151, #c3c9d1);
+ --rst-tone-neutral-bg: light-dark(#eef0f2, #262c34);
+ --rst-tone-positive-fg: light-dark(#166534, #6ee7a8);
+ --rst-tone-positive-bg: light-dark(#dcfce7, #10281c);
+ --rst-tone-warning-fg: light-dark(#854d0e, #f0c46a);
+ --rst-tone-warning-bg: light-dark(#fef3c7, #2c2110);
+ --rst-tone-negative-fg: light-dark(#b91c1c, #f79aa0);
+ --rst-tone-negative-bg: light-dark(#fee2e2, #331819);
+
+
+ --rst-shadow-pop: 0 2px 4px light-dark(rgba(16, 24, 40, 0.06), rgba(0, 0, 0, 0.35)), 0 8px 16px -4px light-dark(rgba(16, 24, 40, 0.1), rgba(0, 0, 0, 0.5));
+
+ --rst-shadow-knob: 0 1px 2px light-dark(rgba(16, 24, 40, 0.22), rgba(0, 0, 0, 0.5)), 0 0 0 0.5px light-dark(rgba(16, 24, 40, 0.08), rgba(0, 0, 0, 0.3));
+ --rst-shadow-knob-hover: 0 1.5px 3px light-dark(rgba(16, 24, 40, 0.26), rgba(0, 0, 0, 0.58)), 0 0 0 0.5px light-dark(rgba(16, 24, 40, 0.08), rgba(0, 0, 0, 0.3));
+ --rst-shadow-lift: 0 1px 2px light-dark(rgba(16, 24, 40, 0.08), rgba(0, 0, 0, 0.3));
+ --rst-overlay: light-dark(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.6));
+
+
+ --rst-accent-fill: light-dark(#2257df, #2f61e8);
+ --rst-accent-fill-hover: light-dark(#1d4dc8, #2956d0);
+ --rst-accent-fill-edge: light-dark(#153ca0, #1f43a6);
+ --rst-accent-fill-edge-hover: light-dark(#12358f, #1a3b95);
+ --rst-on-accent-fill: #ffffff;
+ --rst-danger-fill: light-dark(#c62f2f, #c43232);
+ --rst-danger-fill-hover: light-dark(#b12929, #af2c2c);
+ --rst-danger-fill-edge: light-dark(#8d1f1f, #8c2121);
+ --rst-danger-fill-edge-hover: light-dark(#7e1a1a, #7d1d1d);
+ --rst-on-danger-fill: #ffffff;
+ --rst-on-danger-fill-hover: #ffffff;
+ --rst-danger-hover-filter: none;
+
+
+ --rst-control-face: light-dark(#ffffff, #141518);
+ --rst-control-face-hover: light-dark(#f7f8fa, #1b1d22);
+ --rst-control-face-press: light-dark(#e6e9ee, #202329);
+ --rst-control-border: light-dark(#d0d4dc, #343843);
+ --rst-control-border-hover: light-dark(#8a8a95, #71737c);
+ --rst-control-text-hover: light-dark(#18181b, #ededf0);
+ --rst-ghost-edge: transparent;
+ --rst-ghost-face-hover: light-dark(#f3f3f5, #18191d);
+ --rst-ghost-edge-hover: transparent;
+ --rst-summary-face: light-dark(#ffffff, #141518);
+ --rst-summary-face-hover: light-dark(#f7f8fa, #1b1d22);
+ --rst-summary-edge: light-dark(#d0d4dc, #343843);
+ --rst-summary-edge-hover: light-dark(#8a8a95, #71737c);
+
+ --rst-summary-radius: var(--rst-radius-sm);
+
+
+ --rst-depth-hl: light-dark(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.06));
+ --rst-depth-contact: light-dark(rgba(16, 24, 40, 0.1), rgba(0, 0, 0, 0.5));
+ --rst-depth-ambient: light-dark(rgba(16, 24, 40, 0.06), rgba(0, 0, 0, 0.35));
+ --rst-depth-face: 0.04;
+ --rst-press-drop: 1px;
+
+
+ --rst-knob: #ffffff;
+ --rst-knob-shade: light-dark(#f1f3f6, #d9dee8);
+ --rst-track-off: light-dark(#8a8a95, #71737c);
+
+ --rst-switch-w: 40px;
+ --rst-switch-h: 23px;
+ --rst-switch-knob: 19px;
+ --rst-switch-touch-w: 51px;
+ --rst-switch-touch-h: 31px;
+ --rst-switch-touch-knob: 27px;
+
+
+ --rst-tint-hover: light-dark(color-mix(in srgb, var(--rst-accent, #1f56d6) 4.5%, var(--rst-surface)), color-mix(in srgb, var(--rst-accent, #7aa2ff) 10%, var(--rst-bg)));
+ --rst-tint-press: light-dark(color-mix(in srgb, var(--rst-accent, #1f56d6) 8.5%, var(--rst-surface)), color-mix(in srgb, var(--rst-accent, #7aa2ff) 19%, #000000));
+ --rst-tint-tap: var(--rst-tint-press);
+
+ --rst-tint-card-hover: var(--rst-tint-hover);
+
+ --rst-tint-tile-hover: var(--rst-tint-hover);
+ --rst-tint-tile-press: var(--rst-tint-press);
+
+ --rst-tint-group-hover: var(--rst-tint-hover);
+ --rst-row-tint-hover: var(--rst-tint-hover);
+ --rst-row-tint-press: var(--rst-tint-press);
+ --rst-focus-edge: var(--rst-accent, light-dark(#1f56d6, #7aa2ff));
+ --rst-focus-halo: color-mix(in srgb, var(--rst-accent, light-dark(#1f56d6, #7aa2ff)) 22%, transparent);
+
+
+ --rst-sheen-fill: light-dark(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
+ --rst-sheen-plain: light-dark(color-mix(in srgb, var(--rst-accent-fill) 9%, transparent), rgba(255, 255, 255, 0.04));
+ --rst-light-rim: light-dark(color-mix(in srgb, var(--rst-accent, #1f56d6) 23%, var(--rst-line)), color-mix(in srgb, var(--rst-accent, #7aa2ff) 31%, #505050));
+ --rst-light-wash: light-dark(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.015));
+
+
+ --rst-press-wash: 0.08;
+ --rst-press-spot: 0.16;
+ --rst-press-wash-plain: 0.04;
+ --rst-press-spot-plain: 0.07;
+
+
+ --rst-title-size: 1.25rem;
+ --rst-title-weight: 600;
+ --rst-title-track: -0.012em;
+ --rst-heading-size: 0.8125rem;
+ --rst-label-case: none;
+ --rst-label-track: 0;
+ --rst-rail-bg: var(--rst-bg);
+ --rst-nav-current-bg: light-dark(#ffffff, #141518);
+ --rst-nav-current-fg: light-dark(#18181b, #ededf0);
+}
+
+
+@supports (color: oklch(from red l c h)) {
+ :root {
+ --rst-accent-soft: light-dark(oklch(from var(--rst-accent, #1f56d6) 0.958 min(calc(c * 0.0878), 0.018) h), oklch(from var(--rst-accent, #7aa2ff) 0.268 min(calc(c * 0.5039), 0.072) h));
+ --rst-accent-fill: light-dark(oklch(from var(--rst-accent, #1f56d6) calc(0.513 - 0.05 * max(0, cos((h - 170) * 1deg) - 0.087)) min(calc(c * 1.0244), 0.21) h), oklch(from var(--rst-accent, #7aa2ff) calc(0.543 - 0.1 * max(0, cos((h - 170) * 1deg) - 0.087)) min(calc(c * 1.5045), 0.215) h));
+ --rst-accent-fill-hover: light-dark(oklch(from var(--rst-accent, #1f56d6) calc(0.472 - 0.045 * max(0, cos((h - 170) * 1deg) - 0.087)) min(calc(c * 0.9463), 0.194) h), oklch(from var(--rst-accent, #7aa2ff) calc(0.5 - 0.05 * max(0, cos((h - 170) * 1deg) - 0.087)) min(calc(c * 1.3786), 0.197) h));
+ --rst-accent-fill-edge: light-dark(oklch(from var(--rst-accent, #1f56d6) 0.401 min(calc(c * 0.8049), 0.165) h), oklch(from var(--rst-accent, #7aa2ff) 0.422 min(calc(c * 1.1617), 0.166) h));
+ --rst-accent-fill-edge-hover: light-dark(oklch(from var(--rst-accent, #1f56d6) 0.37 min(calc(c * 0.7366), 0.151) h), oklch(from var(--rst-accent, #7aa2ff) 0.389 min(calc(c * 1.0847), 0.155) h));
+ }
+}
+
+
+:root[data-theme="light"] { color-scheme: light; }
+:root[data-theme="dark"] { color-scheme: dark; }
+
+
+:root[data-theme="dark"] { --rst-press-wash: 0.18; --rst-press-spot: 0.30; --rst-press-wash-plain: 0.18; --rst-press-spot-plain: 0.30; }
+@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --rst-press-wash: 0.18; --rst-press-spot: 0.30; --rst-press-wash-plain: 0.18; --rst-press-spot-plain: 0.30; } }
+
+
+
+ :root { color-scheme: light dark; }
+ :root {
+ --rst-radius: 0.6rem; --rst-radius-sm: 0.4rem;
+ --rst-bg: light-dark(#ffffff, #0c0d0f);
+ --rst-surface: light-dark(#ffffff, #141518);
+ --rst-surface-2: light-dark(#f7f7f8, #18191d);
+ --rst-line: light-dark(#e6e6ea, #26282e);
+ --rst-line-strong: light-dark(#868691, #71737c);
+ --rst-text: light-dark(#202126, #ededf0);
+ --rst-text-muted: light-dark(#60616b, #a1a1aa);
+ --rst-accent: light-dark(#6f2c65, #d7a0cd);
+ --rst-accent-strong: light-dark(#55204d, #ecc0e4);
+ --rst-accent-soft: light-dark(rgba(111, 44, 101, 0.08), rgba(215, 160, 205, 0.12));
+ --rst-accent-fill: light-dark(#6f2c65, #864078);
+ --rst-accent-fill-hover: light-dark(#5a2352, #743367);
+ --rst-accent-fill-edge: light-dark(#491b42, #52234a);
+ --rst-accent-fill-edge-hover: light-dark(#391433, #411b3a);
+ --rst-control-face: var(--rst-surface);
+ --rst-control-face-hover: light-dark(#f7f8fa, #1b1d22);
+ --rst-control-face-press: light-dark(#e6e9ee, #202329);
+ --rst-control-border: light-dark(#d0d4dc, #343843);
+ --rst-control-border-hover: light-dark(#8a8a95, #71737c);
+ --rst-depth-hl: light-dark(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.07));
+ --rst-depth-contact: light-dark(rgba(16, 24, 40, 0.12), rgba(0, 0, 0, 0.5));
+ --rst-depth-ambient: light-dark(rgba(16, 24, 40, 0.06), rgba(0, 0, 0, 0.35));
+ --rst-depth-face: 0.06;
+ --rack-edge: light-dark(#d9cde0, #392b43);
+ --panel-cool: light-dark(#faf7fb, #1c1823);
+ --wire: light-dark(#a4a4af, #686a76);
+ --field: light-dark(#fafafb, #101114);
+ --shadow-module: inset 1px 1px 0 var(--rst-depth-hl), 1px 2px 0 var(--rack-edge), 2px 5px 8px -3px var(--rst-depth-ambient);
+ --shadow-raised: inset 0 1px 0 var(--rst-depth-hl), 0 1px 0 var(--rack-edge), 0 2px 3px -1px var(--rst-depth-ambient);
+ --shadow-inset: inset 0 1px 2px var(--rst-depth-contact);
+ --bg: var(--rst-surface); --ink: var(--rst-text); --muted: var(--rst-text-muted);
+ --accent: var(--rst-accent); --accent-strong: var(--rst-accent-strong);
+ --accent-soft: var(--rst-accent-soft);
+ --rule: var(--rst-line); --bad: var(--rst-tone-negative-fg);
+ --warn: var(--rst-tone-warning-fg); --good: var(--rst-tone-positive-fg);
+ --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
+ --sans: ui-sans-serif, system-ui, -apple-system, sans-serif;
+ }
+ [hidden] { display: none !important; }
+ * { margin: 0; padding: 0; box-sizing: border-box; }
+ body {
+ background: var(--rst-bg); color: var(--ink);
+ font: 400 1rem/1.6 var(--sans);
+ -webkit-font-smoothing: antialiased; padding: 0 1.25rem;
+ }
+ a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
+ code {
+ font-family: var(--mono);
+ font-size: 0.88em; background: var(--accent-soft);
+ padding: 0.1em 0.35em; border-radius: 0.25rem;
+ }
+ pre {
+ background: var(--accent-soft); border-radius: 0.5rem;
+ padding: 0.9rem 1.1rem; margin: 0 0 1rem; max-width: 40rem;
+ overflow-x: auto; font-family: var(--mono); font-size: 0.85rem; line-height: 1.6;
+ }
+ pre code { background: none; padding: 0; }
+
+ .changelog { white-space: pre-wrap; }
+ select, input[type=text], input[type=search], input[type=email], input[type=number] {
+ font: inherit; font-family: var(--sans); font-size: 0.9rem; color: var(--ink); background: var(--field);
+ border: 1px solid var(--rst-line-strong); border-radius: var(--rst-radius-sm); padding: 0.3rem 0.5rem;
+ box-shadow: var(--shadow-inset);
+ }
+
+ @media (pointer: coarse) {
+ select, textarea, input[type=text], input[type=search], input[type=email], input[type=number],
+ input[type=password], input[type=url], input[type=tel] { font-size: max(16px, 1rem); }
+ }
+ select:disabled, input:disabled {
+ background: var(--rst-surface-2); color: var(--muted); box-shadow: none; cursor: not-allowed;
+ }
+
+ :where(a, button, .btn, select, summary, input:not([type=radio]):not([type=checkbox])):focus-visible {
+ outline: 2px solid var(--accent); outline-offset: 2px;
+ }
+ :where(input:not([type=radio]):not([type=checkbox]), select):focus-visible { outline-offset: 1px; }
+ .tablewrap :where(a, button, select, input):focus-visible,
+ .settings-nav a:focus-visible, header .switcher-menu a:focus-visible { outline-offset: -2px; }
+ td form { display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; margin: 0; }
+
+ form.inline { display: inline; margin: 0; }
+ form.inline button { vertical-align: baseline; }
+
+ .toolbar { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin: 0 0 0.6rem; }
+ .toolbar input, .toolbar select, .toolbar button { height: 2rem; margin: 0; }
+
+ .listctl { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 0 0 0.6rem; }
+ .toolbar label { display: inline-flex; align-items: center; gap: 0.35rem; max-width: 100%; font-size: 0.9rem; color: var(--muted); }
+ .toolbar select, .toolbar input[type=search], .toolbar input[type=text] { max-width: 100%; min-width: 0; }
+ #logs-filter select[name="host"] { max-width: 12rem; }
+
+ .sectionhead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 2rem 0 0.75rem; }
+ .sectionhead h2 { margin: 0; }
+
+ .icon { width: 1em; height: 1em; flex: none; vertical-align: -0.125em; }
+ header {
+ max-width: 64rem; margin: 0 auto; padding: 1rem 0;
+ display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; row-gap: 0.5rem;
+ border-top: 3px solid var(--accent); border-bottom: 1px solid var(--rule);
+ }
+ header .brand a { font-weight: 700; color: var(--ink); text-decoration: none; }
+ header nav {
+ margin-left: auto; display: flex; align-items: center; gap: 0.5rem 1rem; flex-wrap: wrap;
+ font-size: 0.9rem;
+ }
+
+ header .profile { position: relative; flex: none; }
+ header .profile > summary {
+ display: inline-flex; align-items: center; justify-content: center; gap: 0.25rem;
+ list-style: none; cursor: pointer; min-width: 2.75rem; min-height: 2.75rem; padding: 0 0.6rem;
+ border: 1px solid var(--rst-control-border); border-radius: var(--rst-radius-sm);
+ background-color: var(--rst-control-face); color: var(--muted); box-shadow: var(--shadow-raised);
+ font-size: 1.1rem;
+ }
+ header .profile > summary::-webkit-details-marker { display: none; }
+ header .profile > summary:hover { background-color: var(--rst-control-face-hover); color: var(--ink); }
+ header .profile[open] > summary { background-color: var(--rst-control-face-press); color: var(--ink); box-shadow: var(--shadow-inset); }
+ header .profile > summary > .icon { pointer-events: none; }
+ header .profile > summary > .icon + .icon { width: 0.7em; height: 0.7em; }
+ header .profile[open] > summary > .icon + .icon { transform: rotate(180deg); }
+ header .profile-menu {
+ position: absolute; z-index: 20; top: calc(100% + 0.5rem); right: 0;
+ width: max-content; min-width: 13rem; max-width: min(20rem, calc(100vw - 2.5rem));
+ display: flex; flex-direction: column; align-items: stretch; gap: 0.15rem;
+ background: var(--bg); border: 1px solid var(--rst-control-border); border-radius: var(--rst-radius);
+ padding: 0.35rem; font-size: 0.9rem;
+ box-shadow: var(--rst-shadow-pop), 1px 2px 0 var(--rack-edge);
+ }
+ header .profile-menu .addr, header .profile-menu button.linkish {
+ display: flex; align-items: center; min-height: 2.75rem; padding: 0.4rem 0.55rem;
+ border-radius: var(--rst-radius-sm); text-align: left; overflow-wrap: anywhere;
+ }
+ header .profile-menu .addr { color: var(--muted); }
+ header .profile-menu :is(.addr, button.linkish):hover { background: var(--accent-soft); }
+ header .profile-menu :is(.addr, button.linkish):focus-visible { outline-offset: -2px; }
+ header .profile-menu form { margin: 0; }
+ header .profile-menu button.linkish { width: 100%; }
+ header .mobile-root { display: none; }
+
+ header .switcher {
+ position: relative;
+ }
+ header .switcher > summary {
+ display: inline-flex; align-items: baseline; gap: 0.4rem;
+ list-style: none; cursor: pointer;
+ padding: 0.25rem 0.6rem; border-radius: var(--rst-radius-sm);
+ background-color: var(--rst-control-face); color: var(--accent-strong);
+ border: 1px solid var(--rst-control-border); box-shadow: var(--shadow-raised);
+ }
+ header .switcher > summary .small { color: inherit; }
+ header .switcher > summary::-webkit-details-marker { display: none; }
+ header .switcher > summary:hover { background-color: var(--rst-control-face-hover); }
+ header .switcher[open] > summary {
+ background-color: var(--accent-soft);
+ box-shadow: var(--shadow-inset);
+ }
+
+ header .switcher .current-name {
+ font-weight: 700; min-width: 0; max-width: 14rem;
+ overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
+ }
+
+ header .switcher > summary > .icon { color: currentColor; align-self: center; width: 0.9em; }
+ header .switcher[open] > summary > .icon { transform: rotate(180deg); }
+ header .switcher-menu {
+ position: absolute; z-index: 20; top: calc(100% + 0.5rem); left: 0;
+
+ width: max-content; min-width: 13rem; max-width: 20rem;
+ background: var(--bg); border: 1px solid var(--rst-control-border); border-radius: var(--rst-radius);
+ padding: 0.35rem; font-size: 0.9rem;
+ box-shadow: var(--rst-shadow-pop), 1px 2px 0 var(--rack-edge);
+ }
+
+ header .switcher-menu ul {
+ list-style: none; margin: 0; padding: 0;
+ max-height: min(22rem, 60vh); overflow-y: auto; overscroll-behavior: contain;
+ }
+
+ header .switcher-find { display: block; width: 100%; margin: 0 0 0.35rem; }
+ header .switcher-none { padding: 0.35rem 0.55rem; color: var(--muted); }
+ header .switcher-menu a, header .switcher-menu .current {
+ display: flex; align-items: baseline; gap: 0.5rem;
+ padding: 0.35rem 0.55rem; border-radius: 0.4rem;
+ color: var(--ink); text-decoration: none; overflow-wrap: anywhere;
+ }
+ header .switcher-menu a:hover, header .switcher-menu a:focus { background: var(--accent-soft); }
+ header .switcher-menu .current { font-weight: 600; background: var(--accent-soft); }
+
+ header .switcher-menu .mark {
+ color: var(--accent); width: 0.9rem; flex: none;
+ display: flex; align-self: center;
+ }
+ header .switcher-menu a .mark { visibility: hidden; }
+ header .switcher-menu .new a .mark { visibility: visible; }
+ header .switcher-menu hr { border: 0; border-top: 1px solid var(--rule); margin: 0.35rem 0.2rem; }
+ header .switcher-menu .new a { color: var(--accent); }
+ main { max-width: 64rem; margin: 0 auto; padding: 2.5rem 0 3rem; min-height: 55vh; }
+ h1 { overflow-wrap: anywhere; font-size: 1.9rem; line-height: 1.15; margin: 0 0 1rem; color: var(--accent-strong); }
+ h2 { font-size: 1.25rem; margin: 2rem 0 0.75rem; }
+ h3 { font-size: 1rem; margin: 1.5rem 0 0.5rem; }
+
+ .settings-row { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; margin: 0 0 0.75rem; }
+ .settings-layout {
+ display: grid; grid-template-columns: minmax(10rem, 13rem) minmax(0, 1fr);
+ gap: 2.5rem; align-items: start;
+ }
+ .settings-nav { display: flex; flex-direction: column; gap: 0.2rem; }
+ .settings-nav a {
+ display: block; padding: 0.45rem 0.65rem; border-radius: 0.35rem;
+ color: var(--muted); text-decoration: none;
+ }
+ .settings-nav a:hover { color: var(--ink); background: var(--accent-soft); }
+ .settings-nav a[aria-current="page"] {
+ color: var(--ink); background: var(--accent-soft); font-weight: 600;
+ }
+ .settings-content {
+ min-width: 0; padding: 1.25rem 1.5rem 0.5rem; background-color: var(--bg);
+ border: 1px solid var(--rule); border-radius: var(--rst-radius); box-shadow: var(--shadow-module);
+ }
+ .settings-content :is(.tile, .tablewrap, .rung) { background-color: var(--rst-surface-2); box-shadow: none; }
+ .settings-content > h2:first-child { margin-top: 0; }
+ .danger-head { color: var(--bad); }
+ p { max-width: 40rem; margin: 0 0 1rem; }
+ .lede { font-size: 1.15rem; color: var(--muted); }
+ .small { font-size: 0.9rem; color: var(--muted); }
+
+ .visually-hidden {
+ position: absolute; width: 1px; height: 1px; overflow: hidden;
+ clip-path: inset(50%); white-space: nowrap;
+ }
+ .error { color: var(--bad); }
+ .banner {
+ background: var(--accent-soft); border-radius: 0.5rem;
+ padding: 0.6rem 0.9rem; margin: 0 0 1.5rem; max-width: 40rem;
+ }
+ :where(main) :where(ul:not([class]), ol:not([class]), ul.small, ol.small) { padding-left: 1.25rem; margin: 0 0 1rem; }
+ .tablewrap {
+ overflow-x: auto; margin: 0 0 1rem; background-color: var(--bg);
+ border: 1px solid var(--rule); border-radius: var(--rst-radius); box-shadow: var(--shadow-module);
+ }
+ .tablewrap > table:not(.packs) { margin: 0; }
+ .tablewrap > table:not(.packs) :is(th, td):first-child { padding-left: 0.9rem; }
+ .tablewrap > table:not(.packs) > :last-child > tr:last-child > :is(th, td) { border-bottom: 0; }
+ .tablewrap > table:not(.packs) tr:not(.instance-group) > th { background-color: var(--panel-cool); }
+ .tablewrap:has(> table.packs) { background: none; border: 0; border-radius: 0; box-shadow: none; margin: 0; }
+ .instances .instance-address { white-space: nowrap; }
+ .instances td:nth-child(2) { white-space: nowrap; }
+ .methods td:nth-child(3), .methods td:nth-child(4) { white-space: nowrap; }
+ .instance-open { display: inline-flex; padding: .25rem; }
+ .instance-group th { text-align: left; padding-top: 1rem; background: var(--accent-soft); }
+ .instance-group .small { font-weight: normal; }
+ .small a[aria-current="true"] { color: var(--ink); font-weight: 700; text-decoration-thickness: 3px; }
+ .instance-facts { display: grid; grid-template-columns: minmax(8rem, auto) 1fr; gap: .5rem 1.5rem; margin: 1rem 0; }
+ .instance-facts dt { color: var(--muted); }
+ .instance-facts dd { margin: 0; overflow-wrap: anywhere; }
+ .instance-facts .cellspark { max-width: 24rem; }
+
+ .term {
+ background: var(--accent-soft); border-radius: 0.5rem;
+ padding: 0.8rem 0 0.8rem 1rem; margin: 0 0 1rem;
+ min-height: 16rem; max-height: 70vh; overflow: auto;
+ font-family: var(--mono); font-size: 0.8rem; line-height: 1.55;
+ }
+
+ .tl { white-space: pre; width: max-content; min-width: 100%; padding-right: 1rem; }
+
+ .tl-t, .tl-h, .tl-f { color: var(--muted); }
+ .tl-s { color: var(--accent); }
+
+ .tl-warn .tl-m { color: var(--warn, #a6790f); }
+ .tl-error .tl-m { color: var(--bad); font-weight: 600; }
+ table { border-collapse: collapse; width: 100%; margin: 0 0 1rem; font-size: 0.95rem; }
+ .tiles { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0 0 1.5rem; }
+ .tile {
+ flex: 1 1 10rem; background-color: var(--bg); border: 1px solid var(--rule);
+ border-radius: var(--rst-radius); padding: 1rem 1.1rem; box-shadow: var(--shadow-module);
+ }
+
+ a.tile { color: var(--ink); text-decoration: none; }
+ a.tile:hover { outline: 1px solid var(--accent); }
+
+ .stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
+ .tile h2 {
+ margin: 0 0 0.35rem; font-family: var(--mono); font-size: 0.78rem; text-transform: uppercase;
+ letter-spacing: 0.05em; color: var(--accent-strong); font-weight: 600;
+ }
+ .tile-value { font-size: 1.6rem; font-weight: 600; margin: 0; }
+ .tile-detail { color: var(--muted); font-size: 0.8rem; margin: 0.25rem 0 0; }
+
+ .chip {
+ display: inline-block; font-family: var(--mono); font-size: 0.78rem; font-weight: 500;
+ padding: 0.15rem 0.55rem; border-radius: 999px; margin: 0.15rem 0.3rem 0.15rem 0;
+ }
+ .chip-stale { border: 1px solid var(--warn, #a6790f); color: var(--warn, #a6790f); }
+
+ .chip-canary { border: 1px solid var(--accent); color: var(--accent); }
+ .chip-prod { background: var(--bad); color: var(--bg); }
+
+ .chip-expired { border: 1px solid var(--warn, #a6790f); color: var(--warn, #a6790f); }
+
+ .chip-env { border: 1px solid var(--rule); color: var(--muted); }
+
+ .chip-health-ok { border: 1px solid var(--good); color: var(--good); }
+ .chip-health-attention { background: var(--warn, #a6790f); color: var(--bg); }
+ .chip-health-notdeployed { border: 1px solid var(--rule); color: var(--muted); }
+ .chip-health-unknown { border: 1px solid var(--warn, #a6790f); color: var(--warn, #a6790f); }
+
+ .chip-health-ok::before, .chip-health-attention::before,
+ .chip-health-notdeployed::before, .chip-health-unknown::before {
+ content: ""; display: inline-block; width: 0.55em; height: 0.55em;
+ margin: 0 0.4em 0.1em 0; border-radius: 50%; vertical-align: middle;
+ }
+ .chip-health-ok::before { background: var(--good); box-shadow: 0 0 0.4em color-mix(in srgb, var(--good) 55%, transparent); }
+ .chip-health-attention::before { background: var(--bg); border-radius: 1px; transform: rotate(45deg); }
+ .chip-health-unknown::before { box-shadow: inset 0 0 0 2px var(--warn, #a6790f); }
+ .chip-health-notdeployed::before { background: var(--muted); opacity: 0.45; }
+
+ .chip-freetier-inside { border: 1px solid var(--warn, #a6790f); color: var(--warn, #a6790f); }
+ .chip-freetier-partial { border: 1px solid var(--accent); color: var(--accent); }
+ .chip-freetier-paying { border: 1px solid var(--good); color: var(--good); }
+ .chip-freetier-pooled { border: 1px solid var(--rule); color: var(--muted); }
+
+ .chip-tier-unassigned { border: 1px solid var(--rule); color: var(--muted); }
+ .chip-tier-try { border: 1px solid var(--rule); color: var(--muted); }
+ .chip-tier-pool { border: 1px solid var(--rule); color: var(--muted); }
+ .chip-tier-hosted { border: 1px solid var(--good); color: var(--good); }
+ .chip-tier-fleet { border: 1px solid var(--accent); color: var(--accent); }
+ .chip-tier-dedicated { border: 1px solid var(--warn, #a6790f); color: var(--warn, #a6790f); }
+ .chip .icon { vertical-align: -0.1em; margin-right: 0.2em; }
+ .chip-up { background: var(--accent-soft); color: var(--good); }
+ .chip-down { background: var(--accent-soft); color: var(--bad); }
+ .chips { display: flex; flex-wrap: wrap; margin: 0 0 1rem; }
+
+ .bar { display: inline-block; width: 6rem; height: 0.5rem; border-radius: 999px; background: var(--accent-soft); vertical-align: middle; overflow: hidden; }
+ .bar-fill { display: block; height: 100%; background: var(--accent); }
+
+ .knob-row { display: flex; gap: 0.6rem; align-items: center; margin: 0 0 0.5rem; flex-wrap: wrap; }
+ .knob-row label { min-width: 12rem; color: var(--muted); font-size: 0.9rem; }
+ .knob-row input[type=number], .knob-row input[type=text] { width: 8rem; }
+ .knob-row input[type=range] { width: 12rem; }
+
+ .flow { margin: 0 0 1.75rem; }
+ .flow-line {
+ --flow-y: 1.25rem;
+ display: flex; flex-wrap: wrap; gap: 1.1rem 2.6rem;
+ list-style: none; margin: 0; padding: 0;
+ }
+ .flow-stage {
+ position: relative; flex: 1 1 10rem; min-width: 9rem; padding: 0.7rem 0.85rem 0.8rem;
+ background-color: var(--bg); border: 1px solid var(--rule); border-radius: var(--rst-radius);
+ box-shadow: var(--shadow-module);
+ }
+ .flow-stage + .flow-stage::before, .flow-stage + .flow-stage::after {
+ content: ""; position: absolute; pointer-events: none;
+ }
+ .flow-stage + .flow-stage::before {
+ left: -2.05rem; top: var(--flow-y); width: 1.3rem; border-top: 1px dashed var(--wire);
+ }
+ .flow-stage + .flow-stage::after {
+ left: -0.82rem; top: var(--flow-y); transform: translateY(-50%);
+ border: 0.28rem solid transparent; border-right: 0; border-left-color: var(--wire);
+ }
+ .flow-stage.is-carried::before { border-top-style: solid; border-top-color: var(--accent); }
+ .flow-stage.is-carried::after { border-left-color: var(--accent); }
+ .flow-label {
+ margin: 0; font-family: var(--mono); font-size: 0.74rem; text-transform: uppercase;
+ letter-spacing: 0.05em; color: var(--muted); font-weight: 600; overflow-wrap: anywhere;
+ }
+ .flow-version { margin: 0.3rem 0 0; font-size: 0.95rem; overflow-wrap: anywhere; }
+
+ .flow-stage:not(.is-held) { background-color: var(--rst-surface-2); }
+ .flow-stage:not(.is-held) .flow-version { color: var(--muted); }
+ .flow-stage.is-held { background-color: var(--panel-cool); }
+ .flow-stage.is-held .flow-label { color: var(--accent-strong); }
+ .flow-note { margin: 0.25rem 0 0; font-size: 0.78rem; color: var(--muted); }
+ .flow-addrs {
+ list-style: none; margin: 0.6rem 0 0; padding: 0 0 0 0.7rem;
+ border-left: 1px solid var(--rule); display: grid; gap: 0.35rem;
+ }
+ .flow-addr { font-size: 0.82rem; line-height: 1.35; }
+ .flow-addr a { display: block; overflow-wrap: anywhere; }
+ .flow-region { color: var(--muted); margin-right: 0.35rem; }
+ .flow-health { display: inline-flex; align-items: center; gap: 0.2rem; color: var(--muted); }
+ .flow-health .icon { width: 0.9em; height: 0.9em; flex: none; }
+ .flow-tone-ok .flow-health { color: var(--good); }
+ .flow-tone-wait .flow-health { color: var(--warn, #a6790f); }
+ .flow-tone-bad .flow-health { color: var(--bad); font-weight: 600; }
+ .flow-band { margin: 1.4rem 0 0.7rem; font-size: 0.9rem; color: var(--muted); }
+ .flow-caption { margin: 1.1rem 0 0; }
+
+ @media (max-width: 46rem) {
+ .settings-layout { display: block; }
+ .settings-nav {
+ flex-direction: row; overflow-x: auto; margin: 0 0 1.5rem;
+ padding-bottom: 0.25rem;
+ }
+ .settings-nav a { white-space: nowrap; }
+ .settings-content { padding: 1rem 1rem 0.25rem; }
+ .flow-line { display: block; }
+ .flow-stage + .flow-stage { margin-top: 2.25rem; }
+ .flow-stage + .flow-stage::before {
+ left: 1rem; top: -1.75rem; width: 0; height: 0.85rem;
+ border-top: 0; border-left: 1px dashed var(--wire);
+ }
+ .flow-stage + .flow-stage::after {
+ left: 1rem; top: -0.9rem; transform: translateX(-50%);
+ border: 0.28rem solid transparent; border-bottom: 0; border-top-color: var(--wire);
+ border-left-color: transparent;
+ }
+ .flow-stage.is-carried::before { border-left-color: var(--accent); }
+ .flow-stage.is-carried::after { border-top-color: var(--accent); border-left-color: transparent; }
+ }
+
+ .ladder { list-style: none; margin: 0 0 1rem; padding: 0; max-width: 40rem; }
+ .rung {
+ border: 1px solid var(--rule); border-radius: var(--rst-radius); padding: 0.8rem 1rem;
+ background-color: var(--bg); box-shadow: var(--shadow-module);
+ }
+ .rung + .rung { margin-top: 0.4rem; }
+ .rung-name {
+ font-family: var(--mono);
+ font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em;
+ font-weight: 600; color: var(--muted); margin: 0 0 0.3rem;
+ }
+ .rung p { margin: 0 0 0.2rem; }
+ .rung .gate { margin: 0.5rem 0 0; }
+ .rung .routes { list-style: none; margin: 0.3rem 0 0.6rem; padding: 0; font-size: 0.95rem; }
+ .rung .routes li { padding: 0.1rem 0; }
+
+ .step {
+ display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap;
+ margin: 0.7rem -1rem -0.8rem; padding: 0.5rem 1rem;
+ border-top: 1px solid var(--rule);
+ }
+ .step form { display: flex; align-items: baseline; gap: 0.5rem; margin: 0; }
+ .step > .icon { color: var(--muted); align-self: center; }
+ th {
+ font-family: var(--mono);
+ font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em;
+ color: var(--muted); text-align: left; font-weight: 600;
+ }
+ th, td { padding: 0.5rem 1rem 0.5rem 0; border-bottom: 1px solid var(--rule); }
+ form.signin { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 0 0 1rem; }
+ form.signin input[type=text], form.signin input[type=email] { padding: 0.55rem 0.8rem; min-width: 16rem; }
+ form.signin label { flex-basis: 100%; font-weight: 600; }
+
+ @media (max-width: 40rem) {
+ form.signin input[type=text], form.signin input[type=email] { flex: 1 1 100%; min-width: 0; }
+ form.signin button { flex: 1 1 100%; }
+ }
+
+ button, .btn {
+ --btn-fill: var(--rst-accent-fill); --btn-fill-hover: var(--rst-accent-fill-hover);
+ --btn-edge: var(--rst-accent-fill-edge); --btn-edge-hover: var(--rst-accent-fill-edge-hover);
+ --btn-lip: var(--btn-edge); --btn-ink: var(--rst-on-accent-fill);
+ --btn-hl: color-mix(in srgb, var(--rst-depth-hl) 30%, transparent);
+ font-size: 0.95rem; font-weight: 600; background-color: var(--btn-fill);
+ background-image: linear-gradient(rgb(255 255 255 / var(--rst-depth-face)), rgb(0 0 0 / var(--rst-depth-face)));
+ color: var(--btn-ink); border: 1px solid var(--btn-edge); border-radius: var(--rst-radius-sm);
+ padding: calc(0.6rem - 1px) calc(1.2rem - 1px); cursor: pointer;
+ text-decoration: none; display: inline-block;
+ box-shadow: inset 0 1px 0 var(--btn-hl), 0 2px 0 var(--btn-lip), 0 3px 4px -2px var(--rst-depth-contact);
+ transition: background-color 120ms ease-out, border-color 120ms ease-out, box-shadow 120ms ease-out, translate 80ms ease-out;
+ }
+ button.linkish {
+ background: none; color: var(--accent); font-weight: 400; padding: 0; border: 0; box-shadow: none;
+ border-radius: 0; text-decoration: underline; font-size: 0.9rem; cursor: pointer;
+ }
+ button:not(.linkish, .an-col):not(:disabled):hover, .btn:not([aria-disabled="true"]):hover {
+ background-color: var(--btn-fill-hover); border-color: var(--btn-edge-hover);
+ }
+ button:not(.linkish, .an-col):not(:disabled):not([aria-busy="true"]):active, .btn:not([aria-disabled="true"]):active {
+ translate: 0 var(--rst-press-drop);
+ box-shadow: inset 0 1px 2px var(--rst-depth-contact), 0 1px 0 var(--btn-lip);
+ }
+ button:disabled:not([aria-busy="true"]), .btn[aria-disabled="true"] {
+ opacity: 0.55; cursor: not-allowed; box-shadow: none;
+ }
+ button.linkish.danger { color: var(--bad); }
+
+ button[aria-busy="true"] { position: relative; color: transparent; cursor: progress; }
+ button[aria-busy="true"]::after {
+ content: ""; position: absolute; inset: 0; margin: auto;
+ width: 1.1em; height: 1.1em; border-radius: 50%;
+ border: 2px solid var(--btn-ink, var(--bg)); border-right-color: transparent;
+ animation: busy-spin 0.7s linear infinite;
+ }
+ @keyframes busy-spin { to { transform: rotate(360deg); } }
+ @media (prefers-reduced-motion: reduce) {
+ button, .btn { transition: none; }
+ button[aria-busy="true"]::after { animation-duration: 2.4s; }
+ }
+
+ .btn-sm, button.btn-sm {
+ font-size: 0.85rem; padding: calc(0.35rem - 1px) calc(0.8rem - 1px); border-radius: var(--rst-radius-sm);
+ }
+ .btn-secondary, button.btn-secondary {
+ --btn-fill: var(--rst-control-face); --btn-fill-hover: var(--rst-control-face-hover);
+ --btn-edge: var(--rst-control-border); --btn-edge-hover: var(--rst-control-border-hover);
+ --btn-lip: var(--rack-edge); --btn-hl: var(--rst-depth-hl); --btn-ink: var(--accent);
+ }
+ button.btn-danger, .btn-danger {
+ --btn-fill: var(--rst-danger-fill); --btn-fill-hover: var(--rst-danger-fill-hover);
+ --btn-edge: var(--rst-danger-fill-edge); --btn-edge-hover: var(--rst-danger-fill-edge-hover);
+ --btn-ink: var(--rst-on-danger-fill);
+ }
+
+ td .cell-value { display: inline-block; min-width: 3.5rem; font-weight: 600; }
+ .cellspark { width: 6rem; height: 1.1rem; vertical-align: -0.2rem; color: var(--muted); }
+ .cellspark polyline { stroke-width: 2.5; }
+
+ .feed { list-style: none; margin: 0 0 0.5rem; padding: 0; max-width: 40rem; }
+ .feed li { padding: 0.25rem 0; border-bottom: 1px solid var(--rule); }
+ .feed li:last-child { border-bottom: 0; }
+
+ .confirm-card {
+ border: 1px solid var(--rule); border-radius: var(--rst-radius);
+ padding: 1.25rem 1.4rem; max-width: 40rem; margin: 0 0 1rem;
+ background-color: var(--bg); box-shadow: var(--shadow-module);
+ }
+ .confirm-card .actions { display: flex; gap: 0.9rem; align-items: center; margin-top: 1rem; }
+ .confirm-card .confirm-note { margin: 0.8rem 0 0; }
+
+
+ .archwrap { overflow-x: auto; margin: 0.2rem 0 1.6rem; }
+
+ h4.archband {
+ border-top: 1px solid var(--rule); color: var(--muted);
+ font: 600 0.8rem var(--mono); letter-spacing: 0.02em;
+ margin: 1.5rem 0 0; padding-top: 0.5rem;
+ }
+
+ .archsvg { display: block; }
+ .archsvg rect { fill: var(--accent-soft); stroke: var(--rule); }
+ .archsvg .archnode-box rect { stroke: var(--accent); }
+ .archsvg .archtitle { fill: var(--ink); font: 600 13px var(--sans); }
+ .archsvg .archsub { fill: var(--muted); font: 400 11px var(--sans); }
+
+ .archsvg .archedge { fill: none; stroke: var(--muted); stroke-width: 1.5; }
+
+ .archsvg .archalarm { fill: var(--good); }
+ .archsvg .archalarm-firing { fill: var(--bad); }
+
+ .archbox {
+ border: 1px solid var(--rule); border-radius: var(--rst-radius);
+ padding: 0.9rem 1.1rem; margin: 0 0 0.6rem; max-width: 64rem;
+ background-color: var(--bg); box-shadow: var(--shadow-module);
+ }
+ .archbox h3 { margin: 0 0 0.3rem; }
+ .archbox p { margin: 0 0 0.2rem; }
+
+ .archbox .fact + .fact::before { content: " · "; color: var(--muted); }
+ footer {
+ max-width: 64rem; margin: 0 auto; padding: 1.25rem 0 2rem;
+ border-top: 1px solid var(--rule);
+ font-size: 0.85rem; color: var(--muted);
+ }
+
+ .pagehead { margin: 0 0 1.75rem; }
+ .eyebrow {
+ font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em;
+ text-transform: uppercase; color: var(--muted); margin: 0 0 0.3rem;
+ }
+ .pagehead h1 { margin: 0 0 0.35rem; }
+ .pagehead .lede { margin: 0; font-size: 1.05rem; }
+ .version-list { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0.5rem 0 1rem; }
+ .version-list code { display: inline-block; overflow-wrap: anywhere; }
+ .version-list li { min-width: 0; max-width: 100%; }
+
+ .reveal > summary { font-size: 1.1rem; font-weight: 600; cursor: pointer; }
+ .reveal > summary h2 { display: inline; font-size: inherit; margin: 0; }
+
+ .tabs {
+ display: flex; flex-wrap: wrap; gap: 1.25rem 0.25rem; margin: 0 0 2rem;
+ border-bottom: 1px solid var(--rule);
+ font-family: var(--mono); font-size: 0.85rem;
+ }
+ .tabs a {
+ color: var(--muted); text-decoration: none;
+ padding: 0.3rem 0.5rem 0.55rem; border-bottom: 2px solid transparent; margin-bottom: -1px;
+ }
+ .tabs a:hover { color: var(--ink); }
+ .tabs a[aria-current] {
+ color: var(--ink); border-bottom-color: var(--accent);
+ background: var(--accent-soft); border-radius: 0.35rem 0.35rem 0 0;
+ }
+ header nav a[aria-current] { color: var(--ink); font-weight: 600; text-decoration: none; }
+ header nav a.addr { color: var(--muted); text-decoration: none; }
+
+ .billing-now {
+ display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start;
+ gap: 1rem 3rem; padding: 1.15rem 1.4rem 1.25rem; margin: 0 0 0.5rem;
+ }
+ .billing-now > div { min-width: 0; }
+ .billing-now .tile-value { margin: 0 0 0.3rem; line-height: 1.2; min-width: 0; overflow-wrap: anywhere; }
+ .billing-facts { list-style: none; font-size: 0.9rem; color: var(--muted); }
+ .billing-includes, .plan-incl { list-style: none; display: grid; gap: 0.3rem; font-size: 0.9rem; }
+ .billing-includes { grid-template-columns: repeat(auto-fit, minmax(13rem, auto)); column-gap: 2rem; align-self: center; }
+ .billing-includes li, .plan-incl li { display: flex; align-items: flex-start; gap: 0.5rem; }
+ .billing-includes .icon, .plan-incl .icon { color: var(--accent); margin-top: 0.25em; }
+
+ .buy fieldset { border: 0; min-width: 0; }
+ .buy .currency { display: flex; align-items: center; gap: 0.6rem; margin: 0; }
+ .buy .currency legend { float: left; }
+
+ .seg {
+ display: inline-flex; gap: 2px; padding: 2px; border-radius: 0.5rem;
+ background: var(--accent-soft); box-shadow: var(--shadow-inset);
+ }
+ .seg label { position: relative; display: block; }
+ .seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
+ .seg label > span, .seg-fixed {
+ display: block; min-width: 3.4rem; padding: 0.4rem 0.75rem; border-radius: 0.375rem;
+ font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
+ text-align: center; color: var(--muted); line-height: 1.3;
+ transition: color 150ms ease-out, background-color 150ms ease-out, box-shadow 150ms ease-out;
+ }
+ .seg label:hover > span { color: var(--ink); }
+ .seg label:has(input:checked) > span, .seg-fixed {
+ background: var(--bg); color: var(--ink);
+ box-shadow: var(--shadow-raised);
+ }
+ .seg label:has(input:focus-visible) > span { outline: 2px solid var(--accent); outline-offset: 1px; }
+
+ .plan-cards {
+ display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
+ gap: 1rem; margin: 0 0 2.25rem;
+ }
+ .plan-card {
+ position: relative; border: 1px solid var(--rule); border-radius: var(--rst-radius);
+ padding: 1.1rem 1.25rem 1.25rem; background-color: var(--bg); box-shadow: var(--shadow-module);
+ transition: border-color 150ms ease-out, background-color 150ms ease-out, box-shadow 150ms ease-out;
+ }
+ .plan-card:hover { border-color: var(--muted); }
+ .plan-card:has(input:checked) {
+ border-color: var(--accent); background-image: linear-gradient(var(--accent-soft), var(--accent-soft));
+ box-shadow: var(--shadow-module), inset 0 0 0 1px var(--accent);
+ }
+ .plan-card:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
+ .plan-card p { margin: 0; max-width: none; }
+ .plan-card label { display: flex; align-items: center; gap: 0.55rem; cursor: pointer; }
+ .plan-card label::after { content: ""; position: absolute; inset: 0; }
+ .plan-card input { flex: none; width: 1.05rem; height: 1.05rem; margin: 0; accent-color: var(--accent); cursor: pointer; }
+ .plan-name { min-width: 0; overflow-wrap: anywhere; font-size: 1.15rem; font-weight: 650; }
+ .plan-cost { display: block; margin: 0.65rem 0 0; }
+ .plan-card span.price {
+ display: block; color: var(--ink); font-size: 1.15rem; font-weight: 650;
+ line-height: 1.3; text-wrap: balance; font-variant-numeric: tabular-nums;
+ }
+ .plan-card span.total { margin-top: 0.4rem; font-size: 0.9rem; font-weight: 500; }
+
+ .buy:not(:has(input[name=currency]:checked)) .plan-card span.price { font-size: 0.95rem; font-weight: 500; }
+ .plan-incl { margin: 1rem 0 0; padding: 0.9rem 0 0; border-top: 1px solid var(--rule); }
+ .plan-card:has(input:checked) .plan-incl { border-top-color: var(--accent-soft); }
+
+ .buy h3 { margin: 0; }
+ .buy .packs-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.2rem 1rem; margin: 0 0 0.2rem; }
+ .buy .packs-head + .small { margin: 0 0 0.75rem; }
+ table.packs { margin: 0; }
+ .packs tr:first-child td { border-top: 1px solid var(--rule); }
+ .packs td { padding: 0.75rem 1.25rem 0.75rem 0; vertical-align: middle; }
+ .packs td:first-child { width: 100%; }
+ .packs td + td { white-space: nowrap; }
+ .packs td:last-child { padding-right: 0; text-align: right; }
+ .packs label { display: block; font-weight: 600; }
+ .packs td:first-child .small { display: block; }
+ .packs span.price { display: block; color: var(--ink); font-variant-numeric: tabular-nums; }
+ .packs td form { justify-content: flex-end; flex-wrap: nowrap; }
+ .packs input[type=number] {
+ width: 4.75rem; padding: 0.4rem 0.5rem; text-align: center;
+ font: inherit; font-size: 1rem; font-variant-numeric: tabular-nums;
+ color: var(--ink); background: var(--field); accent-color: var(--accent);
+ border: 1px solid var(--muted); border-radius: var(--rst-radius-sm); box-shadow: var(--shadow-inset);
+ }
+ .packs input[type=number]:hover { border-color: var(--ink); }
+ .packs input[type=number]:focus-visible { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 1px; }
+
+ .use { font-variant-numeric: tabular-nums; }
+ .use-warn, .use-over { font-weight: 600; }
+ .use-warn { color: var(--ink); }
+ .use-over { color: var(--bad); }
+ .use-warn::before, .use-over::before {
+ content: ""; display: inline-block; width: 0.45rem; height: 0.45rem; margin: 0 0.4rem 0.1em 0;
+ border-radius: 50%; background: var(--warn); vertical-align: middle;
+ }
+ .use-over::before { background: var(--bad); }
+ .packs td:first-child .use { margin-top: 0.15rem; }
+ .plan-incl .use { margin-left: auto; padding-left: 0.5rem; white-space: nowrap; }
+ .usage-asof { margin: 0; }
+ .packs-head .usage-asof { font-size: 0.82rem; }
+
+ .billing-usage { flex: 1 1 100%; padding: 0.9rem 0 0; border-top: 1px solid var(--rule); }
+ .billing-usage dl { display: flex; flex-wrap: wrap; gap: 0.6rem 2.75rem; margin: 0 0 0.6rem; }
+ .billing-usage dt { font-size: 0.82rem; color: var(--muted); }
+ .billing-usage dd { margin: 0; font-size: 0.95rem; }
+ .billing-usage .usage-asof { font-size: 0.82rem; }
+
+
+ .an-off { margin: 0 0 1.5rem; }
+ .an-range { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; margin: 0 0 1.75rem; }
+ .an-range a {
+ padding: 0.3rem 0.75rem; border-radius: 999px; color: var(--muted);
+ text-decoration: none; font-size: 0.9rem;
+ }
+ .an-range a:hover { color: var(--ink); background: var(--accent-soft); }
+ .an-range a[aria-current="page"] { color: var(--ink); background: var(--accent-soft); font-weight: 600; }
+ .an-range a:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
+ .an-span { margin-left: 0.75rem; color: var(--muted); font-size: 0.85rem; }
+ .an-daynav { display: inline-flex; gap: 0.25rem; margin-left: 0.5rem; }
+ .an-daynav a { font-size: 0.85rem; }
+ .an-figures { display: flex; flex-wrap: wrap; gap: 1rem 3.5rem; margin: 0 0 1.5rem; }
+ .an-figures dt { color: var(--muted); font-size: 0.9rem; }
+ .an-figures dd { margin: 0; font-size: 2.25rem; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
+ .an-figures dd.an-note { font-size: 0.8rem; font-weight: 400; color: var(--muted); max-width: 16rem; line-height: 1.4; margin-top: 0.3rem; letter-spacing: 0; }
+ .an-empty { color: var(--muted); padding: 2.5rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); max-width: none; }
+ .an-insights { color: var(--ink); font-size: 0.95rem; margin: 0.75rem 0 0.5rem; max-width: none; }
+ .an-quality { margin: 0 0 2rem; max-width: 48rem; }
+
+ .an-chart { margin: 0; padding-left: 2.25rem; }
+ .an-plot { position: relative; height: 14rem; }
+ .an-overview .an-plot { height: 7rem; }
+ .an-grid span {
+ position: absolute; left: 0; right: 0; height: 0;
+ border-top: 1px solid var(--rule);
+ }
+ .an-grid i {
+ position: absolute; right: calc(100% + 0.5rem); top: -0.6em;
+ font-style: normal; font-size: 0.75rem; color: var(--muted);
+ font-variant-numeric: tabular-nums; white-space: nowrap;
+ }
+ .an-cols, .an-xaxis { display: grid; grid-template-columns: repeat(var(--an-cols), minmax(0, 1fr)); }
+ .an-cols { position: absolute; inset: 0; }
+
+ button.an-col, .an-col {
+ position: relative; display: flex; align-items: flex-end; justify-content: center;
+ height: 100%; padding: 0 1px; margin: 0; border: 0; border-radius: 0.25rem;
+ background: transparent; color: inherit; font: inherit; cursor: default; box-shadow: none;
+ }
+ .an-col:not(.an-future):hover, .an-col:not(.an-future):focus-visible { background: var(--accent-soft); }
+ .an-col:not(.an-future):focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
+
+ a.an-col { text-decoration: none; cursor: pointer; }
+ .an-bar {
+ position: relative; display: block; width: 100%; max-width: 24px; min-height: 0;
+ background: var(--accent); border-radius: 4px 4px 0 0;
+ }
+ .an-col:hover .an-bar, .an-col:focus-visible .an-bar { background: var(--accent-strong); }
+
+ .an-partial .an-bar { background: repeating-linear-gradient(135deg, var(--accent) 0 3px, var(--accent-soft) 3px 6px); }
+ .an-gap::after {
+ content: ""; position: absolute; bottom: -0.55rem; left: 50%; width: 5px; height: 5px;
+ margin-left: -2.5px; border-radius: 50%; background: var(--warn);
+ }
+ .an-tip {
+ display: none; position: absolute; z-index: 2; bottom: calc(100% + 0.4rem); left: 50%;
+ transform: translateX(-50%); width: max-content; max-width: 15rem;
+ padding: 0.5rem 0.7rem; border-radius: 0.4rem; text-align: left;
+ background: var(--ink); color: var(--bg); font-size: 0.8rem; line-height: 1.45;
+ box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18); pointer-events: none;
+ }
+ .an-tip b { display: block; font-size: 0.95rem; font-weight: 600; }
+ .an-tip span { display: block; }
+ .an-tip .an-when { opacity: 0.75; margin-top: 0.15rem; }
+ .an-edge-start .an-tip { left: 0; transform: none; }
+ .an-edge-end .an-tip { left: auto; right: 0; transform: none; }
+ .an-col:hover .an-tip, .an-col:focus .an-tip { display: block; }
+
+ .an-cols:hover .an-col:focus:not(:hover) .an-tip { display: none; }
+
+ .an-future { cursor: default; }
+ .an-xaxis { margin-top: 0.35rem; font-size: 0.75rem; color: var(--muted); white-space: nowrap; }
+ .an-xaxis span { justify-self: center; }
+
+ .an-breakdowns { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 2rem 3rem; margin: 0 0 2rem; }
+ .an-card h3 { font-size: 1rem; margin: 0 0 0.6rem; }
+ .an-share { list-style: none; margin: 0 0 0.5rem; }
+ .an-share li {
+ display: grid; grid-template-columns: minmax(0, 1fr) auto 3rem; column-gap: 0.75rem;
+ align-items: baseline; padding: 0.4rem 0 0.45rem; border-bottom: 1px solid var(--rule);
+ }
+ .an-key { overflow-wrap: anywhere; }
+ .an-flag { margin-right: 0.4rem; }
+ .an-val { font-variant-numeric: tabular-nums; text-align: right; }
+ .an-pct { font-variant-numeric: tabular-nums; text-align: right; color: var(--muted); font-size: 0.85rem; }
+ .an-track { grid-column: 1 / -1; display: block; height: 3px; margin-top: 0.3rem; border-radius: 2px; background: var(--accent-soft); }
+ .an-track span { display: block; height: 100%; border-radius: 2px; background: var(--accent); }
+ .an-muted .an-key { color: var(--muted); }
+ .an-muted .an-track span { background: var(--muted); opacity: 0.5; }
+
+ .an-more { margin: 0.6rem 0 0; font-size: 0.9rem; }
+ .an-card h3.an-subhead { margin-top: 1.4rem; }
+ .an-pages { margin: 0 0 2rem; }
+ .an-pages-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0 0 0.8rem; }
+ .an-pages-head h3 { font-size: 1rem; margin: 0; }
+ input.an-filter { width: 100%; max-width: 24rem; margin: 0 0 1rem; }
+ .an-section { border-bottom: 1px solid var(--rule); }
+ .an-section summary {
+ display: grid; grid-template-columns: minmax(0, 1fr) auto 3rem 5.5rem; column-gap: 0.75rem;
+ align-items: baseline; padding: 0.55rem 0; cursor: pointer; font-weight: 600;
+ }
+ .an-section summary .an-count { color: var(--muted); font-size: 0.85rem; font-weight: 400; text-align: right; }
+ .an-pagelist { margin: 0 0 0.75rem 1rem; }
+ .an-pagelist li { grid-template-columns: minmax(0, 1fr) 60px auto 3rem; }
+ .an-spark { width: 60px; height: 16px; align-self: center; }
+ .an-spark polyline { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
+ .an-overview { margin: 0 0 2rem; padding: 1.25rem 1.4rem 1.4rem; border: 1px solid var(--rule); border-radius: var(--rst-radius); background-color: var(--bg); box-shadow: var(--shadow-module); }
+ .an-overview-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0 0 1rem; }
+ .an-overview-head h2 { font-size: 1rem; margin: 0; }
+ .an-overview .an-figures { gap: 0.75rem 2.5rem; margin-bottom: 1rem; }
+ .an-overview .an-figures dd:not(.an-note) { font-size: 1.6rem; }
+ .an-overview .an-empty { padding: 1.5rem 0; }
+
+ .pt-blocked { position: absolute; left: 0; right: 0; bottom: 0; background: var(--ink); border-radius: inherit; }
+ .pt-key { display: inline-block; width: 0.7rem; height: 0.7rem; margin: 0 0.35rem 0 0; border-radius: 2px; background: var(--accent); vertical-align: -0.05rem; }
+ .pt-key + .pt-key { margin-left: 0.75rem; }
+ .pt-key-blocked { background: var(--ink); }
+ @media (max-width: 40rem) {
+ .an-figures { gap: 1rem 2rem; }
+ .an-figures dd:not(.an-note) { font-size: 1.75rem; }
+ .an-plot { height: 11rem; }
+ .an-span { flex-basis: 100%; margin: 0.4rem 0 0 0.75rem; }
+ }
+ @media (forced-colors: active) {
+ .an-bar, .an-track span { background: CanvasText; }
+ .pt-key { background: CanvasText; }
+ .pt-blocked, .pt-key-blocked { background: Highlight; }
+ .an-tip { border: 1px solid CanvasText; }
+ }
+ .buy-foot { margin: 1.75rem 0 0; }
+ .buy-foot button { padding: 0.7rem 1.5rem; }
+ .billing-upgrades { margin-top: 1.25rem; }
+
+ .done { max-width: 36rem; margin: clamp(1rem, 9vh, 5.5rem) auto 0; text-align: center; }
+ .done-mark {
+ display: inline-grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%;
+ margin: 0 0 1.4rem; background: var(--accent); color: var(--bg);
+ }
+ .done-mark .icon { width: 1.6rem; height: 1.6rem; stroke-width: 2.6; }
+ .done h1 { margin: 0 0 0.8rem; font-size: clamp(1.65rem, 1.2rem + 1.6vw, 2.15rem); line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; overflow-wrap: anywhere; }
+ .done-lede, .done-room { margin: 0 auto; max-width: 32rem; text-wrap: pretty; overflow-wrap: anywhere; }
+ .done-lede { font-size: 1.05rem; }
+ .done-room { margin-top: 0.5rem; color: var(--muted); }
+ .done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin: 2rem 0 0; }
+ .done-actions .btn { padding: 0.6rem 1.25rem; }
+ .done-actions .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
+
+ #packs-title, #upgrade { scroll-margin-top: 1.5rem; }
+ @media (prefers-reduced-motion: no-preference) {
+ .done-mark { animation: done-pop 520ms cubic-bezier(0.16, 1, 0.3, 1) both; }
+ .done-mark path { stroke-dasharray: 24; animation: done-draw 480ms 200ms cubic-bezier(0.16, 1, 0.3, 1) both; }
+ }
+ @keyframes done-pop { from { transform: scale(0.7); } }
+ @keyframes done-draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
+ @media (min-width: 46rem) {
+ .billing-includes { grid-template-columns: repeat(2, auto); }
+ }
+ @media (max-width: 40rem) {
+ table.methods .added { display: none; }
+ .billing-now { padding: 1rem 1.1rem 1.1rem; }
+ .done-actions { flex-direction: column; align-items: stretch; margin-top: 1.75rem; }
+ .done-actions .btn { text-align: center; }
+ .packs tr {
+ display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
+ gap: 0.6rem 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--rule);
+ }
+ .packs tr:first-child { border-top: 1px solid var(--rule); }
+ .packs td, .packs tr:first-child td { display: block; width: auto; padding: 0; border: 0; }
+ .packs td:first-child { grid-column: 1 / -1; }
+ .packs td:last-child { text-align: right; }
+ .buy-foot button { width: 100%; }
+ }
+
+ .mobile-back, .pagehead > .mobile-title { display: none; }
+ header .account-links { display: contents; }
+ .index-nav { display: flex; flex-direction: column; max-width: 32rem; margin: 0 0 2rem; border: 1px solid var(--rule); border-radius: var(--rst-radius); background: var(--bg); box-shadow: var(--shadow-module); overflow: hidden; }
+ .index-nav a:last-child { border-bottom: 0; }
+ .index-nav a {
+ display: flex; align-items: center; box-sizing: border-box;
+ gap: 0.75rem; min-height: 3.75rem; padding: 0.75rem 0.875rem; border-bottom: 1px solid var(--rule);
+ color: var(--ink); text-decoration: none; overflow-wrap: anywhere;
+ }
+ .index-context { display: flex; align-items: center; gap: 0.875rem; max-width: 32rem; margin: 0.25rem 0 1.5rem; }
+ .index-context-copy { min-width: 0; }
+ .index-context h1 { margin: 0; }
+ .index-context .eyebrow { margin: 0 0 0.25rem; font-size: 0.7rem; overflow-wrap: anywhere; }
+ .index-meta { margin: 0.375rem 0 0; color: var(--muted); font-size: 0.8rem; overflow-wrap: anywhere; }
+ .index-meta code { font-size: 0.75rem; }
+ .app-mark { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 2rem; height: 2rem; border-radius: 0.6rem; font: 600 1rem/1 var(--mono); text-transform: uppercase; color: var(--accent-strong); background: var(--accent-soft); border: 1px solid var(--rack-edge); box-shadow: var(--shadow-raised); }
+ .app-mark .icon { width: 1rem; height: 1rem; }
+ .index-context > .app-mark { width: 2.75rem; height: 2.75rem; font-size: 1.25rem; }
+ .index-context-icon { display: flex; align-items: center; justify-content: center; flex: none; width: 2.75rem; height: 2.75rem; color: var(--accent-strong); background: var(--accent-soft); border: 1px solid var(--rack-edge); border-radius: 0.75rem; box-shadow: var(--shadow-raised); }
+ .index-context-icon .icon { width: 1.4rem; height: 1.4rem; }
+ .index-nav .index-icon { display: flex; align-items: center; justify-content: center; flex: none; width: 2rem; height: 2rem; border-radius: 0.5rem; background: light-dark(#f0e4ef, #382435); color: var(--accent-strong); box-shadow: inset 0 1px 0 var(--rst-depth-hl), 0 1px 1px var(--rst-depth-ambient); }
+ .index-nav .index-icon .icon { width: 1.125rem; height: 1.125rem; }
+ .index-label { flex: 1; min-width: 0; }
+ .index-chevron { display: flex; flex: none; color: var(--muted); opacity: 0.65; }
+ .index-chevron .icon { width: 1rem; height: 1rem; }
+ .index-nav :is(.index-key-fleet, .index-key-instances, .index-key-placement, .index-key-domains, .index-key-email) .index-icon { background: light-dark(#e4edf9, #1e3049); color: light-dark(#32629c, #9cbfee); }
+ .index-nav :is(.index-key-team, .index-key-availability, .index-key-protection, .index-key-storage) .index-icon { background: light-dark(#e1f0ed, #1b3833); color: light-dark(#28685e, #99d2c5); }
+ .index-nav :is(.index-key-settings, .index-key-general, .index-key-logs, .index-key-environments) .index-icon { background: light-dark(#ececf0, #2c2d34); color: var(--muted); }
+ .index-nav .index-key-delete .index-icon { background: light-dark(#f7e9e8, #3b2425); color: var(--bad); }
+
+ .index-nav a:first-child { border-top-left-radius: calc(var(--rst-radius) - 1px); border-top-right-radius: calc(var(--rst-radius) - 1px); }
+ .index-nav a:last-child { border-bottom-left-radius: calc(var(--rst-radius) - 1px); border-bottom-right-radius: calc(var(--rst-radius) - 1px); }
+ .index-nav a:hover, .index-nav a:target { background: var(--accent-soft); }
+ .index-nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
+ @media (forced-colors: active) { .index-nav a:focus-visible { outline-color: Highlight; } }
+ @media (max-width: 800px) {
+ body[data-view] header :is(.switcher, .brand, .account-links) { display: none; }
+ body[data-view] header {
+ position: sticky; top: 0; z-index: 30; flex-wrap: nowrap; gap: 0.75rem;
+ max-width: none; margin: 0 -1.25rem; padding: 0.375rem 0.5rem; border-top: 0;
+ background: var(--rst-bg);
+ }
+ body[data-view] header nav { flex: none; margin-left: auto; flex-wrap: nowrap; gap: 0; }
+ body[data-view] header .mobile-back, body[data-view] header .mobile-root { display: flex; align-items: center; flex: 1; min-width: 0; }
+ body[data-view] header .mobile-root { font-weight: 500; min-height: 2.75rem; padding: 0.35rem 0.75rem; }
+ body[data-view="page"] .tabs, body[data-view="page"] .settings-nav { display: none; }
+ body[data-view] { border-top: 3px solid var(--accent); }
+ body[data-view] .pagehead > .eyebrow { display: none; }
+ body[data-view] main { padding-top: 1.25rem; }
+ .mobile-back a {
+ display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; min-width: 2.75rem;
+ box-sizing: border-box; padding: 0.35rem 0.75rem; font-weight: 500; text-decoration: none;
+ overflow-wrap: anywhere;
+ }
+ .mobile-back a::before {
+ content: ""; flex: none; width: 0.55rem; height: 0.55rem;
+ border-left: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(-45deg);
+ }
+ .mobile-back a:focus-visible { outline-offset: -2px; }
+ :root:has(body[data-view]) { scroll-padding-top: calc(3.5rem + 1px); }
+ .pagehead > h1:has(+ .mobile-title) { display: none; }
+ .pagehead > .mobile-title { display: block; overflow-wrap: anywhere; }
+ .index-nav { max-width: none; }
+
+ }
+</style>
+</head>
+<body data-view="page">
+<header>
+
+ <details class="switcher" id="switcher">
+ <summary>
+ <span class="small">Account</span>
+ <span class="current-name">shop</span>
+ <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m6 9 6 6 6-6"/></svg>
+ </summary>
+ <div class="switcher-menu">
+
+ <ul>
+ <li>
+ <span class="current" aria-current="true"><span class="mark"><svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20 6 9 17l-5-5"/></svg></span>shop</span>
+ </li>
+
+ </ul>
+ <hr>
+ <div class="new"><a href="/accounts/new"><span class="mark"><svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="M12 5v14"/></svg></span>New account</a></div>
+ </div>
+ </details>
+
+ <div class="mobile-back"><a href="/a/shop/apps/shop/settings/index#nav-environments" rel="up">Settings</a></div>
+ <nav>
+ <span class="account-links"><a href="/a/shop/" aria-current="page">Apps</a>
+ <a href="/a/shop/fleet">Fleet</a>
+ <a href="/a/shop/team">Team</a>
+ <a href="/a/shop/settings">Settings</a>
+ </span>
+ <details class="profile" id="profile">
+ <summary aria-label="you@example.com"><svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="8" r="5"/><path d="M20 21a8 8 0 0 0-16 0"/></svg><svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m6 9 6 6 6-6"/></svg></summary>
+ <div class="profile-menu">
+ <a class="addr" href="/settings">you@example.com</a>
+ <form method="post" action="/auth/signout">
+ <input type="hidden" name="csrf" value="mockup">
+ <button class="linkish" type="submit">Sign out</button>
+ </form>
+ </div>
+ </details>
+ </nav>
+</header>
+<main>
+<div class="pagehead">
+ <p class="eyebrow">App · shop</p>
+ <h1>shop</h1>
+ <h1 class="mobile-title">Environments</h1>
+</div>
+<nav class="tabs" aria-label="App sections">
+ <a href="/a/shop/apps/shop">Overview</a>
+ <a href="/a/shop/apps/shop/instances">Running</a>
+ <a href="/a/shop/apps/shop/releases">Deployments</a>
+ <a href="/a/shop/apps/shop/logs">Logs</a>
+ <a href="/a/shop/apps/shop/errors">Errors</a>
+ <a href="/a/shop/apps/shop/availability">Availability</a>
+ <a href="/a/shop/apps/shop/analytics">Analytics</a>
+ <a href="/a/shop/apps/shop/protection">Protection</a>
+ <a href="/a/shop/apps/shop/activity">Activity</a>
+ <a href="/a/shop/apps/shop/settings" aria-current="page">Settings</a>
+</nav>
+
+<div class="settings-layout">
+<nav class="settings-nav" aria-label="Settings sections">
+ <a href="/a/shop/apps/shop/settings">General</a>
+ <a href="/a/shop/apps/shop/settings/domains">Domains</a>
+ <a href="/a/shop/apps/shop/settings/placement">Placement</a>
+ <a href="/a/shop/apps/shop/settings/pipeline">Release pipeline</a>
+ <a href="/a/shop/apps/shop/settings/environments" aria-current="page">Environments</a>
+ <a href="/a/shop/apps/shop/settings/storage">Storage</a>
+ <a href="/a/shop/apps/shop/settings/email">Email</a>
+ <a href="/a/shop/apps/shop/settings/features">Feature flags</a>
+ <a href="/a/shop/apps/shop/settings/errors-analytics">Errors and analytics</a>
+ <a href="/a/shop/apps/shop/settings/delete">Delete</a>
+</nav>
+<div class="settings-content">
+<style>
+ /* New for this page: one compact row per variable, an Edit reveal, a save bar. */
+ .envvars { list-style: none; margin: 0; padding: 0; }
+ .envvars > li { border-bottom: 1px solid var(--rule); }
+ .envvars > li:last-child { border-bottom: 0; }
+ .envvar > summary, .envvar-row { display: flex; align-items: baseline; gap: 0.75rem; padding: 0.55rem 0.9rem; list-style: none; }
+ .envvar > summary { cursor: pointer; }
+ .envvar > summary::-webkit-details-marker { display: none; }
+ .envvar-name { flex: none; }
+ .envvar-value { flex: 1; min-width: 0; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
+ .envvar-value { font-size: 0.9rem; }
+ .outcomes .envvar-row { flex-wrap: wrap; justify-content: space-between; row-gap: 0.3rem; }
+ .outcomes .envvar-value { flex: none; }
+ .envvar-edit { flex: none; color: var(--accent); font-size: 0.9rem; }
+ .envvar[open] .envvar-edit { color: var(--muted); }
+ .envvar-panel { padding: 0 0.9rem 0.6rem; }
+ .envvar-panel .settings-row { margin: 0; }
+ .envvar-panel input[type=text], .envvar-panel input[type=password] { flex: 1; min-width: 8rem; }
+ .envhead { margin: 1.75rem 0 0.15rem; }
+ .envhead + .small { margin: 0 0 0.6rem; }
+ .addvar { margin: 0.6rem 0 0.25rem; }
+ .addvar input[name$=".name"] { flex: 0 1 9rem; min-width: 6rem; }
+ .addvar input[name$=".value"] { flex: 1 1 8rem; min-width: 6rem; }
+ .addvar + .small { margin: 0 0 0.5rem; }
+ .savebar {
+ position: sticky; bottom: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.5rem 0.9rem; align-items: center;
+ margin: 1.5rem 0 1rem; padding: 0.6rem 0.9rem; background: var(--accent-soft);
+ border: 1px solid var(--rule); border-radius: var(--rst-radius);
+ }
+ .savebar p { margin: 0; flex: 1 1 12rem; }
+ .savebar .actions { display: flex; gap: 0.9rem; align-items: center; }
+</style>
+
+<h2>Environments</h2>
+<p class="small">Settings your app reads when it starts. Anything a named environment doesn't set comes from All environments.</p>
+
+<form method="post" action="/a/shop/apps/shop/settings/environments">
+ <input type="hidden" name="csrf" value="mockup">
+
+ <h3 class="envhead">All environments</h3>
+ <p class="small">Used by shop.example.com</p>
+ <div class="tablewrap">
+ <ul class="envvars">
+ <li><details class="envvar"><summary><code class="envvar-name">LOG_LEVEL</code><span class="envvar-value">info</span><span class="envvar-edit">Edit</span></summary>
+ <div class="envvar-panel settings-row"><label class="visually-hidden" for="v-default-log">New value for LOG_LEVEL</label><input type="text" id="v-default-log" name="default.LOG_LEVEL" value="info" autocomplete="off"> <button type="submit" class="linkish danger" name="remove" value="default.LOG_LEVEL">Remove</button></div>
+ </details></li>
+ <li><details class="envvar"><summary><code class="envvar-name">STRIPE_KEY</code><span class="envvar-value small">Sealed</span><span class="envvar-edit">Edit</span></summary>
+ <div class="envvar-panel settings-row"><label class="visually-hidden" for="v-default-stripe">New value for STRIPE_KEY</label><input type="password" id="v-default-stripe" name="default.STRIPE_KEY" placeholder="New value" autocomplete="off"> <button type="submit" class="linkish danger" name="remove" value="default.STRIPE_KEY">Remove</button></div>
+ </details></li>
+ <li><details class="envvar"><summary><code class="envvar-name">MAIL_TOKEN</code><span class="envvar-value small">Sealed</span><span class="envvar-edit">Edit</span></summary>
+ <div class="envvar-panel settings-row"><label class="visually-hidden" for="v-default-mail">New value for MAIL_TOKEN</label><input type="password" id="v-default-mail" name="default.MAIL_TOKEN" placeholder="New value" autocomplete="off"> <button type="submit" class="linkish danger" name="remove" value="default.MAIL_TOKEN">Remove</button></div>
+ </details></li>
+ <li><div class="envvar-row"><code class="envvar-name">WEBHOOK_SECRET</code><span class="envvar-value"><span class="chip chip-canary">New secret</span></span><button type="submit" class="linkish" name="discard" value="default.WEBHOOK_SECRET">Undo</button></div></li>
+ </ul>
+ </div>
+ <div class="settings-row addvar">
+ <label class="visually-hidden" for="add-default-name">Name</label>
+ <input type="text" id="add-default-name" name="add.default.name" placeholder="NAME" autocomplete="off" spellcheck="false">
+ <label class="visually-hidden" for="add-default-value">Value</label>
+ <input type="text" id="add-default-value" name="add.default.value" placeholder="Value" autocomplete="off">
+ <label class="small"><input type="checkbox" name="add.default.secret" value="1"> Secret</label>
+ <button type="submit" class="btn-sm btn-secondary" name="stage" value="default">Add</button>
+ </div>
+ <p class="small">Secrets are sealed in your browser. Nobody can read them back, only replace them.</p>
+
+ <h3 class="envhead">staging</h3>
+ <p class="small">Used by staging.shop.example.com</p>
+ <div class="tablewrap">
+ <ul class="envvars">
+ <li><details class="envvar" open><summary><code class="envvar-name">LOG_LEVEL</code><span class="envvar-value">debug</span><span class="envvar-edit">Close</span></summary>
+ <div class="envvar-panel settings-row"><label class="visually-hidden" for="v-staging-log">New value for LOG_LEVEL</label><input type="text" id="v-staging-log" name="staging.LOG_LEVEL" value="debug" autocomplete="off"> <button type="submit" class="linkish danger" name="remove" value="staging.LOG_LEVEL">Remove</button></div>
+ </details></li>
+ <li><details class="envvar"><summary><code class="envvar-name">STRIPE_KEY</code><span class="envvar-value small">Sealed</span><span class="envvar-edit">Edit</span></summary>
+ <div class="envvar-panel settings-row"><label class="visually-hidden" for="v-staging-stripe">New value for STRIPE_KEY</label><input type="password" id="v-staging-stripe" name="staging.STRIPE_KEY" placeholder="New value" autocomplete="off"> <button type="submit" class="linkish danger" name="remove" value="staging.STRIPE_KEY">Remove</button></div>
+ </details></li>
+ </ul>
+ </div>
+ <div class="settings-row addvar">
+ <label class="visually-hidden" for="add-staging-name">Name</label>
+ <input type="text" id="add-staging-name" name="add.staging.name" placeholder="NAME" autocomplete="off" spellcheck="false">
+ <label class="visually-hidden" for="add-staging-value">Value</label>
+ <input type="text" id="add-staging-value" name="add.staging.value" placeholder="Value" autocomplete="off">
+ <label class="small"><input type="checkbox" name="add.staging.secret" value="1"> Secret</label>
+ <button type="submit" class="btn-sm btn-secondary" name="stage" value="staging">Add</button>
+ </div>
+
+ <div class="savebar">
+ <p class="small">1 change: new secret WEBHOOK_SECRET in All environments.</p>
+ <div class="actions">
+ <button type="submit" class="linkish" name="discard" value="all">Discard</button>
+ <button type="submit" class="btn-sm" data-busy>Save</button>
+ </div>
+ </div>
+</form>
+
+<h2>After you save</h2>
+<p class="banner">Saved 1 change to All environments.</p>
+<div class="tablewrap">
+<ul class="envvars outcomes">
+ <li><div class="envvar-row"><span class="envvar-name">shop.example.com</span><span class="envvar-value"><span class="chip chip-health-ok">Updates itself</span></span></div></li>
+ <li><div class="envvar-row"><span class="envvar-name">mailer.shop.example.com</span><span class="envvar-value"><span class="chip chip-canary">Restart it yourself</span></span></div></li>
+ <li><div class="envvar-row"><span class="envvar-name">api.shop.example.com</span><span class="envvar-value"><span class="chip chip-canary">Restart it yourself</span></span></div></li>
+ <li><div class="envvar-row"><span class="envvar-name">staging.shop.example.com</span><span class="envvar-value"><span class="chip chip-env">Asleep</span></span></div></li>
+ <li><div class="envvar-row"><span class="envvar-name">eu.shop.example.com</span><span class="envvar-value"><span class="chip chip-health-unknown">Can't see</span></span></div></li>
+</ul>
+</div>
+<ul class="small">
+ <li><strong>Updates itself:</strong> it restarts with the new settings on its own, within a minute.</li>
+ <li><strong>Restart it yourself:</strong> Carloku delivered the settings but can't restart this one for you.
+ <ul>
+ <li>api.shop.example.com: your app runs this one itself. Restart it the way you started it.</li>
+ <li>mailer.shop.example.com: a background worker. <a href="/a/shop/apps/shop/instances">Check Running</a> and restart the app if it hasn't picked this up.</li>
+ </ul></li>
+ <li><strong>Asleep:</strong> it picks up the change when it next wakes.</li>
+ <li><strong>Can't see:</strong> it runs on a box Carloku can't check from here. It picks up the change when it next restarts, or run <code>carlos restart --host eu.shop.example.com</code>.</li>
+</ul>
+<p class="small">Copies on other boxes may not all be listed here. <a href="/a/shop/apps/shop/instances">See what's running</a></p>
+
+</div>
+</div>
+
+</main>
+<script>
+
+
+
+(function () {
+ var minBusy = 650;
+ document.addEventListener("submit", function (e) {
+ var f = e.target, b = e.submitter;
+ if (!b || !b.hasAttribute("data-busy")) return;
+ e.preventDefault();
+ if (f.hasAttribute("data-busy-sent")) return;
+ f.setAttribute("data-busy-sent", "");
+ b.setAttribute("aria-busy", "true");
+ b.disabled = true;
+ setTimeout(function () {
+ if (b.name) {
+ var h = document.createElement("input");
+ h.type = "hidden"; h.name = b.name; h.value = b.value;
+ f.appendChild(h);
+ }
+ f.submit();
+ }, minBusy);
+ });
+
+
+ document.addEventListener("focusin", function (e) {
+ var t = e.target;
+ if (t.matches && t.matches("input[data-select]")) {
+ setTimeout(function () { t.select(); }, 0);
+ }
+ });
+
+
+ window.addEventListener("pageshow", function (e) {
+ if (!e.persisted) return;
+ document.querySelectorAll("form[data-busy-sent]").forEach(function (f) { f.removeAttribute("data-busy-sent"); });
+ document.querySelectorAll("button[aria-busy=true]").forEach(function (b) { b.disabled = false; b.removeAttribute("aria-busy"); });
+ });
+})();
+
+
+
+
+
+
+
+(function () {
+ var d = document.getElementById("switcher");
+ if (!d) return;
+ document.addEventListener("keydown", function (e) {
+ if (e.key === "Escape" && d.open) { d.open = false; d.firstElementChild.focus(); }
+ });
+ document.addEventListener("click", function (e) {
+ if (d.open && !d.contains(e.target)) d.open = false;
+ });
+
+ var find = d.querySelector(".switcher-find");
+ var none = d.querySelector(".switcher-none");
+ var list = d.querySelector(".switcher-menu ul");
+ if (!list) return;
+ var rows = Array.prototype.slice.call(list.children);
+ if (find) find.hidden = false;
+
+ function shown() {
+ return rows.filter(function (li) { return !li.hidden; })
+ .map(function (li) { return li.querySelector("a"); })
+ .filter(Boolean);
+ }
+ function filter() {
+ var q = find.value.trim().toLowerCase(), any = false;
+ rows.forEach(function (li) {
+ li.hidden = q !== "" && li.textContent.toLowerCase().indexOf(q) < 0;
+ if (!li.hidden) any = true;
+ });
+ none.hidden = any;
+ list.hidden = !any;
+ }
+ if (find) {
+ find.addEventListener("input", filter);
+ find.addEventListener("keydown", function (e) {
+ var links = shown();
+ if (e.key === "Enter" && links.length) { e.preventDefault(); links[0].click(); }
+ if (e.key === "ArrowDown" && links.length) { e.preventDefault(); links[0].focus(); }
+ });
+ }
+ list.addEventListener("keydown", function (e) {
+ if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
+ var links = shown(), i = links.indexOf(document.activeElement);
+ if (i < 0) return;
+ e.preventDefault();
+ if (e.key === "ArrowDown") { if (i + 1 < links.length) links[i + 1].focus(); }
+ else if (i > 0) links[i - 1].focus();
+ else if (find) find.focus();
+ });
+ d.addEventListener("toggle", function () {
+ if (!d.open) {
+ if (find && find.value) { find.value = ""; filter(); }
+ return;
+ }
+
+ var cur = list.querySelector("[aria-current]");
+ if (cur) list.scrollTop = cur.parentNode.offsetTop - list.offsetTop - list.clientHeight / 2;
+
+
+ if (find && window.matchMedia("(pointer: fine)").matches) find.focus();
+ });
+})();
+</script>
+<script data-profile-menu>
+
+
+(function () {
+ var d = document.getElementById("profile");
+ if (!d) return;
+ document.addEventListener("keydown", function (e) {
+ if (e.key === "Escape" && d.open) { d.open = false; d.firstElementChild.focus(); }
+ });
+ document.addEventListener("click", function (e) {
+ if (d.open && !d.contains(e.target)) d.open = false;
+ });
+})();
+</script>
+</body>
+</html>
diff --git a/docs/superpowers/specs/settings-secrets.html b/docs/superpowers/specs/settings-secrets.html
new file mode 100644
index 000000000..739becc4a
--- /dev/null
+++ b/docs/superpowers/specs/settings-secrets.html
@@ -0,0 +1,1403 @@
+<!doctype html>
+<html lang="en">
+<head>
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<title>Mockup</title>
+<style>
+
+
+
+:root {
+ color-scheme: light dark;
+
+
+ --rst-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
+
+
+ --rst-radius: 6px;
+ --rst-radius-sm: 4px;
+ --rst-radius-pill: 999px;
+
+
+ --rst-bg: light-dark(#fbfbfc, #0c0d0f);
+ --rst-surface: light-dark(#ffffff, #141518);
+ --rst-surface-2: light-dark(#f3f3f5, #18191d);
+ --rst-line: light-dark(#e6e6ea, #26282e);
+
+ --rst-line-strong: light-dark(#868691, #71737c);
+ --rst-header-rule: var(--rst-line);
+
+
+ --rst-text: light-dark(#18181b, #ededf0);
+ --rst-text-muted: light-dark(#52525c, #a1a1aa);
+ --rst-text-faint: light-dark(#6b6b75, #8c8c96);
+
+
+ --rst-accent: light-dark(#1f56d6, #7aa2ff);
+ --rst-accent-strong: light-dark(color-mix(in srgb, var(--rst-accent, #1f56d6) 80%, #000000), color-mix(in srgb, var(--rst-accent, #7aa2ff) 68.5%, #ffffff));
+ --rst-accent-soft: light-dark(#ecf1ff, #16234a);
+ --rst-on-accent: light-dark(#ffffff, #0c0d0f);
+
+
+ --rst-tone-neutral-fg: light-dark(#374151, #c3c9d1);
+ --rst-tone-neutral-bg: light-dark(#eef0f2, #262c34);
+ --rst-tone-positive-fg: light-dark(#166534, #6ee7a8);
+ --rst-tone-positive-bg: light-dark(#dcfce7, #10281c);
+ --rst-tone-warning-fg: light-dark(#854d0e, #f0c46a);
+ --rst-tone-warning-bg: light-dark(#fef3c7, #2c2110);
+ --rst-tone-negative-fg: light-dark(#b91c1c, #f79aa0);
+ --rst-tone-negative-bg: light-dark(#fee2e2, #331819);
+
+
+ --rst-shadow-pop: 0 2px 4px light-dark(rgba(16, 24, 40, 0.06), rgba(0, 0, 0, 0.35)), 0 8px 16px -4px light-dark(rgba(16, 24, 40, 0.1), rgba(0, 0, 0, 0.5));
+
+ --rst-shadow-knob: 0 1px 2px light-dark(rgba(16, 24, 40, 0.22), rgba(0, 0, 0, 0.5)), 0 0 0 0.5px light-dark(rgba(16, 24, 40, 0.08), rgba(0, 0, 0, 0.3));
+ --rst-shadow-knob-hover: 0 1.5px 3px light-dark(rgba(16, 24, 40, 0.26), rgba(0, 0, 0, 0.58)), 0 0 0 0.5px light-dark(rgba(16, 24, 40, 0.08), rgba(0, 0, 0, 0.3));
+ --rst-shadow-lift: 0 1px 2px light-dark(rgba(16, 24, 40, 0.08), rgba(0, 0, 0, 0.3));
+ --rst-overlay: light-dark(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.6));
+
+
+ --rst-accent-fill: light-dark(#2257df, #2f61e8);
+ --rst-accent-fill-hover: light-dark(#1d4dc8, #2956d0);
+ --rst-accent-fill-edge: light-dark(#153ca0, #1f43a6);
+ --rst-accent-fill-edge-hover: light-dark(#12358f, #1a3b95);
+ --rst-on-accent-fill: #ffffff;
+ --rst-danger-fill: light-dark(#c62f2f, #c43232);
+ --rst-danger-fill-hover: light-dark(#b12929, #af2c2c);
+ --rst-danger-fill-edge: light-dark(#8d1f1f, #8c2121);
+ --rst-danger-fill-edge-hover: light-dark(#7e1a1a, #7d1d1d);
+ --rst-on-danger-fill: #ffffff;
+ --rst-on-danger-fill-hover: #ffffff;
+ --rst-danger-hover-filter: none;
+
+
+ --rst-control-face: light-dark(#ffffff, #141518);
+ --rst-control-face-hover: light-dark(#f7f8fa, #1b1d22);
+ --rst-control-face-press: light-dark(#e6e9ee, #202329);
+ --rst-control-border: light-dark(#d0d4dc, #343843);
+ --rst-control-border-hover: light-dark(#8a8a95, #71737c);
+ --rst-control-text-hover: light-dark(#18181b, #ededf0);
+ --rst-ghost-edge: transparent;
+ --rst-ghost-face-hover: light-dark(#f3f3f5, #18191d);
+ --rst-ghost-edge-hover: transparent;
+ --rst-summary-face: light-dark(#ffffff, #141518);
+ --rst-summary-face-hover: light-dark(#f7f8fa, #1b1d22);
+ --rst-summary-edge: light-dark(#d0d4dc, #343843);
+ --rst-summary-edge-hover: light-dark(#8a8a95, #71737c);
+
+ --rst-summary-radius: var(--rst-radius-sm);
+
+
+ --rst-depth-hl: light-dark(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.06));
+ --rst-depth-contact: light-dark(rgba(16, 24, 40, 0.1), rgba(0, 0, 0, 0.5));
+ --rst-depth-ambient: light-dark(rgba(16, 24, 40, 0.06), rgba(0, 0, 0, 0.35));
+ --rst-depth-face: 0.04;
+ --rst-press-drop: 1px;
+
+
+ --rst-knob: #ffffff;
+ --rst-knob-shade: light-dark(#f1f3f6, #d9dee8);
+ --rst-track-off: light-dark(#8a8a95, #71737c);
+
+ --rst-switch-w: 40px;
+ --rst-switch-h: 23px;
+ --rst-switch-knob: 19px;
+ --rst-switch-touch-w: 51px;
+ --rst-switch-touch-h: 31px;
+ --rst-switch-touch-knob: 27px;
+
+
+ --rst-tint-hover: light-dark(color-mix(in srgb, var(--rst-accent, #1f56d6) 4.5%, var(--rst-surface)), color-mix(in srgb, var(--rst-accent, #7aa2ff) 10%, var(--rst-bg)));
+ --rst-tint-press: light-dark(color-mix(in srgb, var(--rst-accent, #1f56d6) 8.5%, var(--rst-surface)), color-mix(in srgb, var(--rst-accent, #7aa2ff) 19%, #000000));
+ --rst-tint-tap: var(--rst-tint-press);
+
+ --rst-tint-card-hover: var(--rst-tint-hover);
+
+ --rst-tint-tile-hover: var(--rst-tint-hover);
+ --rst-tint-tile-press: var(--rst-tint-press);
+
+ --rst-tint-group-hover: var(--rst-tint-hover);
+ --rst-row-tint-hover: var(--rst-tint-hover);
+ --rst-row-tint-press: var(--rst-tint-press);
+ --rst-focus-edge: var(--rst-accent, light-dark(#1f56d6, #7aa2ff));
+ --rst-focus-halo: color-mix(in srgb, var(--rst-accent, light-dark(#1f56d6, #7aa2ff)) 22%, transparent);
+
+
+ --rst-sheen-fill: light-dark(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
+ --rst-sheen-plain: light-dark(color-mix(in srgb, var(--rst-accent-fill) 9%, transparent), rgba(255, 255, 255, 0.04));
+ --rst-light-rim: light-dark(color-mix(in srgb, var(--rst-accent, #1f56d6) 23%, var(--rst-line)), color-mix(in srgb, var(--rst-accent, #7aa2ff) 31%, #505050));
+ --rst-light-wash: light-dark(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.015));
+
+
+ --rst-press-wash: 0.08;
+ --rst-press-spot: 0.16;
+ --rst-press-wash-plain: 0.04;
+ --rst-press-spot-plain: 0.07;
+
+
+ --rst-title-size: 1.25rem;
+ --rst-title-weight: 600;
+ --rst-title-track: -0.012em;
+ --rst-heading-size: 0.8125rem;
+ --rst-label-case: none;
+ --rst-label-track: 0;
+ --rst-rail-bg: var(--rst-bg);
+ --rst-nav-current-bg: light-dark(#ffffff, #141518);
+ --rst-nav-current-fg: light-dark(#18181b, #ededf0);
+}
+
+
+@supports (color: oklch(from red l c h)) {
+ :root {
+ --rst-accent-soft: light-dark(oklch(from var(--rst-accent, #1f56d6) 0.958 min(calc(c * 0.0878), 0.018) h), oklch(from var(--rst-accent, #7aa2ff) 0.268 min(calc(c * 0.5039), 0.072) h));
+ --rst-accent-fill: light-dark(oklch(from var(--rst-accent, #1f56d6) calc(0.513 - 0.05 * max(0, cos((h - 170) * 1deg) - 0.087)) min(calc(c * 1.0244), 0.21) h), oklch(from var(--rst-accent, #7aa2ff) calc(0.543 - 0.1 * max(0, cos((h - 170) * 1deg) - 0.087)) min(calc(c * 1.5045), 0.215) h));
+ --rst-accent-fill-hover: light-dark(oklch(from var(--rst-accent, #1f56d6) calc(0.472 - 0.045 * max(0, cos((h - 170) * 1deg) - 0.087)) min(calc(c * 0.9463), 0.194) h), oklch(from var(--rst-accent, #7aa2ff) calc(0.5 - 0.05 * max(0, cos((h - 170) * 1deg) - 0.087)) min(calc(c * 1.3786), 0.197) h));
+ --rst-accent-fill-edge: light-dark(oklch(from var(--rst-accent, #1f56d6) 0.401 min(calc(c * 0.8049), 0.165) h), oklch(from var(--rst-accent, #7aa2ff) 0.422 min(calc(c * 1.1617), 0.166) h));
+ --rst-accent-fill-edge-hover: light-dark(oklch(from var(--rst-accent, #1f56d6) 0.37 min(calc(c * 0.7366), 0.151) h), oklch(from var(--rst-accent, #7aa2ff) 0.389 min(calc(c * 1.0847), 0.155) h));
+ }
+}
+
+
+:root[data-theme="light"] { color-scheme: light; }
+:root[data-theme="dark"] { color-scheme: dark; }
+
+
+:root[data-theme="dark"] { --rst-press-wash: 0.18; --rst-press-spot: 0.30; --rst-press-wash-plain: 0.18; --rst-press-spot-plain: 0.30; }
+@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --rst-press-wash: 0.18; --rst-press-spot: 0.30; --rst-press-wash-plain: 0.18; --rst-press-spot-plain: 0.30; } }
+
+
+
+ :root { color-scheme: light dark; }
+ :root {
+ --rst-radius: 0.6rem; --rst-radius-sm: 0.4rem;
+ --rst-bg: light-dark(#ffffff, #0c0d0f);
+ --rst-surface: light-dark(#ffffff, #141518);
+ --rst-surface-2: light-dark(#f7f7f8, #18191d);
+ --rst-line: light-dark(#e6e6ea, #26282e);
+ --rst-line-strong: light-dark(#868691, #71737c);
+ --rst-text: light-dark(#202126, #ededf0);
+ --rst-text-muted: light-dark(#60616b, #a1a1aa);
+ --rst-accent: light-dark(#6f2c65, #d7a0cd);
+ --rst-accent-strong: light-dark(#55204d, #ecc0e4);
+ --rst-accent-soft: light-dark(rgba(111, 44, 101, 0.08), rgba(215, 160, 205, 0.12));
+ --rst-accent-fill: light-dark(#6f2c65, #864078);
+ --rst-accent-fill-hover: light-dark(#5a2352, #743367);
+ --rst-accent-fill-edge: light-dark(#491b42, #52234a);
+ --rst-accent-fill-edge-hover: light-dark(#391433, #411b3a);
+ --rst-control-face: var(--rst-surface);
+ --rst-control-face-hover: light-dark(#f7f8fa, #1b1d22);
+ --rst-control-face-press: light-dark(#e6e9ee, #202329);
+ --rst-control-border: light-dark(#d0d4dc, #343843);
+ --rst-control-border-hover: light-dark(#8a8a95, #71737c);
+ --rst-depth-hl: light-dark(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.07));
+ --rst-depth-contact: light-dark(rgba(16, 24, 40, 0.12), rgba(0, 0, 0, 0.5));
+ --rst-depth-ambient: light-dark(rgba(16, 24, 40, 0.06), rgba(0, 0, 0, 0.35));
+ --rst-depth-face: 0.06;
+ --rack-edge: light-dark(#d9cde0, #392b43);
+ --panel-cool: light-dark(#faf7fb, #1c1823);
+ --wire: light-dark(#a4a4af, #686a76);
+ --field: light-dark(#fafafb, #101114);
+ --shadow-module: inset 1px 1px 0 var(--rst-depth-hl), 1px 2px 0 var(--rack-edge), 2px 5px 8px -3px var(--rst-depth-ambient);
+ --shadow-raised: inset 0 1px 0 var(--rst-depth-hl), 0 1px 0 var(--rack-edge), 0 2px 3px -1px var(--rst-depth-ambient);
+ --shadow-inset: inset 0 1px 2px var(--rst-depth-contact);
+ --bg: var(--rst-surface); --ink: var(--rst-text); --muted: var(--rst-text-muted);
+ --accent: var(--rst-accent); --accent-strong: var(--rst-accent-strong);
+ --accent-soft: var(--rst-accent-soft);
+ --rule: var(--rst-line); --bad: var(--rst-tone-negative-fg);
+ --warn: var(--rst-tone-warning-fg); --good: var(--rst-tone-positive-fg);
+ --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
+ --sans: ui-sans-serif, system-ui, -apple-system, sans-serif;
+ }
+ [hidden] { display: none !important; }
+ * { margin: 0; padding: 0; box-sizing: border-box; }
+ body {
+ background: var(--rst-bg); color: var(--ink);
+ font: 400 1rem/1.6 var(--sans);
+ -webkit-font-smoothing: antialiased; padding: 0 1.25rem;
+ }
+ a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
+ code {
+ font-family: var(--mono);
+ font-size: 0.88em; background: var(--accent-soft);
+ padding: 0.1em 0.35em; border-radius: 0.25rem;
+ }
+ pre {
+ background: var(--accent-soft); border-radius: 0.5rem;
+ padding: 0.9rem 1.1rem; margin: 0 0 1rem; max-width: 40rem;
+ overflow-x: auto; font-family: var(--mono); font-size: 0.85rem; line-height: 1.6;
+ }
+ pre code { background: none; padding: 0; }
+
+ .changelog { white-space: pre-wrap; }
+ select, input[type=text], input[type=search], input[type=email], input[type=number] {
+ font: inherit; font-family: var(--sans); font-size: 0.9rem; color: var(--ink); background: var(--field);
+ border: 1px solid var(--rst-line-strong); border-radius: var(--rst-radius-sm); padding: 0.3rem 0.5rem;
+ box-shadow: var(--shadow-inset);
+ }
+
+ @media (pointer: coarse) {
+ select, textarea, input[type=text], input[type=search], input[type=email], input[type=number],
+ input[type=password], input[type=url], input[type=tel] { font-size: max(16px, 1rem); }
+ }
+ select:disabled, input:disabled {
+ background: var(--rst-surface-2); color: var(--muted); box-shadow: none; cursor: not-allowed;
+ }
+
+ :where(a, button, .btn, select, summary, input:not([type=radio]):not([type=checkbox])):focus-visible {
+ outline: 2px solid var(--accent); outline-offset: 2px;
+ }
+ :where(input:not([type=radio]):not([type=checkbox]), select):focus-visible { outline-offset: 1px; }
+ .tablewrap :where(a, button, select, input):focus-visible,
+ .settings-nav a:focus-visible, header .switcher-menu a:focus-visible { outline-offset: -2px; }
+ td form { display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; margin: 0; }
+
+ form.inline { display: inline; margin: 0; }
+ form.inline button { vertical-align: baseline; }
+
+ .toolbar { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin: 0 0 0.6rem; }
+ .toolbar input, .toolbar select, .toolbar button { height: 2rem; margin: 0; }
+
+ .listctl { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 0 0 0.6rem; }
+ .toolbar label { display: inline-flex; align-items: center; gap: 0.35rem; max-width: 100%; font-size: 0.9rem; color: var(--muted); }
+ .toolbar select, .toolbar input[type=search], .toolbar input[type=text] { max-width: 100%; min-width: 0; }
+ #logs-filter select[name="host"] { max-width: 12rem; }
+
+ .sectionhead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 2rem 0 0.75rem; }
+ .sectionhead h2 { margin: 0; }
+
+ .icon { width: 1em; height: 1em; flex: none; vertical-align: -0.125em; }
+ header {
+ max-width: 64rem; margin: 0 auto; padding: 1rem 0;
+ display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; row-gap: 0.5rem;
+ border-top: 3px solid var(--accent); border-bottom: 1px solid var(--rule);
+ }
+ header .brand a { font-weight: 700; color: var(--ink); text-decoration: none; }
+ header nav {
+ margin-left: auto; display: flex; align-items: center; gap: 0.5rem 1rem; flex-wrap: wrap;
+ font-size: 0.9rem;
+ }
+
+ header .profile { position: relative; flex: none; }
+ header .profile > summary {
+ display: inline-flex; align-items: center; justify-content: center; gap: 0.25rem;
+ list-style: none; cursor: pointer; min-width: 2.75rem; min-height: 2.75rem; padding: 0 0.6rem;
+ border: 1px solid var(--rst-control-border); border-radius: var(--rst-radius-sm);
+ background-color: var(--rst-control-face); color: var(--muted); box-shadow: var(--shadow-raised);
+ font-size: 1.1rem;
+ }
+ header .profile > summary::-webkit-details-marker { display: none; }
+ header .profile > summary:hover { background-color: var(--rst-control-face-hover); color: var(--ink); }
+ header .profile[open] > summary { background-color: var(--rst-control-face-press); color: var(--ink); box-shadow: var(--shadow-inset); }
+ header .profile > summary > .icon { pointer-events: none; }
+ header .profile > summary > .icon + .icon { width: 0.7em; height: 0.7em; }
+ header .profile[open] > summary > .icon + .icon { transform: rotate(180deg); }
+ header .profile-menu {
+ position: absolute; z-index: 20; top: calc(100% + 0.5rem); right: 0;
+ width: max-content; min-width: 13rem; max-width: min(20rem, calc(100vw - 2.5rem));
+ display: flex; flex-direction: column; align-items: stretch; gap: 0.15rem;
+ background: var(--bg); border: 1px solid var(--rst-control-border); border-radius: var(--rst-radius);
+ padding: 0.35rem; font-size: 0.9rem;
+ box-shadow: var(--rst-shadow-pop), 1px 2px 0 var(--rack-edge);
+ }
+ header .profile-menu .addr, header .profile-menu button.linkish {
+ display: flex; align-items: center; min-height: 2.75rem; padding: 0.4rem 0.55rem;
+ border-radius: var(--rst-radius-sm); text-align: left; overflow-wrap: anywhere;
+ }
+ header .profile-menu .addr { color: var(--muted); }
+ header .profile-menu :is(.addr, button.linkish):hover { background: var(--accent-soft); }
+ header .profile-menu :is(.addr, button.linkish):focus-visible { outline-offset: -2px; }
+ header .profile-menu form { margin: 0; }
+ header .profile-menu button.linkish { width: 100%; }
+ header .mobile-root { display: none; }
+
+ header .switcher {
+ position: relative;
+ }
+ header .switcher > summary {
+ display: inline-flex; align-items: baseline; gap: 0.4rem;
+ list-style: none; cursor: pointer;
+ padding: 0.25rem 0.6rem; border-radius: var(--rst-radius-sm);
+ background-color: var(--rst-control-face); color: var(--accent-strong);
+ border: 1px solid var(--rst-control-border); box-shadow: var(--shadow-raised);
+ }
+ header .switcher > summary .small { color: inherit; }
+ header .switcher > summary::-webkit-details-marker { display: none; }
+ header .switcher > summary:hover { background-color: var(--rst-control-face-hover); }
+ header .switcher[open] > summary {
+ background-color: var(--accent-soft);
+ box-shadow: var(--shadow-inset);
+ }
+
+ header .switcher .current-name {
+ font-weight: 700; min-width: 0; max-width: 14rem;
+ overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
+ }
+
+ header .switcher > summary > .icon { color: currentColor; align-self: center; width: 0.9em; }
+ header .switcher[open] > summary > .icon { transform: rotate(180deg); }
+ header .switcher-menu {
+ position: absolute; z-index: 20; top: calc(100% + 0.5rem); left: 0;
+
+ width: max-content; min-width: 13rem; max-width: 20rem;
+ background: var(--bg); border: 1px solid var(--rst-control-border); border-radius: var(--rst-radius);
+ padding: 0.35rem; font-size: 0.9rem;
+ box-shadow: var(--rst-shadow-pop), 1px 2px 0 var(--rack-edge);
+ }
+
+ header .switcher-menu ul {
+ list-style: none; margin: 0; padding: 0;
+ max-height: min(22rem, 60vh); overflow-y: auto; overscroll-behavior: contain;
+ }
+
+ header .switcher-find { display: block; width: 100%; margin: 0 0 0.35rem; }
+ header .switcher-none { padding: 0.35rem 0.55rem; color: var(--muted); }
+ header .switcher-menu a, header .switcher-menu .current {
+ display: flex; align-items: baseline; gap: 0.5rem;
+ padding: 0.35rem 0.55rem; border-radius: 0.4rem;
+ color: var(--ink); text-decoration: none; overflow-wrap: anywhere;
+ }
+ header .switcher-menu a:hover, header .switcher-menu a:focus { background: var(--accent-soft); }
+ header .switcher-menu .current { font-weight: 600; background: var(--accent-soft); }
+
+ header .switcher-menu .mark {
+ color: var(--accent); width: 0.9rem; flex: none;
+ display: flex; align-self: center;
+ }
+ header .switcher-menu a .mark { visibility: hidden; }
+ header .switcher-menu .new a .mark { visibility: visible; }
+ header .switcher-menu hr { border: 0; border-top: 1px solid var(--rule); margin: 0.35rem 0.2rem; }
+ header .switcher-menu .new a { color: var(--accent); }
+ main { max-width: 64rem; margin: 0 auto; padding: 2.5rem 0 3rem; min-height: 55vh; }
+ h1 { overflow-wrap: anywhere; font-size: 1.9rem; line-height: 1.15; margin: 0 0 1rem; color: var(--accent-strong); }
+ h2 { font-size: 1.25rem; margin: 2rem 0 0.75rem; }
+ h3 { font-size: 1rem; margin: 1.5rem 0 0.5rem; }
+
+ .settings-row { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; margin: 0 0 0.75rem; }
+ .settings-layout {
+ display: grid; grid-template-columns: minmax(10rem, 13rem) minmax(0, 1fr);
+ gap: 2.5rem; align-items: start;
+ }
+ .settings-nav { display: flex; flex-direction: column; gap: 0.2rem; }
+ .settings-nav a {
+ display: block; padding: 0.45rem 0.65rem; border-radius: 0.35rem;
+ color: var(--muted); text-decoration: none;
+ }
+ .settings-nav a:hover { color: var(--ink); background: var(--accent-soft); }
+ .settings-nav a[aria-current="page"] {
+ color: var(--ink); background: var(--accent-soft); font-weight: 600;
+ }
+ .settings-content {
+ min-width: 0; padding: 1.25rem 1.5rem 0.5rem; background-color: var(--bg);
+ border: 1px solid var(--rule); border-radius: var(--rst-radius); box-shadow: var(--shadow-module);
+ }
+ .settings-content :is(.tile, .tablewrap, .rung) { background-color: var(--rst-surface-2); box-shadow: none; }
+ .settings-content > h2:first-child { margin-top: 0; }
+ .danger-head { color: var(--bad); }
+ p { max-width: 40rem; margin: 0 0 1rem; }
+ .lede { font-size: 1.15rem; color: var(--muted); }
+ .small { font-size: 0.9rem; color: var(--muted); }
+
+ .visually-hidden {
+ position: absolute; width: 1px; height: 1px; overflow: hidden;
+ clip-path: inset(50%); white-space: nowrap;
+ }
+ .error { color: var(--bad); }
+ .banner {
+ background: var(--accent-soft); border-radius: 0.5rem;
+ padding: 0.6rem 0.9rem; margin: 0 0 1.5rem; max-width: 40rem;
+ }
+ :where(main) :where(ul:not([class]), ol:not([class]), ul.small, ol.small) { padding-left: 1.25rem; margin: 0 0 1rem; }
+ .tablewrap {
+ overflow-x: auto; margin: 0 0 1rem; background-color: var(--bg);
+ border: 1px solid var(--rule); border-radius: var(--rst-radius); box-shadow: var(--shadow-module);
+ }
+ .tablewrap > table:not(.packs) { margin: 0; }
+ .tablewrap > table:not(.packs) :is(th, td):first-child { padding-left: 0.9rem; }
+ .tablewrap > table:not(.packs) > :last-child > tr:last-child > :is(th, td) { border-bottom: 0; }
+ .tablewrap > table:not(.packs) tr:not(.instance-group) > th { background-color: var(--panel-cool); }
+ .tablewrap:has(> table.packs) { background: none; border: 0; border-radius: 0; box-shadow: none; margin: 0; }
+ .instances .instance-address { white-space: nowrap; }
+ .instances td:nth-child(2) { white-space: nowrap; }
+ .methods td:nth-child(3), .methods td:nth-child(4) { white-space: nowrap; }
+ .instance-open { display: inline-flex; padding: .25rem; }
+ .instance-group th { text-align: left; padding-top: 1rem; background: var(--accent-soft); }
+ .instance-group .small { font-weight: normal; }
+ .small a[aria-current="true"] { color: var(--ink); font-weight: 700; text-decoration-thickness: 3px; }
+ .instance-facts { display: grid; grid-template-columns: minmax(8rem, auto) 1fr; gap: .5rem 1.5rem; margin: 1rem 0; }
+ .instance-facts dt { color: var(--muted); }
+ .instance-facts dd { margin: 0; overflow-wrap: anywhere; }
+ .instance-facts .cellspark { max-width: 24rem; }
+
+ .term {
+ background: var(--accent-soft); border-radius: 0.5rem;
+ padding: 0.8rem 0 0.8rem 1rem; margin: 0 0 1rem;
+ min-height: 16rem; max-height: 70vh; overflow: auto;
+ font-family: var(--mono); font-size: 0.8rem; line-height: 1.55;
+ }
+
+ .tl { white-space: pre; width: max-content; min-width: 100%; padding-right: 1rem; }
+
+ .tl-t, .tl-h, .tl-f { color: var(--muted); }
+ .tl-s { color: var(--accent); }
+
+ .tl-warn .tl-m { color: var(--warn, #a6790f); }
+ .tl-error .tl-m { color: var(--bad); font-weight: 600; }
+ table { border-collapse: collapse; width: 100%; margin: 0 0 1rem; font-size: 0.95rem; }
+ .tiles { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0 0 1.5rem; }
+ .tile {
+ flex: 1 1 10rem; background-color: var(--bg); border: 1px solid var(--rule);
+ border-radius: var(--rst-radius); padding: 1rem 1.1rem; box-shadow: var(--shadow-module);
+ }
+
+ a.tile { color: var(--ink); text-decoration: none; }
+ a.tile:hover { outline: 1px solid var(--accent); }
+
+ .stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
+ .tile h2 {
+ margin: 0 0 0.35rem; font-family: var(--mono); font-size: 0.78rem; text-transform: uppercase;
+ letter-spacing: 0.05em; color: var(--accent-strong); font-weight: 600;
+ }
+ .tile-value { font-size: 1.6rem; font-weight: 600; margin: 0; }
+ .tile-detail { color: var(--muted); font-size: 0.8rem; margin: 0.25rem 0 0; }
+
+ .chip {
+ display: inline-block; font-family: var(--mono); font-size: 0.78rem; font-weight: 500;
+ padding: 0.15rem 0.55rem; border-radius: 999px; margin: 0.15rem 0.3rem 0.15rem 0;
+ }
+ .chip-stale { border: 1px solid var(--warn, #a6790f); color: var(--warn, #a6790f); }
+
+ .chip-canary { border: 1px solid var(--accent); color: var(--accent); }
+ .chip-prod { background: var(--bad); color: var(--bg); }
+
+ .chip-expired { border: 1px solid var(--warn, #a6790f); color: var(--warn, #a6790f); }
+
+ .chip-env { border: 1px solid var(--rule); color: var(--muted); }
+
+ .chip-health-ok { border: 1px solid var(--good); color: var(--good); }
+ .chip-health-attention { background: var(--warn, #a6790f); color: var(--bg); }
+ .chip-health-notdeployed { border: 1px solid var(--rule); color: var(--muted); }
+ .chip-health-unknown { border: 1px solid var(--warn, #a6790f); color: var(--warn, #a6790f); }
+
+ .chip-health-ok::before, .chip-health-attention::before,
+ .chip-health-notdeployed::before, .chip-health-unknown::before {
+ content: ""; display: inline-block; width: 0.55em; height: 0.55em;
+ margin: 0 0.4em 0.1em 0; border-radius: 50%; vertical-align: middle;
+ }
+ .chip-health-ok::before { background: var(--good); box-shadow: 0 0 0.4em color-mix(in srgb, var(--good) 55%, transparent); }
+ .chip-health-attention::before { background: var(--bg); border-radius: 1px; transform: rotate(45deg); }
+ .chip-health-unknown::before { box-shadow: inset 0 0 0 2px var(--warn, #a6790f); }
+ .chip-health-notdeployed::before { background: var(--muted); opacity: 0.45; }
+
+ .chip-freetier-inside { border: 1px solid var(--warn, #a6790f); color: var(--warn, #a6790f); }
+ .chip-freetier-partial { border: 1px solid var(--accent); color: var(--accent); }
+ .chip-freetier-paying { border: 1px solid var(--good); color: var(--good); }
+ .chip-freetier-pooled { border: 1px solid var(--rule); color: var(--muted); }
+
+ .chip-tier-unassigned { border: 1px solid var(--rule); color: var(--muted); }
+ .chip-tier-try { border: 1px solid var(--rule); color: var(--muted); }
+ .chip-tier-pool { border: 1px solid var(--rule); color: var(--muted); }
+ .chip-tier-hosted { border: 1px solid var(--good); color: var(--good); }
+ .chip-tier-fleet { border: 1px solid var(--accent); color: var(--accent); }
+ .chip-tier-dedicated { border: 1px solid var(--warn, #a6790f); color: var(--warn, #a6790f); }
+ .chip .icon { vertical-align: -0.1em; margin-right: 0.2em; }
+ .chip-up { background: var(--accent-soft); color: var(--good); }
+ .chip-down { background: var(--accent-soft); color: var(--bad); }
+ .chips { display: flex; flex-wrap: wrap; margin: 0 0 1rem; }
+
+ .bar { display: inline-block; width: 6rem; height: 0.5rem; border-radius: 999px; background: var(--accent-soft); vertical-align: middle; overflow: hidden; }
+ .bar-fill { display: block; height: 100%; background: var(--accent); }
+
+ .knob-row { display: flex; gap: 0.6rem; align-items: center; margin: 0 0 0.5rem; flex-wrap: wrap; }
+ .knob-row label { min-width: 12rem; color: var(--muted); font-size: 0.9rem; }
+ .knob-row input[type=number], .knob-row input[type=text] { width: 8rem; }
+ .knob-row input[type=range] { width: 12rem; }
+
+ .flow { margin: 0 0 1.75rem; }
+ .flow-line {
+ --flow-y: 1.25rem;
+ display: flex; flex-wrap: wrap; gap: 1.1rem 2.6rem;
+ list-style: none; margin: 0; padding: 0;
+ }
+ .flow-stage {
+ position: relative; flex: 1 1 10rem; min-width: 9rem; padding: 0.7rem 0.85rem 0.8rem;
+ background-color: var(--bg); border: 1px solid var(--rule); border-radius: var(--rst-radius);
+ box-shadow: var(--shadow-module);
+ }
+ .flow-stage + .flow-stage::before, .flow-stage + .flow-stage::after {
+ content: ""; position: absolute; pointer-events: none;
+ }
+ .flow-stage + .flow-stage::before {
+ left: -2.05rem; top: var(--flow-y); width: 1.3rem; border-top: 1px dashed var(--wire);
+ }
+ .flow-stage + .flow-stage::after {
+ left: -0.82rem; top: var(--flow-y); transform: translateY(-50%);
+ border: 0.28rem solid transparent; border-right: 0; border-left-color: var(--wire);
+ }
+ .flow-stage.is-carried::before { border-top-style: solid; border-top-color: var(--accent); }
+ .flow-stage.is-carried::after { border-left-color: var(--accent); }
+ .flow-label {
+ margin: 0; font-family: var(--mono); font-size: 0.74rem; text-transform: uppercase;
+ letter-spacing: 0.05em; color: var(--muted); font-weight: 600; overflow-wrap: anywhere;
+ }
+ .flow-version { margin: 0.3rem 0 0; font-size: 0.95rem; overflow-wrap: anywhere; }
+
+ .flow-stage:not(.is-held) { background-color: var(--rst-surface-2); }
+ .flow-stage:not(.is-held) .flow-version { color: var(--muted); }
+ .flow-stage.is-held { background-color: var(--panel-cool); }
+ .flow-stage.is-held .flow-label { color: var(--accent-strong); }
+ .flow-note { margin: 0.25rem 0 0; font-size: 0.78rem; color: var(--muted); }
+ .flow-addrs {
+ list-style: none; margin: 0.6rem 0 0; padding: 0 0 0 0.7rem;
+ border-left: 1px solid var(--rule); display: grid; gap: 0.35rem;
+ }
+ .flow-addr { font-size: 0.82rem; line-height: 1.35; }
+ .flow-addr a { display: block; overflow-wrap: anywhere; }
+ .flow-region { color: var(--muted); margin-right: 0.35rem; }
+ .flow-health { display: inline-flex; align-items: center; gap: 0.2rem; color: var(--muted); }
+ .flow-health .icon { width: 0.9em; height: 0.9em; flex: none; }
+ .flow-tone-ok .flow-health { color: var(--good); }
+ .flow-tone-wait .flow-health { color: var(--warn, #a6790f); }
+ .flow-tone-bad .flow-health { color: var(--bad); font-weight: 600; }
+ .flow-band { margin: 1.4rem 0 0.7rem; font-size: 0.9rem; color: var(--muted); }
+ .flow-caption { margin: 1.1rem 0 0; }
+
+ @media (max-width: 46rem) {
+ .settings-layout { display: block; }
+ .settings-nav {
+ flex-direction: row; overflow-x: auto; margin: 0 0 1.5rem;
+ padding-bottom: 0.25rem;
+ }
+ .settings-nav a { white-space: nowrap; }
+ .settings-content { padding: 1rem 1rem 0.25rem; }
+ .flow-line { display: block; }
+ .flow-stage + .flow-stage { margin-top: 2.25rem; }
+ .flow-stage + .flow-stage::before {
+ left: 1rem; top: -1.75rem; width: 0; height: 0.85rem;
+ border-top: 0; border-left: 1px dashed var(--wire);
+ }
+ .flow-stage + .flow-stage::after {
+ left: 1rem; top: -0.9rem; transform: translateX(-50%);
+ border: 0.28rem solid transparent; border-bottom: 0; border-top-color: var(--wire);
+ border-left-color: transparent;
+ }
+ .flow-stage.is-carried::before { border-left-color: var(--accent); }
+ .flow-stage.is-carried::after { border-top-color: var(--accent); border-left-color: transparent; }
+ }
+
+ .ladder { list-style: none; margin: 0 0 1rem; padding: 0; max-width: 40rem; }
+ .rung {
+ border: 1px solid var(--rule); border-radius: var(--rst-radius); padding: 0.8rem 1rem;
+ background-color: var(--bg); box-shadow: var(--shadow-module);
+ }
+ .rung + .rung { margin-top: 0.4rem; }
+ .rung-name {
+ font-family: var(--mono);
+ font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em;
+ font-weight: 600; color: var(--muted); margin: 0 0 0.3rem;
+ }
+ .rung p { margin: 0 0 0.2rem; }
+ .rung .gate { margin: 0.5rem 0 0; }
+ .rung .routes { list-style: none; margin: 0.3rem 0 0.6rem; padding: 0; font-size: 0.95rem; }
+ .rung .routes li { padding: 0.1rem 0; }
+
+ .step {
+ display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap;
+ margin: 0.7rem -1rem -0.8rem; padding: 0.5rem 1rem;
+ border-top: 1px solid var(--rule);
+ }
+ .step form { display: flex; align-items: baseline; gap: 0.5rem; margin: 0; }
+ .step > .icon { color: var(--muted); align-self: center; }
+ th {
+ font-family: var(--mono);
+ font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em;
+ color: var(--muted); text-align: left; font-weight: 600;
+ }
+ th, td { padding: 0.5rem 1rem 0.5rem 0; border-bottom: 1px solid var(--rule); }
+ form.signin { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 0 0 1rem; }
+ form.signin input[type=text], form.signin input[type=email] { padding: 0.55rem 0.8rem; min-width: 16rem; }
+ form.signin label { flex-basis: 100%; font-weight: 600; }
+
+ @media (max-width: 40rem) {
+ form.signin input[type=text], form.signin input[type=email] { flex: 1 1 100%; min-width: 0; }
+ form.signin button { flex: 1 1 100%; }
+ }
+
+ button, .btn {
+ --btn-fill: var(--rst-accent-fill); --btn-fill-hover: var(--rst-accent-fill-hover);
+ --btn-edge: var(--rst-accent-fill-edge); --btn-edge-hover: var(--rst-accent-fill-edge-hover);
+ --btn-lip: var(--btn-edge); --btn-ink: var(--rst-on-accent-fill);
+ --btn-hl: color-mix(in srgb, var(--rst-depth-hl) 30%, transparent);
+ font-size: 0.95rem; font-weight: 600; background-color: var(--btn-fill);
+ background-image: linear-gradient(rgb(255 255 255 / var(--rst-depth-face)), rgb(0 0 0 / var(--rst-depth-face)));
+ color: var(--btn-ink); border: 1px solid var(--btn-edge); border-radius: var(--rst-radius-sm);
+ padding: calc(0.6rem - 1px) calc(1.2rem - 1px); cursor: pointer;
+ text-decoration: none; display: inline-block;
+ box-shadow: inset 0 1px 0 var(--btn-hl), 0 2px 0 var(--btn-lip), 0 3px 4px -2px var(--rst-depth-contact);
+ transition: background-color 120ms ease-out, border-color 120ms ease-out, box-shadow 120ms ease-out, translate 80ms ease-out;
+ }
+ button.linkish {
+ background: none; color: var(--accent); font-weight: 400; padding: 0; border: 0; box-shadow: none;
+ border-radius: 0; text-decoration: underline; font-size: 0.9rem; cursor: pointer;
+ }
+ button:not(.linkish, .an-col):not(:disabled):hover, .btn:not([aria-disabled="true"]):hover {
+ background-color: var(--btn-fill-hover); border-color: var(--btn-edge-hover);
+ }
+ button:not(.linkish, .an-col):not(:disabled):not([aria-busy="true"]):active, .btn:not([aria-disabled="true"]):active {
+ translate: 0 var(--rst-press-drop);
+ box-shadow: inset 0 1px 2px var(--rst-depth-contact), 0 1px 0 var(--btn-lip);
+ }
+ button:disabled:not([aria-busy="true"]), .btn[aria-disabled="true"] {
+ opacity: 0.55; cursor: not-allowed; box-shadow: none;
+ }
+ button.linkish.danger { color: var(--bad); }
+
+ button[aria-busy="true"] { position: relative; color: transparent; cursor: progress; }
+ button[aria-busy="true"]::after {
+ content: ""; position: absolute; inset: 0; margin: auto;
+ width: 1.1em; height: 1.1em; border-radius: 50%;
+ border: 2px solid var(--btn-ink, var(--bg)); border-right-color: transparent;
+ animation: busy-spin 0.7s linear infinite;
+ }
+ @keyframes busy-spin { to { transform: rotate(360deg); } }
+ @media (prefers-reduced-motion: reduce) {
+ button, .btn { transition: none; }
+ button[aria-busy="true"]::after { animation-duration: 2.4s; }
+ }
+
+ .btn-sm, button.btn-sm {
+ font-size: 0.85rem; padding: calc(0.35rem - 1px) calc(0.8rem - 1px); border-radius: var(--rst-radius-sm);
+ }
+ .btn-secondary, button.btn-secondary {
+ --btn-fill: var(--rst-control-face); --btn-fill-hover: var(--rst-control-face-hover);
+ --btn-edge: var(--rst-control-border); --btn-edge-hover: var(--rst-control-border-hover);
+ --btn-lip: var(--rack-edge); --btn-hl: var(--rst-depth-hl); --btn-ink: var(--accent);
+ }
+ button.btn-danger, .btn-danger {
+ --btn-fill: var(--rst-danger-fill); --btn-fill-hover: var(--rst-danger-fill-hover);
+ --btn-edge: var(--rst-danger-fill-edge); --btn-edge-hover: var(--rst-danger-fill-edge-hover);
+ --btn-ink: var(--rst-on-danger-fill);
+ }
+
+ td .cell-value { display: inline-block; min-width: 3.5rem; font-weight: 600; }
+ .cellspark { width: 6rem; height: 1.1rem; vertical-align: -0.2rem; color: var(--muted); }
+ .cellspark polyline { stroke-width: 2.5; }
+
+ .feed { list-style: none; margin: 0 0 0.5rem; padding: 0; max-width: 40rem; }
+ .feed li { padding: 0.25rem 0; border-bottom: 1px solid var(--rule); }
+ .feed li:last-child { border-bottom: 0; }
+
+ .confirm-card {
+ border: 1px solid var(--rule); border-radius: var(--rst-radius);
+ padding: 1.25rem 1.4rem; max-width: 40rem; margin: 0 0 1rem;
+ background-color: var(--bg); box-shadow: var(--shadow-module);
+ }
+ .confirm-card .actions { display: flex; gap: 0.9rem; align-items: center; margin-top: 1rem; }
+ .confirm-card .confirm-note { margin: 0.8rem 0 0; }
+
+
+ .archwrap { overflow-x: auto; margin: 0.2rem 0 1.6rem; }
+
+ h4.archband {
+ border-top: 1px solid var(--rule); color: var(--muted);
+ font: 600 0.8rem var(--mono); letter-spacing: 0.02em;
+ margin: 1.5rem 0 0; padding-top: 0.5rem;
+ }
+
+ .archsvg { display: block; }
+ .archsvg rect { fill: var(--accent-soft); stroke: var(--rule); }
+ .archsvg .archnode-box rect { stroke: var(--accent); }
+ .archsvg .archtitle { fill: var(--ink); font: 600 13px var(--sans); }
+ .archsvg .archsub { fill: var(--muted); font: 400 11px var(--sans); }
+
+ .archsvg .archedge { fill: none; stroke: var(--muted); stroke-width: 1.5; }
+
+ .archsvg .archalarm { fill: var(--good); }
+ .archsvg .archalarm-firing { fill: var(--bad); }
+
+ .archbox {
+ border: 1px solid var(--rule); border-radius: var(--rst-radius);
+ padding: 0.9rem 1.1rem; margin: 0 0 0.6rem; max-width: 64rem;
+ background-color: var(--bg); box-shadow: var(--shadow-module);
+ }
+ .archbox h3 { margin: 0 0 0.3rem; }
+ .archbox p { margin: 0 0 0.2rem; }
+
+ .archbox .fact + .fact::before { content: " · "; color: var(--muted); }
+ footer {
+ max-width: 64rem; margin: 0 auto; padding: 1.25rem 0 2rem;
+ border-top: 1px solid var(--rule);
+ font-size: 0.85rem; color: var(--muted);
+ }
+
+ .pagehead { margin: 0 0 1.75rem; }
+ .eyebrow {
+ font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em;
+ text-transform: uppercase; color: var(--muted); margin: 0 0 0.3rem;
+ }
+ .pagehead h1 { margin: 0 0 0.35rem; }
+ .pagehead .lede { margin: 0; font-size: 1.05rem; }
+ .version-list { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0.5rem 0 1rem; }
+ .version-list code { display: inline-block; overflow-wrap: anywhere; }
+ .version-list li { min-width: 0; max-width: 100%; }
+
+ .reveal > summary { font-size: 1.1rem; font-weight: 600; cursor: pointer; }
+ .reveal > summary h2 { display: inline; font-size: inherit; margin: 0; }
+
+ .tabs {
+ display: flex; flex-wrap: wrap; gap: 1.25rem 0.25rem; margin: 0 0 2rem;
+ border-bottom: 1px solid var(--rule);
+ font-family: var(--mono); font-size: 0.85rem;
+ }
+ .tabs a {
+ color: var(--muted); text-decoration: none;
+ padding: 0.3rem 0.5rem 0.55rem; border-bottom: 2px solid transparent; margin-bottom: -1px;
+ }
+ .tabs a:hover { color: var(--ink); }
+ .tabs a[aria-current] {
+ color: var(--ink); border-bottom-color: var(--accent);
+ background: var(--accent-soft); border-radius: 0.35rem 0.35rem 0 0;
+ }
+ header nav a[aria-current] { color: var(--ink); font-weight: 600; text-decoration: none; }
+ header nav a.addr { color: var(--muted); text-decoration: none; }
+
+ .billing-now {
+ display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start;
+ gap: 1rem 3rem; padding: 1.15rem 1.4rem 1.25rem; margin: 0 0 0.5rem;
+ }
+ .billing-now > div { min-width: 0; }
+ .billing-now .tile-value { margin: 0 0 0.3rem; line-height: 1.2; min-width: 0; overflow-wrap: anywhere; }
+ .billing-facts { list-style: none; font-size: 0.9rem; color: var(--muted); }
+ .billing-includes, .plan-incl { list-style: none; display: grid; gap: 0.3rem; font-size: 0.9rem; }
+ .billing-includes { grid-template-columns: repeat(auto-fit, minmax(13rem, auto)); column-gap: 2rem; align-self: center; }
+ .billing-includes li, .plan-incl li { display: flex; align-items: flex-start; gap: 0.5rem; }
+ .billing-includes .icon, .plan-incl .icon { color: var(--accent); margin-top: 0.25em; }
+
+ .buy fieldset { border: 0; min-width: 0; }
+ .buy .currency { display: flex; align-items: center; gap: 0.6rem; margin: 0; }
+ .buy .currency legend { float: left; }
+
+ .seg {
+ display: inline-flex; gap: 2px; padding: 2px; border-radius: 0.5rem;
+ background: var(--accent-soft); box-shadow: var(--shadow-inset);
+ }
+ .seg label { position: relative; display: block; }
+ .seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
+ .seg label > span, .seg-fixed {
+ display: block; min-width: 3.4rem; padding: 0.4rem 0.75rem; border-radius: 0.375rem;
+ font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
+ text-align: center; color: var(--muted); line-height: 1.3;
+ transition: color 150ms ease-out, background-color 150ms ease-out, box-shadow 150ms ease-out;
+ }
+ .seg label:hover > span { color: var(--ink); }
+ .seg label:has(input:checked) > span, .seg-fixed {
+ background: var(--bg); color: var(--ink);
+ box-shadow: var(--shadow-raised);
+ }
+ .seg label:has(input:focus-visible) > span { outline: 2px solid var(--accent); outline-offset: 1px; }
+
+ .plan-cards {
+ display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
+ gap: 1rem; margin: 0 0 2.25rem;
+ }
+ .plan-card {
+ position: relative; border: 1px solid var(--rule); border-radius: var(--rst-radius);
+ padding: 1.1rem 1.25rem 1.25rem; background-color: var(--bg); box-shadow: var(--shadow-module);
+ transition: border-color 150ms ease-out, background-color 150ms ease-out, box-shadow 150ms ease-out;
+ }
+ .plan-card:hover { border-color: var(--muted); }
+ .plan-card:has(input:checked) {
+ border-color: var(--accent); background-image: linear-gradient(var(--accent-soft), var(--accent-soft));
+ box-shadow: var(--shadow-module), inset 0 0 0 1px var(--accent);
+ }
+ .plan-card:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
+ .plan-card p { margin: 0; max-width: none; }
+ .plan-card label { display: flex; align-items: center; gap: 0.55rem; cursor: pointer; }
+ .plan-card label::after { content: ""; position: absolute; inset: 0; }
+ .plan-card input { flex: none; width: 1.05rem; height: 1.05rem; margin: 0; accent-color: var(--accent); cursor: pointer; }
+ .plan-name { min-width: 0; overflow-wrap: anywhere; font-size: 1.15rem; font-weight: 650; }
+ .plan-cost { display: block; margin: 0.65rem 0 0; }
+ .plan-card span.price {
+ display: block; color: var(--ink); font-size: 1.15rem; font-weight: 650;
+ line-height: 1.3; text-wrap: balance; font-variant-numeric: tabular-nums;
+ }
+ .plan-card span.total { margin-top: 0.4rem; font-size: 0.9rem; font-weight: 500; }
+
+ .buy:not(:has(input[name=currency]:checked)) .plan-card span.price { font-size: 0.95rem; font-weight: 500; }
+ .plan-incl { margin: 1rem 0 0; padding: 0.9rem 0 0; border-top: 1px solid var(--rule); }
+ .plan-card:has(input:checked) .plan-incl { border-top-color: var(--accent-soft); }
+
+ .buy h3 { margin: 0; }
+ .buy .packs-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.2rem 1rem; margin: 0 0 0.2rem; }
+ .buy .packs-head + .small { margin: 0 0 0.75rem; }
+ table.packs { margin: 0; }
+ .packs tr:first-child td { border-top: 1px solid var(--rule); }
+ .packs td { padding: 0.75rem 1.25rem 0.75rem 0; vertical-align: middle; }
+ .packs td:first-child { width: 100%; }
+ .packs td + td { white-space: nowrap; }
+ .packs td:last-child { padding-right: 0; text-align: right; }
+ .packs label { display: block; font-weight: 600; }
+ .packs td:first-child .small { display: block; }
+ .packs span.price { display: block; color: var(--ink); font-variant-numeric: tabular-nums; }
+ .packs td form { justify-content: flex-end; flex-wrap: nowrap; }
+ .packs input[type=number] {
+ width: 4.75rem; padding: 0.4rem 0.5rem; text-align: center;
+ font: inherit; font-size: 1rem; font-variant-numeric: tabular-nums;
+ color: var(--ink); background: var(--field); accent-color: var(--accent);
+ border: 1px solid var(--muted); border-radius: var(--rst-radius-sm); box-shadow: var(--shadow-inset);
+ }
+ .packs input[type=number]:hover { border-color: var(--ink); }
+ .packs input[type=number]:focus-visible { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 1px; }
+
+ .use { font-variant-numeric: tabular-nums; }
+ .use-warn, .use-over { font-weight: 600; }
+ .use-warn { color: var(--ink); }
+ .use-over { color: var(--bad); }
+ .use-warn::before, .use-over::before {
+ content: ""; display: inline-block; width: 0.45rem; height: 0.45rem; margin: 0 0.4rem 0.1em 0;
+ border-radius: 50%; background: var(--warn); vertical-align: middle;
+ }
+ .use-over::before { background: var(--bad); }
+ .packs td:first-child .use { margin-top: 0.15rem; }
+ .plan-incl .use { margin-left: auto; padding-left: 0.5rem; white-space: nowrap; }
+ .usage-asof { margin: 0; }
+ .packs-head .usage-asof { font-size: 0.82rem; }
+
+ .billing-usage { flex: 1 1 100%; padding: 0.9rem 0 0; border-top: 1px solid var(--rule); }
+ .billing-usage dl { display: flex; flex-wrap: wrap; gap: 0.6rem 2.75rem; margin: 0 0 0.6rem; }
+ .billing-usage dt { font-size: 0.82rem; color: var(--muted); }
+ .billing-usage dd { margin: 0; font-size: 0.95rem; }
+ .billing-usage .usage-asof { font-size: 0.82rem; }
+
+
+ .an-off { margin: 0 0 1.5rem; }
+ .an-range { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; margin: 0 0 1.75rem; }
+ .an-range a {
+ padding: 0.3rem 0.75rem; border-radius: 999px; color: var(--muted);
+ text-decoration: none; font-size: 0.9rem;
+ }
+ .an-range a:hover { color: var(--ink); background: var(--accent-soft); }
+ .an-range a[aria-current="page"] { color: var(--ink); background: var(--accent-soft); font-weight: 600; }
+ .an-range a:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
+ .an-span { margin-left: 0.75rem; color: var(--muted); font-size: 0.85rem; }
+ .an-daynav { display: inline-flex; gap: 0.25rem; margin-left: 0.5rem; }
+ .an-daynav a { font-size: 0.85rem; }
+ .an-figures { display: flex; flex-wrap: wrap; gap: 1rem 3.5rem; margin: 0 0 1.5rem; }
+ .an-figures dt { color: var(--muted); font-size: 0.9rem; }
+ .an-figures dd { margin: 0; font-size: 2.25rem; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
+ .an-figures dd.an-note { font-size: 0.8rem; font-weight: 400; color: var(--muted); max-width: 16rem; line-height: 1.4; margin-top: 0.3rem; letter-spacing: 0; }
+ .an-empty { color: var(--muted); padding: 2.5rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); max-width: none; }
+ .an-insights { color: var(--ink); font-size: 0.95rem; margin: 0.75rem 0 0.5rem; max-width: none; }
+ .an-quality { margin: 0 0 2rem; max-width: 48rem; }
+
+ .an-chart { margin: 0; padding-left: 2.25rem; }
+ .an-plot { position: relative; height: 14rem; }
+ .an-overview .an-plot { height: 7rem; }
+ .an-grid span {
+ position: absolute; left: 0; right: 0; height: 0;
+ border-top: 1px solid var(--rule);
+ }
+ .an-grid i {
+ position: absolute; right: calc(100% + 0.5rem); top: -0.6em;
+ font-style: normal; font-size: 0.75rem; color: var(--muted);
+ font-variant-numeric: tabular-nums; white-space: nowrap;
+ }
+ .an-cols, .an-xaxis { display: grid; grid-template-columns: repeat(var(--an-cols), minmax(0, 1fr)); }
+ .an-cols { position: absolute; inset: 0; }
+
+ button.an-col, .an-col {
+ position: relative; display: flex; align-items: flex-end; justify-content: center;
+ height: 100%; padding: 0 1px; margin: 0; border: 0; border-radius: 0.25rem;
+ background: transparent; color: inherit; font: inherit; cursor: default; box-shadow: none;
+ }
+ .an-col:not(.an-future):hover, .an-col:not(.an-future):focus-visible { background: var(--accent-soft); }
+ .an-col:not(.an-future):focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
+
+ a.an-col { text-decoration: none; cursor: pointer; }
+ .an-bar {
+ position: relative; display: block; width: 100%; max-width: 24px; min-height: 0;
+ background: var(--accent); border-radius: 4px 4px 0 0;
+ }
+ .an-col:hover .an-bar, .an-col:focus-visible .an-bar { background: var(--accent-strong); }
+
+ .an-partial .an-bar { background: repeating-linear-gradient(135deg, var(--accent) 0 3px, var(--accent-soft) 3px 6px); }
+ .an-gap::after {
+ content: ""; position: absolute; bottom: -0.55rem; left: 50%; width: 5px; height: 5px;
+ margin-left: -2.5px; border-radius: 50%; background: var(--warn);
+ }
+ .an-tip {
+ display: none; position: absolute; z-index: 2; bottom: calc(100% + 0.4rem); left: 50%;
+ transform: translateX(-50%); width: max-content; max-width: 15rem;
+ padding: 0.5rem 0.7rem; border-radius: 0.4rem; text-align: left;
+ background: var(--ink); color: var(--bg); font-size: 0.8rem; line-height: 1.45;
+ box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18); pointer-events: none;
+ }
+ .an-tip b { display: block; font-size: 0.95rem; font-weight: 600; }
+ .an-tip span { display: block; }
+ .an-tip .an-when { opacity: 0.75; margin-top: 0.15rem; }
+ .an-edge-start .an-tip { left: 0; transform: none; }
+ .an-edge-end .an-tip { left: auto; right: 0; transform: none; }
+ .an-col:hover .an-tip, .an-col:focus .an-tip { display: block; }
+
+ .an-cols:hover .an-col:focus:not(:hover) .an-tip { display: none; }
+
+ .an-future { cursor: default; }
+ .an-xaxis { margin-top: 0.35rem; font-size: 0.75rem; color: var(--muted); white-space: nowrap; }
+ .an-xaxis span { justify-self: center; }
+
+ .an-breakdowns { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 2rem 3rem; margin: 0 0 2rem; }
+ .an-card h3 { font-size: 1rem; margin: 0 0 0.6rem; }
+ .an-share { list-style: none; margin: 0 0 0.5rem; }
+ .an-share li {
+ display: grid; grid-template-columns: minmax(0, 1fr) auto 3rem; column-gap: 0.75rem;
+ align-items: baseline; padding: 0.4rem 0 0.45rem; border-bottom: 1px solid var(--rule);
+ }
+ .an-key { overflow-wrap: anywhere; }
+ .an-flag { margin-right: 0.4rem; }
+ .an-val { font-variant-numeric: tabular-nums; text-align: right; }
+ .an-pct { font-variant-numeric: tabular-nums; text-align: right; color: var(--muted); font-size: 0.85rem; }
+ .an-track { grid-column: 1 / -1; display: block; height: 3px; margin-top: 0.3rem; border-radius: 2px; background: var(--accent-soft); }
+ .an-track span { display: block; height: 100%; border-radius: 2px; background: var(--accent); }
+ .an-muted .an-key { color: var(--muted); }
+ .an-muted .an-track span { background: var(--muted); opacity: 0.5; }
+
+ .an-more { margin: 0.6rem 0 0; font-size: 0.9rem; }
+ .an-card h3.an-subhead { margin-top: 1.4rem; }
+ .an-pages { margin: 0 0 2rem; }
+ .an-pages-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0 0 0.8rem; }
+ .an-pages-head h3 { font-size: 1rem; margin: 0; }
+ input.an-filter { width: 100%; max-width: 24rem; margin: 0 0 1rem; }
+ .an-section { border-bottom: 1px solid var(--rule); }
+ .an-section summary {
+ display: grid; grid-template-columns: minmax(0, 1fr) auto 3rem 5.5rem; column-gap: 0.75rem;
+ align-items: baseline; padding: 0.55rem 0; cursor: pointer; font-weight: 600;
+ }
+ .an-section summary .an-count { color: var(--muted); font-size: 0.85rem; font-weight: 400; text-align: right; }
+ .an-pagelist { margin: 0 0 0.75rem 1rem; }
+ .an-pagelist li { grid-template-columns: minmax(0, 1fr) 60px auto 3rem; }
+ .an-spark { width: 60px; height: 16px; align-self: center; }
+ .an-spark polyline { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
+ .an-overview { margin: 0 0 2rem; padding: 1.25rem 1.4rem 1.4rem; border: 1px solid var(--rule); border-radius: var(--rst-radius); background-color: var(--bg); box-shadow: var(--shadow-module); }
+ .an-overview-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0 0 1rem; }
+ .an-overview-head h2 { font-size: 1rem; margin: 0; }
+ .an-overview .an-figures { gap: 0.75rem 2.5rem; margin-bottom: 1rem; }
+ .an-overview .an-figures dd:not(.an-note) { font-size: 1.6rem; }
+ .an-overview .an-empty { padding: 1.5rem 0; }
+
+ .pt-blocked { position: absolute; left: 0; right: 0; bottom: 0; background: var(--ink); border-radius: inherit; }
+ .pt-key { display: inline-block; width: 0.7rem; height: 0.7rem; margin: 0 0.35rem 0 0; border-radius: 2px; background: var(--accent); vertical-align: -0.05rem; }
+ .pt-key + .pt-key { margin-left: 0.75rem; }
+ .pt-key-blocked { background: var(--ink); }
+ @media (max-width: 40rem) {
+ .an-figures { gap: 1rem 2rem; }
+ .an-figures dd:not(.an-note) { font-size: 1.75rem; }
+ .an-plot { height: 11rem; }
+ .an-span { flex-basis: 100%; margin: 0.4rem 0 0 0.75rem; }
+ }
+ @media (forced-colors: active) {
+ .an-bar, .an-track span { background: CanvasText; }
+ .pt-key { background: CanvasText; }
+ .pt-blocked, .pt-key-blocked { background: Highlight; }
+ .an-tip { border: 1px solid CanvasText; }
+ }
+ .buy-foot { margin: 1.75rem 0 0; }
+ .buy-foot button { padding: 0.7rem 1.5rem; }
+ .billing-upgrades { margin-top: 1.25rem; }
+
+ .done { max-width: 36rem; margin: clamp(1rem, 9vh, 5.5rem) auto 0; text-align: center; }
+ .done-mark {
+ display: inline-grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%;
+ margin: 0 0 1.4rem; background: var(--accent); color: var(--bg);
+ }
+ .done-mark .icon { width: 1.6rem; height: 1.6rem; stroke-width: 2.6; }
+ .done h1 { margin: 0 0 0.8rem; font-size: clamp(1.65rem, 1.2rem + 1.6vw, 2.15rem); line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; overflow-wrap: anywhere; }
+ .done-lede, .done-room { margin: 0 auto; max-width: 32rem; text-wrap: pretty; overflow-wrap: anywhere; }
+ .done-lede { font-size: 1.05rem; }
+ .done-room { margin-top: 0.5rem; color: var(--muted); }
+ .done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin: 2rem 0 0; }
+ .done-actions .btn { padding: 0.6rem 1.25rem; }
+ .done-actions .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
+
+ #packs-title, #upgrade { scroll-margin-top: 1.5rem; }
+ @media (prefers-reduced-motion: no-preference) {
+ .done-mark { animation: done-pop 520ms cubic-bezier(0.16, 1, 0.3, 1) both; }
+ .done-mark path { stroke-dasharray: 24; animation: done-draw 480ms 200ms cubic-bezier(0.16, 1, 0.3, 1) both; }
+ }
+ @keyframes done-pop { from { transform: scale(0.7); } }
+ @keyframes done-draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
+ @media (min-width: 46rem) {
+ .billing-includes { grid-template-columns: repeat(2, auto); }
+ }
+ @media (max-width: 40rem) {
+ table.methods .added { display: none; }
+ .billing-now { padding: 1rem 1.1rem 1.1rem; }
+ .done-actions { flex-direction: column; align-items: stretch; margin-top: 1.75rem; }
+ .done-actions .btn { text-align: center; }
+ .packs tr {
+ display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
+ gap: 0.6rem 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--rule);
+ }
+ .packs tr:first-child { border-top: 1px solid var(--rule); }
+ .packs td, .packs tr:first-child td { display: block; width: auto; padding: 0; border: 0; }
+ .packs td:first-child { grid-column: 1 / -1; }
+ .packs td:last-child { text-align: right; }
+ .buy-foot button { width: 100%; }
+ }
+
+ .mobile-back, .pagehead > .mobile-title { display: none; }
+ header .account-links { display: contents; }
+ .index-nav { display: flex; flex-direction: column; max-width: 32rem; margin: 0 0 2rem; border: 1px solid var(--rule); border-radius: var(--rst-radius); background: var(--bg); box-shadow: var(--shadow-module); overflow: hidden; }
+ .index-nav a:last-child { border-bottom: 0; }
+ .index-nav a {
+ display: flex; align-items: center; box-sizing: border-box;
+ gap: 0.75rem; min-height: 3.75rem; padding: 0.75rem 0.875rem; border-bottom: 1px solid var(--rule);
+ color: var(--ink); text-decoration: none; overflow-wrap: anywhere;
+ }
+ .index-context { display: flex; align-items: center; gap: 0.875rem; max-width: 32rem; margin: 0.25rem 0 1.5rem; }
+ .index-context-copy { min-width: 0; }
+ .index-context h1 { margin: 0; }
+ .index-context .eyebrow { margin: 0 0 0.25rem; font-size: 0.7rem; overflow-wrap: anywhere; }
+ .index-meta { margin: 0.375rem 0 0; color: var(--muted); font-size: 0.8rem; overflow-wrap: anywhere; }
+ .index-meta code { font-size: 0.75rem; }
+ .app-mark { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 2rem; height: 2rem; border-radius: 0.6rem; font: 600 1rem/1 var(--mono); text-transform: uppercase; color: var(--accent-strong); background: var(--accent-soft); border: 1px solid var(--rack-edge); box-shadow: var(--shadow-raised); }
+ .app-mark .icon { width: 1rem; height: 1rem; }
+ .index-context > .app-mark { width: 2.75rem; height: 2.75rem; font-size: 1.25rem; }
+ .index-context-icon { display: flex; align-items: center; justify-content: center; flex: none; width: 2.75rem; height: 2.75rem; color: var(--accent-strong); background: var(--accent-soft); border: 1px solid var(--rack-edge); border-radius: 0.75rem; box-shadow: var(--shadow-raised); }
+ .index-context-icon .icon { width: 1.4rem; height: 1.4rem; }
+ .index-nav .index-icon { display: flex; align-items: center; justify-content: center; flex: none; width: 2rem; height: 2rem; border-radius: 0.5rem; background: light-dark(#f0e4ef, #382435); color: var(--accent-strong); box-shadow: inset 0 1px 0 var(--rst-depth-hl), 0 1px 1px var(--rst-depth-ambient); }
+ .index-nav .index-icon .icon { width: 1.125rem; height: 1.125rem; }
+ .index-label { flex: 1; min-width: 0; }
+ .index-chevron { display: flex; flex: none; color: var(--muted); opacity: 0.65; }
+ .index-chevron .icon { width: 1rem; height: 1rem; }
+ .index-nav :is(.index-key-fleet, .index-key-instances, .index-key-placement, .index-key-domains, .index-key-email) .index-icon { background: light-dark(#e4edf9, #1e3049); color: light-dark(#32629c, #9cbfee); }
+ .index-nav :is(.index-key-team, .index-key-availability, .index-key-protection, .index-key-storage) .index-icon { background: light-dark(#e1f0ed, #1b3833); color: light-dark(#28685e, #99d2c5); }
+ .index-nav :is(.index-key-settings, .index-key-general, .index-key-logs, .index-key-environments) .index-icon { background: light-dark(#ececf0, #2c2d34); color: var(--muted); }
+ .index-nav .index-key-delete .index-icon { background: light-dark(#f7e9e8, #3b2425); color: var(--bad); }
+
+ .index-nav a:first-child { border-top-left-radius: calc(var(--rst-radius) - 1px); border-top-right-radius: calc(var(--rst-radius) - 1px); }
+ .index-nav a:last-child { border-bottom-left-radius: calc(var(--rst-radius) - 1px); border-bottom-right-radius: calc(var(--rst-radius) - 1px); }
+ .index-nav a:hover, .index-nav a:target { background: var(--accent-soft); }
+ .index-nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
+ @media (forced-colors: active) { .index-nav a:focus-visible { outline-color: Highlight; } }
+ @media (max-width: 800px) {
+ body[data-view] header :is(.switcher, .brand, .account-links) { display: none; }
+ body[data-view] header {
+ position: sticky; top: 0; z-index: 30; flex-wrap: nowrap; gap: 0.75rem;
+ max-width: none; margin: 0 -1.25rem; padding: 0.375rem 0.5rem; border-top: 0;
+ background: var(--rst-bg);
+ }
+ body[data-view] header nav { flex: none; margin-left: auto; flex-wrap: nowrap; gap: 0; }
+ body[data-view] header .mobile-back, body[data-view] header .mobile-root { display: flex; align-items: center; flex: 1; min-width: 0; }
+ body[data-view] header .mobile-root { font-weight: 500; min-height: 2.75rem; padding: 0.35rem 0.75rem; }
+ body[data-view="page"] .tabs, body[data-view="page"] .settings-nav { display: none; }
+ body[data-view] { border-top: 3px solid var(--accent); }
+ body[data-view] .pagehead > .eyebrow { display: none; }
+ body[data-view] main { padding-top: 1.25rem; }
+ .mobile-back a {
+ display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; min-width: 2.75rem;
+ box-sizing: border-box; padding: 0.35rem 0.75rem; font-weight: 500; text-decoration: none;
+ overflow-wrap: anywhere;
+ }
+ .mobile-back a::before {
+ content: ""; flex: none; width: 0.55rem; height: 0.55rem;
+ border-left: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(-45deg);
+ }
+ .mobile-back a:focus-visible { outline-offset: -2px; }
+ :root:has(body[data-view]) { scroll-padding-top: calc(3.5rem + 1px); }
+ .pagehead > h1:has(+ .mobile-title) { display: none; }
+ .pagehead > .mobile-title { display: block; overflow-wrap: anywhere; }
+ .index-nav { max-width: none; }
+
+ }
+</style>
+</head>
+<body data-view="page">
+<header>
+
+ <details class="switcher" id="switcher">
+ <summary>
+ <span class="small">Account</span>
+ <span class="current-name">shop</span>
+ <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m6 9 6 6 6-6"/></svg>
+ </summary>
+ <div class="switcher-menu">
+
+ <ul>
+ <li>
+ <span class="current" aria-current="true"><span class="mark"><svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20 6 9 17l-5-5"/></svg></span>shop</span>
+ </li>
+
+ </ul>
+ <hr>
+ <div class="new"><a href="/accounts/new"><span class="mark"><svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="M12 5v14"/></svg></span>New account</a></div>
+ </div>
+ </details>
+
+ <div class="mobile-back"><a href="/a/shop/apps/shop/settings/index#nav-environments" rel="up">Settings</a></div>
+ <nav>
+ <span class="account-links"><a href="/a/shop/" aria-current="page">Apps</a>
+ <a href="/a/shop/fleet">Fleet</a>
+ <a href="/a/shop/team">Team</a>
+ <a href="/a/shop/settings">Settings</a>
+ </span>
+ <details class="profile" id="profile">
+ <summary aria-label="you@example.com"><svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="8" r="5"/><path d="M20 21a8 8 0 0 0-16 0"/></svg><svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m6 9 6 6 6-6"/></svg></summary>
+ <div class="profile-menu">
+ <a class="addr" href="/settings">you@example.com</a>
+ <form method="post" action="/auth/signout">
+ <input type="hidden" name="csrf" value="mockup">
+ <button class="linkish" type="submit">Sign out</button>
+ </form>
+ </div>
+ </details>
+ </nav>
+</header>
+<main>
+<div class="pagehead">
+ <p class="eyebrow">App · shop</p>
+ <h1>shop</h1>
+ <h1 class="mobile-title">Environments</h1>
+</div>
+<nav class="tabs" aria-label="App sections">
+ <a href="/a/shop/apps/shop">Overview</a>
+ <a href="/a/shop/apps/shop/instances">Running</a>
+ <a href="/a/shop/apps/shop/releases">Deployments</a>
+ <a href="/a/shop/apps/shop/logs">Logs</a>
+ <a href="/a/shop/apps/shop/errors">Errors</a>
+ <a href="/a/shop/apps/shop/availability">Availability</a>
+ <a href="/a/shop/apps/shop/analytics">Analytics</a>
+ <a href="/a/shop/apps/shop/protection">Protection</a>
+ <a href="/a/shop/apps/shop/activity">Activity</a>
+ <a href="/a/shop/apps/shop/settings" aria-current="page">Settings</a>
+</nav>
+
+<div class="settings-layout">
+<nav class="settings-nav" aria-label="Settings sections">
+ <a href="/a/shop/apps/shop/settings">General</a>
+ <a href="/a/shop/apps/shop/settings/domains">Domains</a>
+ <a href="/a/shop/apps/shop/settings/placement">Placement</a>
+ <a href="/a/shop/apps/shop/settings/pipeline">Release pipeline</a>
+ <a href="/a/shop/apps/shop/settings/environments" aria-current="page">Environments</a>
+ <a href="/a/shop/apps/shop/settings/storage">Storage</a>
+ <a href="/a/shop/apps/shop/settings/email">Email</a>
+ <a href="/a/shop/apps/shop/settings/features">Feature flags</a>
+ <a href="/a/shop/apps/shop/settings/errors-analytics">Errors and analytics</a>
+ <a href="/a/shop/apps/shop/settings/delete">Delete</a>
+</nav>
+<div class="settings-content">
+
+<h2>Environments</h2>
+<p class="small">An environment is a bundle of settings that your app reads when it
+starts. A named environment sits on top of the default one, one setting at a time. Secrets
+are sealed in your browser before they are sent, so the console never sees them and can
+never show them again. You can replace a secret or remove it.</p>
+
+<form method="post" action="/a/shop/apps/shop/settings/environments">
+ <input type="hidden" name="csrf" value="mockup">
+
+ <h3><code>All environments</code></h3>
+ <p class="small">Read by <a href="/a/shop/apps/shop/instances/shop.example.com">shop.example.com</a></p>
+ <div class="tablewrap">
+ <table>
+ <tr><th>Setting</th></tr>
+ <tr><td>
+ <code>LOG_LEVEL</code>
+ <div class="settings-row"><label class="visually-hidden" for="v-default-log">Value of LOG_LEVEL in default</label><input type="text" id="v-default-log" name="default.LOG_LEVEL" value="info" autocomplete="off"> <button type="submit" class="linkish danger" name="remove" value="default.LOG_LEVEL">Remove</button></div>
+ </td></tr>
+ <tr><td>
+ <code>STRIPE_KEY</code>
+ <div class="settings-row"><span class="chip chip-env">Sealed</span> <button type="button" class="linkish">Replace</button> <button type="submit" class="linkish danger" name="remove" value="default.STRIPE_KEY">Remove</button></div>
+ </td></tr>
+ <tr><td>
+ <code>MAIL_TOKEN</code>
+ <div class="settings-row"><span class="chip chip-env">Sealed</span> <button type="button" class="linkish">Replace</button> <button type="submit" class="linkish danger" name="remove" value="default.MAIL_TOKEN">Remove</button></div>
+ </td></tr>
+ <tr><td>
+ <code>WEBHOOK_SECRET</code>
+ <div class="settings-row"><span class="chip chip-canary">New</span> <label class="small"><input type="checkbox" name="staged.secret" value="1" checked> Secret</label> <span class="small">Sealed on save</span> <button type="submit" class="linkish" name="discard" value="default.WEBHOOK_SECRET">Discard</button></div>
+ </td></tr>
+ </table>
+ </div>
+ <h3 class="small">Add a setting</h3>
+ <div class="settings-row">
+ <label class="visually-hidden" for="add-default-name">Name</label>
+ <input type="text" id="add-default-name" name="add.default.name" placeholder="NAME" autocomplete="off" spellcheck="false">
+ <label class="visually-hidden" for="add-default-value">Value</label>
+ <input type="text" id="add-default-value" name="add.default.value" placeholder="value" autocomplete="off">
+ <label class="small"><input type="checkbox" name="add.default.secret" value="1"> Secret</label>
+ <button type="submit" class="btn-sm btn-secondary" name="stage" value="default">Add</button>
+ </div>
+ <p class="small">A name like <code>API_KEY</code> or <code>DB_PASSWORD</code> ticks Secret for you. A secret needs JavaScript in your browser to be sealed. Without it, ask your agent or use <code>carlos secrets set</code>.</p>
+
+ <h3><code>staging</code></h3>
+ <p class="small">Read by <a href="/a/shop/apps/shop/instances/staging.shop.example.com">staging.shop.example.com</a>. Anything not set here comes from <code>default</code>.</p>
+ <div class="tablewrap">
+ <table>
+ <tr><th>Setting</th></tr>
+ <tr><td>
+ <code>LOG_LEVEL</code>
+ <div class="settings-row"><label class="visually-hidden" for="v-staging-log">Value of LOG_LEVEL in staging</label><input type="text" id="v-staging-log" name="staging.LOG_LEVEL" value="debug" autocomplete="off"> <button type="submit" class="linkish danger" name="remove" value="staging.LOG_LEVEL">Remove</button></div>
+ </td></tr>
+ <tr><td>
+ <code>STRIPE_KEY</code>
+ <div class="settings-row"><span class="chip chip-env">Sealed</span> <button type="button" class="linkish">Replace</button> <button type="submit" class="linkish danger" name="remove" value="staging.STRIPE_KEY">Remove</button></div>
+ </td></tr>
+ </table>
+ </div>
+ <h3 class="small">Add a setting</h3>
+ <div class="settings-row">
+ <label class="visually-hidden" for="add-staging-name">Name</label>
+ <input type="text" id="add-staging-name" name="add.staging.name" placeholder="NAME" autocomplete="off" spellcheck="false">
+ <label class="visually-hidden" for="add-staging-value">Value</label>
+ <input type="text" id="add-staging-value" name="add.staging.value" placeholder="value" autocomplete="off">
+ <label class="small"><input type="checkbox" name="add.staging.secret" value="1"> Secret</label>
+ <button type="submit" class="btn-sm btn-secondary" name="stage" value="staging">Add</button>
+ </div>
+
+ <h3>Your changes</h3>
+ <p class="small">1 change waiting: add <code>WEBHOOK_SECRET</code> to <code>default</code> as a secret.</p>
+ <div class="settings-row">
+ <button type="submit" data-busy>Save and restart</button>
+ </div>
+ <p class="small">Saving restarts shop once, whatever the number of changes, so the new settings take effect straight away.</p>
+</form>
+
+<h2>After you save</h2>
+<p class="banner">Saved 1 change to All environments. Restart requested for what uses it.</p>
+<div class="tablewrap">
+<table>
+ <tr><th>What happened</th></tr>
+ <tr><td><span class="chip chip-health-ok">Requested</span> shop.example.com: restart requested</td></tr>
+ <tr><td><span class="chip chip-env">Asleep</span> Asleep: picks up the change when it next wakes</td></tr>
+</table>
+</div>
+<p class="small">Nothing here shows a secret's value. To change one later, press Replace.</p>
+
+</div>
+</div>
+
+</main>
+<script>
+
+
+
+(function () {
+ var minBusy = 650;
+ document.addEventListener("submit", function (e) {
+ var f = e.target, b = e.submitter;
+ if (!b || !b.hasAttribute("data-busy")) return;
+ e.preventDefault();
+ if (f.hasAttribute("data-busy-sent")) return;
+ f.setAttribute("data-busy-sent", "");
+ b.setAttribute("aria-busy", "true");
+ b.disabled = true;
+ setTimeout(function () {
+ if (b.name) {
+ var h = document.createElement("input");
+ h.type = "hidden"; h.name = b.name; h.value = b.value;
+ f.appendChild(h);
+ }
+ f.submit();
+ }, minBusy);
+ });
+
+
+ document.addEventListener("focusin", function (e) {
+ var t = e.target;
+ if (t.matches && t.matches("input[data-select]")) {
+ setTimeout(function () { t.select(); }, 0);
+ }
+ });
+
+
+ window.addEventListener("pageshow", function (e) {
+ if (!e.persisted) return;
+ document.querySelectorAll("form[data-busy-sent]").forEach(function (f) { f.removeAttribute("data-busy-sent"); });
+ document.querySelectorAll("button[aria-busy=true]").forEach(function (b) { b.disabled = false; b.removeAttribute("aria-busy"); });
+ });
+})();
+
+
+
+
+
+
+
+(function () {
+ var d = document.getElementById("switcher");
+ if (!d) return;
+ document.addEventListener("keydown", function (e) {
+ if (e.key === "Escape" && d.open) { d.open = false; d.firstElementChild.focus(); }
+ });
+ document.addEventListener("click", function (e) {
+ if (d.open && !d.contains(e.target)) d.open = false;
+ });
+
+ var find = d.querySelector(".switcher-find");
+ var none = d.querySelector(".switcher-none");
+ var list = d.querySelector(".switcher-menu ul");
+ if (!list) return;
+ var rows = Array.prototype.slice.call(list.children);
+ if (find) find.hidden = false;
+
+ function shown() {
+ return rows.filter(function (li) { return !li.hidden; })
+ .map(function (li) { return li.querySelector("a"); })
+ .filter(Boolean);
+ }
+ function filter() {
+ var q = find.value.trim().toLowerCase(), any = false;
+ rows.forEach(function (li) {
+ li.hidden = q !== "" && li.textContent.toLowerCase().indexOf(q) < 0;
+ if (!li.hidden) any = true;
+ });
+ none.hidden = any;
+ list.hidden = !any;
+ }
+ if (find) {
+ find.addEventListener("input", filter);
+ find.addEventListener("keydown", function (e) {
+ var links = shown();
+ if (e.key === "Enter" && links.length) { e.preventDefault(); links[0].click(); }
+ if (e.key === "ArrowDown" && links.length) { e.preventDefault(); links[0].focus(); }
+ });
+ }
+ list.addEventListener("keydown", function (e) {
+ if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
+ var links = shown(), i = links.indexOf(document.activeElement);
+ if (i < 0) return;
+ e.preventDefault();
+ if (e.key === "ArrowDown") { if (i + 1 < links.length) links[i + 1].focus(); }
+ else if (i > 0) links[i - 1].focus();
+ else if (find) find.focus();
+ });
+ d.addEventListener("toggle", function () {
+ if (!d.open) {
+ if (find && find.value) { find.value = ""; filter(); }
+ return;
+ }
+
+ var cur = list.querySelector("[aria-current]");
+ if (cur) list.scrollTop = cur.parentNode.offsetTop - list.offsetTop - list.clientHeight / 2;
+
+
+ if (find && window.matchMedia("(pointer: fine)").matches) find.focus();
+ });
+})();
+</script>
+<script data-profile-menu>
+
+
+(function () {
+ var d = document.getElementById("profile");
+ if (!d) return;
+ document.addEventListener("keydown", function (e) {
+ if (e.key === "Escape" && d.open) { d.open = false; d.firstElementChild.focus(); }
+ });
+ document.addEventListener("click", function (e) {
+ if (d.open && !d.contains(e.target)) d.open = false;
+ });
+})();
+</script>
+</body>
+</html>