carlos / platform Public

docs: mockup kit generates no trailing whitespace (#722)

The kit generator strips trailing whitespace; shell.html regenerated and
the copied settings mockups stripped. Whitespace-only doc changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Squashed from mockup-whitespace-722 into main.
claude agent, operated by paul@keymail.dev 04dc1dc052be80beb9078b2cf216270131fa4ecf parent 8773801
6 files changed, +576 −572
  • docs/console-mockup-kit/shell.html +116 −116
  • docs/superpowers/specs/2026-11-08-console-secrets-mockup-v3.html +114 −114
  • docs/superpowers/specs/settings-secrets-v2.html +114 −114
  • docs/superpowers/specs/settings-secrets-v3.html +114 −114
  • docs/superpowers/specs/settings-secrets.html +114 −114
  • internal/console/mockupkit_test.go +4 −0

CI passed — run details

diff --git a/docs/console-mockup-kit/shell.html b/docs/console-mockup-kit/shell.html
index e4bc39eb7..8c931f6da 100644
--- a/docs/console-mockup-kit/shell.html
+++ b/docs/console-mockup-kit/shell.html
@@ -6,40 +6,40 @@
<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);
@@ -49,15 +49,15 @@
--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);
@@ -71,7 +71,7 @@
--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);
@@ -85,21 +85,21 @@
--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;
@@ -107,35 +107,35 @@
--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;
@@ -147,7 +147,7 @@
--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));
@@ -158,16 +158,16 @@
}
}
-
+
: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;
@@ -228,14 +228,14 @@
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); }
@@ -243,7 +243,7 @@
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;
}
@@ -251,21 +251,21 @@
.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;
@@ -277,7 +277,7 @@
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;
@@ -310,7 +310,7 @@
header .profile-menu form { margin: 0; }
header .profile-menu button.linkish { width: 100%; }
header .mobile-root { display: none; }
-
+
header .switcher {
position: relative;
}
@@ -328,28 +328,28 @@
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 {
@@ -359,7 +359,7 @@
}
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;
@@ -372,7 +372,7 @@
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);
@@ -394,7 +394,7 @@
.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); }
-
+
.envvars { list-style: none; margin: 0; padding: 0; }
.envvars > li { border-bottom: 1px solid var(--rule); }
.envvars > li:last-child { border-bottom: 0; }
@@ -418,7 +418,7 @@
.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; }
-
+
@media (max-width: 40rem) { .addvar input[name$=".name"] { flex-basis: 100%; } }
.savebar {
position: sticky; bottom: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.5rem 0.9rem; align-items: center;
@@ -430,7 +430,7 @@
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;
@@ -461,19 +461,19 @@
.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; }
@@ -482,10 +482,10 @@
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;
@@ -493,25 +493,25 @@
}
.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;
@@ -521,12 +521,12 @@
.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); }
@@ -537,15 +537,15 @@
.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;
@@ -574,7 +574,7 @@
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); }
@@ -594,7 +594,7 @@
.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 {
@@ -617,7 +617,7 @@
.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;
@@ -633,7 +633,7 @@
.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;
@@ -650,12 +650,12 @@
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);
@@ -684,7 +684,7 @@
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;
@@ -697,7 +697,7 @@
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);
}
@@ -711,15 +711,15 @@
--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;
@@ -727,27 +727,27 @@
}
.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;
@@ -755,14 +755,14 @@
}
.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;
@@ -773,10 +773,10 @@
.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);
@@ -793,7 +793,7 @@
}
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;
@@ -805,11 +805,11 @@
.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);
@@ -828,7 +828,7 @@
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;
@@ -855,11 +855,11 @@
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; }
@@ -881,7 +881,7 @@
}
.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); }
@@ -895,14 +895,14 @@
.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 {
@@ -937,7 +937,7 @@
}
.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;
@@ -945,14 +945,14 @@
}
.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;
@@ -971,9 +971,9 @@
.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; }
@@ -1016,7 +1016,7 @@
.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; }
@@ -1036,7 +1036,7 @@
.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%;
@@ -1050,7 +1050,7 @@
.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; }
@@ -1076,7 +1076,7 @@
.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; }
@@ -1106,7 +1106,7 @@
.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); }
@@ -1146,7 +1146,7 @@
</head>
<body data-view="page">
<header>
-
+
<details class="switcher" id="switcher">
<summary>
<span class="small">Account</span>
@@ -1154,18 +1154,18 @@
<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/index#nav-apps" rel="up">shop</a></div>
<nav>
<span class="account-links"><a href="/a/shop/" aria-current="page">Apps</a>
@@ -1211,16 +1211,16 @@
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"); });
@@ -1287,11 +1287,11 @@
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();
});
})();
diff --git a/docs/superpowers/specs/2026-11-08-console-secrets-mockup-v3.html b/docs/superpowers/specs/2026-11-08-console-secrets-mockup-v3.html
index 4ea25774f..91e4c5b10 100644
--- a/docs/superpowers/specs/2026-11-08-console-secrets-mockup-v3.html
+++ b/docs/superpowers/specs/2026-11-08-console-secrets-mockup-v3.html
@@ -6,40 +6,40 @@
<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);
@@ -49,15 +49,15 @@
--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);
@@ -71,7 +71,7 @@
--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);
@@ -85,21 +85,21 @@
--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;
@@ -107,35 +107,35 @@
--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;
@@ -147,7 +147,7 @@
--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));
@@ -158,16 +158,16 @@
}
}
-
+
: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;
@@ -228,14 +228,14 @@
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); }
@@ -243,7 +243,7 @@
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;
}
@@ -251,21 +251,21 @@
.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;
@@ -277,7 +277,7 @@
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;
@@ -310,7 +310,7 @@
header .profile-menu form { margin: 0; }
header .profile-menu button.linkish { width: 100%; }
header .mobile-root { display: none; }
-
+
header .switcher {
position: relative;
}
@@ -328,28 +328,28 @@
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 {
@@ -359,7 +359,7 @@
}
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;
@@ -372,7 +372,7 @@
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);
@@ -397,7 +397,7 @@
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;
@@ -428,19 +428,19 @@
.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; }
@@ -449,10 +449,10 @@
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;
@@ -460,25 +460,25 @@
}
.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;
@@ -488,12 +488,12 @@
.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); }
@@ -504,15 +504,15 @@
.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;
@@ -541,7 +541,7 @@
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); }
@@ -561,7 +561,7 @@
.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 {
@@ -584,7 +584,7 @@
.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;
@@ -600,7 +600,7 @@
.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;
@@ -617,12 +617,12 @@
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);
@@ -651,7 +651,7 @@
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;
@@ -664,7 +664,7 @@
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);
}
@@ -678,15 +678,15 @@
--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;
@@ -694,27 +694,27 @@
}
.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;
@@ -722,14 +722,14 @@
}
.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;
@@ -740,10 +740,10 @@
.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);
@@ -760,7 +760,7 @@
}
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;
@@ -772,11 +772,11 @@
.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);
@@ -795,7 +795,7 @@
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;
@@ -822,11 +822,11 @@
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; }
@@ -848,7 +848,7 @@
}
.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); }
@@ -862,14 +862,14 @@
.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 {
@@ -904,7 +904,7 @@
}
.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;
@@ -912,14 +912,14 @@
}
.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;
@@ -938,9 +938,9 @@
.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; }
@@ -983,7 +983,7 @@
.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; }
@@ -1003,7 +1003,7 @@
.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%;
@@ -1017,7 +1017,7 @@
.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; }
@@ -1043,7 +1043,7 @@
.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; }
@@ -1073,7 +1073,7 @@
.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); }
@@ -1113,7 +1113,7 @@
</head>
<body data-view="page">
<header>
-
+
<details class="switcher" id="switcher">
<summary>
<span class="small">Account</span>
@@ -1121,18 +1121,18 @@
<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>
@@ -1330,16 +1330,16 @@
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"); });
@@ -1406,11 +1406,11 @@
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();
});
})();
diff --git a/docs/superpowers/specs/settings-secrets-v2.html b/docs/superpowers/specs/settings-secrets-v2.html
index 8470c4c75..14fbe2e7c 100644
--- a/docs/superpowers/specs/settings-secrets-v2.html
+++ b/docs/superpowers/specs/settings-secrets-v2.html
@@ -6,40 +6,40 @@
<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);
@@ -49,15 +49,15 @@
--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);
@@ -71,7 +71,7 @@
--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);
@@ -85,21 +85,21 @@
--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;
@@ -107,35 +107,35 @@
--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;
@@ -147,7 +147,7 @@
--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));
@@ -158,16 +158,16 @@
}
}
-
+
: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;
@@ -228,14 +228,14 @@
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); }
@@ -243,7 +243,7 @@
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;
}
@@ -251,21 +251,21 @@
.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;
@@ -277,7 +277,7 @@
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;
@@ -310,7 +310,7 @@
header .profile-menu form { margin: 0; }
header .profile-menu button.linkish { width: 100%; }
header .mobile-root { display: none; }
-
+
header .switcher {
position: relative;
}
@@ -328,28 +328,28 @@
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 {
@@ -359,7 +359,7 @@
}
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;
@@ -372,7 +372,7 @@
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);
@@ -397,7 +397,7 @@
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;
@@ -428,19 +428,19 @@
.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; }
@@ -449,10 +449,10 @@
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;
@@ -460,25 +460,25 @@
}
.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;
@@ -488,12 +488,12 @@
.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); }
@@ -504,15 +504,15 @@
.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;
@@ -541,7 +541,7 @@
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); }
@@ -561,7 +561,7 @@
.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 {
@@ -584,7 +584,7 @@
.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;
@@ -600,7 +600,7 @@
.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;
@@ -617,12 +617,12 @@
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);
@@ -651,7 +651,7 @@
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;
@@ -664,7 +664,7 @@
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);
}
@@ -678,15 +678,15 @@
--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;
@@ -694,27 +694,27 @@
}
.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;
@@ -722,14 +722,14 @@
}
.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;
@@ -740,10 +740,10 @@
.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);
@@ -760,7 +760,7 @@
}
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;
@@ -772,11 +772,11 @@
.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);
@@ -795,7 +795,7 @@
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;
@@ -822,11 +822,11 @@
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; }
@@ -848,7 +848,7 @@
}
.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); }
@@ -862,14 +862,14 @@
.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 {
@@ -904,7 +904,7 @@
}
.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;
@@ -912,14 +912,14 @@
}
.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;
@@ -938,9 +938,9 @@
.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; }
@@ -983,7 +983,7 @@
.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; }
@@ -1003,7 +1003,7 @@
.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%;
@@ -1017,7 +1017,7 @@
.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; }
@@ -1043,7 +1043,7 @@
.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; }
@@ -1073,7 +1073,7 @@
.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); }
@@ -1113,7 +1113,7 @@
</head>
<body data-view="page">
<header>
-
+
<details class="switcher" id="switcher">
<summary>
<span class="small">Account</span>
@@ -1121,18 +1121,18 @@
<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>
@@ -1327,16 +1327,16 @@
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"); });
@@ -1403,11 +1403,11 @@
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();
});
})();
diff --git a/docs/superpowers/specs/settings-secrets-v3.html b/docs/superpowers/specs/settings-secrets-v3.html
index 4ea25774f..91e4c5b10 100644
--- a/docs/superpowers/specs/settings-secrets-v3.html
+++ b/docs/superpowers/specs/settings-secrets-v3.html
@@ -6,40 +6,40 @@
<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);
@@ -49,15 +49,15 @@
--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);
@@ -71,7 +71,7 @@
--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);
@@ -85,21 +85,21 @@
--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;
@@ -107,35 +107,35 @@
--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;
@@ -147,7 +147,7 @@
--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));
@@ -158,16 +158,16 @@
}
}
-
+
: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;
@@ -228,14 +228,14 @@
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); }
@@ -243,7 +243,7 @@
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;
}
@@ -251,21 +251,21 @@
.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;
@@ -277,7 +277,7 @@
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;
@@ -310,7 +310,7 @@
header .profile-menu form { margin: 0; }
header .profile-menu button.linkish { width: 100%; }
header .mobile-root { display: none; }
-
+
header .switcher {
position: relative;
}
@@ -328,28 +328,28 @@
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 {
@@ -359,7 +359,7 @@
}
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;
@@ -372,7 +372,7 @@
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);
@@ -397,7 +397,7 @@
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;
@@ -428,19 +428,19 @@
.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; }
@@ -449,10 +449,10 @@
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;
@@ -460,25 +460,25 @@
}
.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;
@@ -488,12 +488,12 @@
.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); }
@@ -504,15 +504,15 @@
.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;
@@ -541,7 +541,7 @@
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); }
@@ -561,7 +561,7 @@
.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 {
@@ -584,7 +584,7 @@
.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;
@@ -600,7 +600,7 @@
.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;
@@ -617,12 +617,12 @@
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);
@@ -651,7 +651,7 @@
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;
@@ -664,7 +664,7 @@
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);
}
@@ -678,15 +678,15 @@
--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;
@@ -694,27 +694,27 @@
}
.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;
@@ -722,14 +722,14 @@
}
.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;
@@ -740,10 +740,10 @@
.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);
@@ -760,7 +760,7 @@
}
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;
@@ -772,11 +772,11 @@
.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);
@@ -795,7 +795,7 @@
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;
@@ -822,11 +822,11 @@
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; }
@@ -848,7 +848,7 @@
}
.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); }
@@ -862,14 +862,14 @@
.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 {
@@ -904,7 +904,7 @@
}
.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;
@@ -912,14 +912,14 @@
}
.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;
@@ -938,9 +938,9 @@
.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; }
@@ -983,7 +983,7 @@
.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; }
@@ -1003,7 +1003,7 @@
.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%;
@@ -1017,7 +1017,7 @@
.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; }
@@ -1043,7 +1043,7 @@
.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; }
@@ -1073,7 +1073,7 @@
.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); }
@@ -1113,7 +1113,7 @@
</head>
<body data-view="page">
<header>
-
+
<details class="switcher" id="switcher">
<summary>
<span class="small">Account</span>
@@ -1121,18 +1121,18 @@
<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>
@@ -1330,16 +1330,16 @@
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"); });
@@ -1406,11 +1406,11 @@
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();
});
})();
diff --git a/docs/superpowers/specs/settings-secrets.html b/docs/superpowers/specs/settings-secrets.html
index 739becc4a..a91cd206b 100644
--- a/docs/superpowers/specs/settings-secrets.html
+++ b/docs/superpowers/specs/settings-secrets.html
@@ -6,40 +6,40 @@
<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);
@@ -49,15 +49,15 @@
--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);
@@ -71,7 +71,7 @@
--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);
@@ -85,21 +85,21 @@
--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;
@@ -107,35 +107,35 @@
--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;
@@ -147,7 +147,7 @@
--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));
@@ -158,16 +158,16 @@
}
}
-
+
: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;
@@ -228,14 +228,14 @@
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); }
@@ -243,7 +243,7 @@
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;
}
@@ -251,21 +251,21 @@
.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;
@@ -277,7 +277,7 @@
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;
@@ -310,7 +310,7 @@
header .profile-menu form { margin: 0; }
header .profile-menu button.linkish { width: 100%; }
header .mobile-root { display: none; }
-
+
header .switcher {
position: relative;
}
@@ -328,28 +328,28 @@
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 {
@@ -359,7 +359,7 @@
}
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;
@@ -372,7 +372,7 @@
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);
@@ -397,7 +397,7 @@
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;
@@ -428,19 +428,19 @@
.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; }
@@ -449,10 +449,10 @@
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;
@@ -460,25 +460,25 @@
}
.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;
@@ -488,12 +488,12 @@
.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); }
@@ -504,15 +504,15 @@
.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;
@@ -541,7 +541,7 @@
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); }
@@ -561,7 +561,7 @@
.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 {
@@ -584,7 +584,7 @@
.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;
@@ -600,7 +600,7 @@
.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;
@@ -617,12 +617,12 @@
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);
@@ -651,7 +651,7 @@
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;
@@ -664,7 +664,7 @@
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);
}
@@ -678,15 +678,15 @@
--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;
@@ -694,27 +694,27 @@
}
.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;
@@ -722,14 +722,14 @@
}
.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;
@@ -740,10 +740,10 @@
.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);
@@ -760,7 +760,7 @@
}
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;
@@ -772,11 +772,11 @@
.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);
@@ -795,7 +795,7 @@
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;
@@ -822,11 +822,11 @@
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; }
@@ -848,7 +848,7 @@
}
.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); }
@@ -862,14 +862,14 @@
.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 {
@@ -904,7 +904,7 @@
}
.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;
@@ -912,14 +912,14 @@
}
.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;
@@ -938,9 +938,9 @@
.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; }
@@ -983,7 +983,7 @@
.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; }
@@ -1003,7 +1003,7 @@
.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%;
@@ -1017,7 +1017,7 @@
.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; }
@@ -1043,7 +1043,7 @@
.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; }
@@ -1073,7 +1073,7 @@
.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); }
@@ -1113,7 +1113,7 @@
</head>
<body data-view="page">
<header>
-
+
<details class="switcher" id="switcher">
<summary>
<span class="small">Account</span>
@@ -1121,18 +1121,18 @@
<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>
@@ -1300,16 +1300,16 @@ never show them again. You can replace a secret or remove it.</p>
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"); });
@@ -1376,11 +1376,11 @@ never show them again. You can replace a secret or remove it.</p>
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();
});
})();
diff --git a/internal/console/mockupkit_test.go b/internal/console/mockupkit_test.go
index fd94de1d8..6c503aa7e 100644
--- a/internal/console/mockupkit_test.go
+++ b/internal/console/mockupkit_test.go
@@ -52,6 +52,7 @@ func TestConsoleMockupKit(t *testing.T) {
var (
stylesheetLink = regexp.MustCompile(`<link rel="stylesheet" href="/static/[0-9a-f]+/([^"]+)">`)
mainContent = regexp.MustCompile(`(?s)<main>.*</main>`)
+ trailingSpace = regexp.MustCompile(`(?m)[ \t]+$`)
)
// mockupShell turns a rendered console page into the kit's shell: each
@@ -82,5 +83,8 @@ func mockupShell(page string) (string, error) {
// file's diff to real template changes.
page = regexp.MustCompile(`name="csrf" value="[^"]*"`).ReplaceAllLiteralString(page, `name="csrf" value="mockup"`)
page = regexp.MustCompile(`<title>[^<]*</title>`).ReplaceAllLiteralString(page, "<title>Mockup</title>")
+ // Stylesheets and templates carry trailing spaces on blank lines; the
+ // kit is committed, and `git diff --check` rejects them.
+ page = trailingSpace.ReplaceAllString(page, "")
return page, nil
}