@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/static/fonts/newsreader-latin-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/static/fonts/newsreader-latin-ext-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/static/fonts/public-sans-latin-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/static/fonts/public-sans-latin-ext-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/static/fonts/dm-mono-latin-400.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/static/fonts/dm-mono-latin-ext-400.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Newsreader Fallback'; font-weight: 100 600; src: local('Georgia'); size-adjust: 91.49%; ascent-override: 80.34%; descent-override: 28.96%; line-gap-override: 0%; }
@font-face { font-family: 'Public Sans Fallback'; font-weight: 100 500; src: local('Arial'); size-adjust: 105.24%; ascent-override: 90.27%; descent-override: 21.38%; line-gap-override: 0%; }
@font-face { font-family: 'Public Sans Fallback'; font-weight: 600 900; src: local('Arial Bold'); size-adjust: 98.45%; ascent-override: 96.50%; descent-override: 22.85%; line-gap-override: 0%; }
@font-face { font-family: 'DM Mono Fallback'; src: local('Courier New'); size-adjust: 99.98%; ascent-override: 99.22%; descent-override: 31.01%; line-gap-override: 0%; }
:root {
  --sans: "Public Sans", "Public Sans Fallback", ui-sans-serif, system-ui, sans-serif;
  --serif: Newsreader, "Newsreader Fallback", Georgia, "Times New Roman", serif;
  --mono: "DM Mono", "DM Mono Fallback", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ground:#ffffff; --surface:#ffffff; --sunk:#f3f2ef; --line:#e4e2dc; --strong:#77736a; --rule:#121212; --ink:#121212; --muted:#5c5a55; --on:#ffffff; --tint:#f3f2ef;
  --good:#1f7a4a; --good-t:#e4f2ea; --bad:#b3261e; --bad-t:#fbe7e5; --warn:#8a5a00; --warn-t:#fbf1d9; --soft:#d9d6cf; --grid:#ecebe7;
  --pop:0 8px 24px rgba(18,18,18,.12), 0 1px 3px rgba(18,18,18,.08); --scrim:rgba(18,18,18,.35);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) { :root {
  --ground:#141413; --surface:#1a1a19; --sunk:#222220; --line:#2e2d2a; --strong:#6e6b63; --rule:#f2f1ed; --ink:#f2f1ed; --muted:#a8a59d; --on:#121212; --tint:#262523;
  --good:#5cc28a; --good-t:#163023; --bad:#f08074; --bad-t:#3a1c19; --warn:#e0b04f; --warn-t:#33280f; --soft:#3a3936; --grid:#262523;
  --pop:0 8px 24px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.4); --scrim:rgba(0,0,0,.6);
} }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 14px/22px var(--sans); }
a { color: var(--ink); text-underline-offset: 2px; }
p { margin: 0; }
h1 { margin: 0; font: 500 26px/32px var(--serif); overflow-wrap: anywhere; }
h2 { margin: 0; font: 500 22px/28px var(--serif); }
h3 { margin: 0; font-size: 14px; line-height: 22px; font-weight: 600; }
code, .mono { font-family: var(--mono); font-size: 12px; line-height: 18px; }
code { font-size: 13px; overflow-wrap: anywhere; }
strong { font-weight: 600; }
.muted { color: var(--muted); }
.good { color: var(--good); }
.bad { color: var(--bad); }
.warn { color: var(--warn); }
.small { font-size: 13px; line-height: 20px; }
.i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
form { margin: 0; }
form.inline { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.on-phone { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* the frame: a sidebar, and a top bar on a phone */
.shell { display: flex; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; flex: 0 0 240px; padding: 20px 14px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; overflow-y: auto; }
.mark { font: 500 24px/32px var(--serif); padding: 0 10px; text-decoration: none; color: var(--ink); }
.acct > summary { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--strong); border-radius: 2px; cursor: pointer; }
.acct > summary .v { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.acct > summary .v strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 20px; }
.acct .menu { left: 0; right: 0; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 2px; color: var(--muted); text-decoration: none; min-width: 0; }
.nav a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav a:hover { background: var(--tint); color: var(--ink); }
.nav a.on { background: var(--tint); color: var(--ink); font-weight: 600; }
.nav a.on .p { font-weight: 400; }
.nav .group { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 4px 10px; color: var(--muted); }
.nav .group .ib { width: 24px; height: 24px; }
.nav .gap { height: 14px; }
.who { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 12px 0 0 10px; border-top: 1px solid var(--line); }
.who .v { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.who .v > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top { display: none; }
main { flex: 1; min-width: 0; padding: 0 0 64px; }
.page { --pt: 28px; --px: 40px; display: flex; flex-direction: column; gap: 28px; padding: var(--pt) var(--px) 0; }
.page > * { max-width: 1120px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack.tight { gap: 6px; }

/* page heads and tabs */
/* the bar: a slim band across the top of the page, crumbs / title at the
   left and actions at the right, that stays put as the page scrolls, over
   the menus and tips of what scrolls under it (z-index 20) */
.page > .topbar { order: -1; max-width: none; position: sticky; top: 0; z-index: 25; display: flex; align-items: center; min-height: 56px; box-sizing: border-box; margin: calc(-1 * var(--pt)) calc(-1 * var(--px)) 0; padding: 8px var(--px); background: var(--ground); border-bottom: 1px solid var(--line); }
.page > .topbar + .tabs { margin-top: -8px; }
html { scroll-padding-top: 76px; }
.topbar .in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; width: 100%; max-width: 1120px; }
/* the title keeps its room: the actions wrap under it when both do not fit */
.crumbs { display: flex; align-items: center; gap: 8px; flex: 0 1 auto; min-width: 0; font-size: 16px; line-height: 24px; }
.crumbs .c { flex: none; max-width: 12rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.crumbs .c a { color: var(--muted); text-decoration: none; }
.crumbs .c a:hover { color: var(--ink); }
.crumbs .sl { flex: none; color: var(--muted); opacity: .6; }
.topbar h1 { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 16px/24px var(--sans); }
.topbar .actions { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.title .sp, .sp { flex: 1; }
.title .actions { margin-left: auto; }
.tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs a { display: flex; align-items: center; gap: 8px; padding: 0 0 10px; color: var(--muted); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--ink); }
.tabs a.on { border-bottom-color: var(--ink); color: var(--ink); font-weight: 600; }
.tabs a .n { font: 12px/18px var(--mono); color: var(--muted); font-weight: 400; }
.sec { display: flex; flex-direction: column; gap: 12px; }
.sec-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 14px; border: 1px solid var(--strong); border-radius: 2px; background: var(--ground); color: var(--ink); font: 600 13px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--tint); }
.btn.p { background: var(--ink); border-color: var(--ink); color: var(--on); }
.btn.p:hover { opacity: .86; }
.btn.q { border-color: transparent; background: transparent; color: var(--muted); }
.btn.q:hover { color: var(--ink); background: var(--tint); }
.btn.d { color: var(--bad); }
.btn.sm { height: 32px; padding: 0 10px; }
.btn[aria-expanded="true"] { background: var(--tint); border-color: var(--ink); }
.btn.p[aria-expanded="true"] { background: var(--ink); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.ib { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid transparent; border-radius: 2px; background: transparent; color: var(--muted); cursor: pointer; }
.ib:hover, .dd[open] > .ib { background: var(--tint); color: var(--ink); }
.dd[open] > .ib { border-color: var(--strong); }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }

/* badges, chips, wells */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 2px; font-size: 12px; font-weight: 600; line-height: 18px; white-space: nowrap; background: var(--sunk); color: var(--muted); }
.badge.good { background: var(--good-t); color: var(--good); }
.badge.warn { background: var(--warn-t); color: var(--warn); }
.badge.bad { background: var(--bad-t); color: var(--bad); }
.chip { display: inline-flex; align-items: center; padding: 2px 7px; border-radius: 2px; background: var(--sunk); color: var(--ink); font: 12px/18px var(--mono); text-decoration: none; white-space: nowrap; }
a.chip:hover { text-decoration: underline; }
/* a service, set apart from the environment chips beside it */
.chip.svc { padding: 1px 6px; border: 1px solid var(--strong); background: transparent; font: 600 12px/18px var(--sans); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.well { margin: 0; background: var(--sunk); border-radius: 4px; padding: 10px 12px; font: 13px/20px var(--mono); overflow-x: auto; white-space: pre; color: var(--ink); }
.copy { display: flex; gap: 8px; align-items: flex-start; }
.copy .well { flex: 1; min-width: 0; }

/* notices */
.note { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: 2px; background: var(--sunk); }
.note > .i { margin-top: 3px; }
.note.good { background: var(--good-t); } .note.good > .i { color: var(--good); }
.note.bad { background: var(--bad-t); } .note.bad > .i { color: var(--bad); }
.note.warn { background: var(--warn-t); } .note.warn > .i { color: var(--warn); }
.note .body { display: flex; flex-direction: column; gap: 10px; min-width: 0; flex: 1; }
.note .body > p { overflow-wrap: anywhere; }
.note .well { background: var(--ground); }
.note.ready { padding: 16px; }

/* forms */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 20px; font-weight: 600; min-width: 0; }
.field .hint { font-weight: 400; color: var(--muted); }
.input { height: 36px; width: 100%; min-width: 0; padding: 0 10px; border: 1px solid var(--strong); border-radius: 2px; background: var(--ground); color: var(--ink); font: 14px var(--sans); }
.input::placeholder { color: var(--muted); opacity: 1; }
.input:focus-visible { outline-offset: 0; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; line-height: 20px; font-weight: 400; color: var(--muted); cursor: pointer; }
.check input { accent-color: var(--ink); width: 15px; height: 15px; margin: 0; }
.checks { display: flex; gap: 6px 16px; flex-wrap: wrap; }
.fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.joined { display: flex; gap: 6px; }
.joined .input { flex: 1; width: 0; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.panel { display: none; flex-direction: column; gap: 16px; padding: 20px; background: var(--sunk); border-radius: 2px; }
.panel.open, .panel:target { display: flex; }
html.js .panel:target:not(.open) { display: none; }
.panel .input, .panel .pick > summary { background: var(--ground); }
.panel details.more > summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--muted); font-size: 13px; }
.panel details.more[open] > summary .i { transform: rotate(180deg); }
.panel details.more > div { margin-top: 12px; }

/* pickers (custom selects) and menus */
.pick, .dd { position: relative; }
.dd { display: inline-block; }
.dd.acct { display: block; }
.pick > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 36px; min-width: 140px; padding: 0 10px; border: 1px solid var(--strong); border-radius: 2px; background: var(--ground); color: var(--ink); font: 400 14px/1 var(--sans); cursor: pointer; white-space: nowrap; }
.pick > summary .v { overflow: hidden; text-overflow: ellipsis; }
.pick > summary .i { color: var(--muted); }
.pick[open] > summary { border-color: var(--ink); }
.pick.sm > summary { height: 32px; }
.list, .menu { position: absolute; top: calc(100% + 4px); z-index: 20; display: flex; flex-direction: column; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; box-shadow: var(--pop); }
.list { left: 0; min-width: 100%; max-height: 300px; overflow-y: auto; }
.menu { right: 0; min-width: 220px; }
.menu.left { left: 0; right: auto; }
.opt { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 2px; font-size: 14px; font-weight: 400; color: var(--ink); cursor: pointer; white-space: nowrap; }
.opt:hover { background: var(--tint); }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.opt .i { visibility: hidden; }
.opt:has(input:checked) { background: var(--tint); font-weight: 600; }
.opt:has(input:checked) .i { visibility: visible; }
.opt:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: -2px; }
.mi { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 2px; background: none; color: var(--ink); font: 14px/22px var(--sans); text-align: left; text-decoration: none; cursor: pointer; white-space: nowrap; }
.mi:hover { background: var(--tint); }
.mi.d { color: var(--bad); }
.mi:disabled { color: var(--muted); cursor: not-allowed; background: none; }
.mi .note-r { margin-left: auto; padding-left: 12px; color: var(--muted); font-size: 12px; }
.menu hr { border: 0; height: 1px; background: var(--line); margin: 4px 0; }
.menu .label { padding: 6px 10px 4px; color: var(--muted); font: 12px/18px var(--mono); white-space: nowrap; }
.menu .check { padding: 6px 10px; }

/* info tips */
.tip { position: relative; display: inline-flex; }
.tip [role=tooltip] { display: none; position: absolute; top: calc(100% + 6px); left: -8px; z-index: 20; width: 340px; max-width: calc(100vw - 32px); padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; box-shadow: var(--pop); font: 400 13px/20px var(--sans); color: var(--ink); }
.tip:hover [role=tooltip], .tip:focus-within [role=tooltip] { display: block; }
.tip [role=tooltip] p + p { margin-top: 8px; }

/* lists: rows under a rule, hairlines between */
.rows { display: grid; column-gap: 16px; border-top: 1px solid var(--rule); }
.rows > * { grid-column: 1 / -1; }
.rh, .r { display: grid; grid-template-columns: subgrid; align-items: center; }
.rh { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 20px; font-weight: 600; color: var(--muted); }
.r { padding: 14px 0; border-bottom: 1px solid var(--line); }
.r.off { color: var(--muted); }
.r.off .name strong { text-decoration: line-through; font-weight: 400; }
.r + .panel { margin: 12px 0 14px; }
.name { display: flex; flex-direction: column; min-width: 0; }
.name .mono { color: var(--muted); overflow-wrap: anywhere; }
.cell { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.end { display: flex; gap: 6px; justify-content: flex-end; align-items: center; flex-wrap: wrap; }
.rows.svc { grid-template-columns: minmax(140px, 1fr) minmax(200px, 2fr) auto; }
.rows.keys { grid-template-columns: minmax(120px, 1.2fr) minmax(90px, .8fr) minmax(140px, 1.6fr) 100px 120px minmax(200px, auto); }
.rows.toks { grid-template-columns: minmax(120px, 1.3fr) minmax(110px, 1fr) 100px 130px 80px auto; }
.rows.envs { grid-template-columns: minmax(140px, 1fr) minmax(140px, 1fr) auto; }
.rows.mem { grid-template-columns: minmax(150px, 1.5fr) 110px auto auto; }
.rows.inv { grid-template-columns: minmax(150px, 1.5fr) 100px 150px auto; }
.rows.apik { grid-template-columns: minmax(140px, 1.4fr) minmax(110px, 1.2fr) 100px 130px 80px auto; }
.rows.accts { grid-template-columns: minmax(160px, 1fr) 100px auto; }
.rows.clis { grid-template-columns: minmax(140px, 1.4fr) minmax(100px, 1fr) 130px 130px auto; }
.rows.kv { grid-template-columns: 200px minmax(0, 1fr); }
.rows.kv .r { padding: 10px 0; }

/* the catalog */
.filter { position: relative; max-width: 360px; }
.filter .i { position: absolute; left: 10px; top: 10px; color: var(--muted); pointer-events: none; }
.filter .input { padding-left: 34px; }
html:not(.js) .filter { display: none; }
.cats { display: flex; flex-direction: column; gap: 14px; }
.cat { display: flex; flex-direction: column; gap: 8px; }
.cat > .mono { color: var(--muted); }
.cat .chips { gap: 8px; }
.cat .btn { font-weight: 400; }
.cat .btn .i { color: var(--muted); }

/* getting started */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--rule); }
.step.later { border-top-color: var(--line); }
.step.later strong, .step.later .num { color: var(--muted); }
.step > div { display: flex; align-items: center; gap: 8px; }
.num { display: inline-grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--strong); border-radius: 2px; font: 500 15px/1 var(--serif); }
.step.done .num { background: var(--good); border-color: var(--good); color: var(--ground); }
.step .small { color: var(--muted); }

/* usage */
.bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.seg { display: inline-flex; max-width: 100%; overflow-x: auto; border: 1px solid var(--strong); border-radius: 2px; }
.seg a { padding: 6px 12px; font-size: 13px; line-height: 20px; color: var(--muted); text-decoration: none; border-left: 1px solid var(--line); white-space: nowrap; }
.seg a:first-child { border-left: 0; }
.seg a:hover { color: var(--ink); }
.seg a.on { background: var(--tint); color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--ink); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.kpi { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; border-top: 1px solid var(--rule); min-width: 0; }
.kpi > span:first-child { font-weight: 600; color: var(--muted); }
.kpi .fig { font: 500 36px/40px var(--serif); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.chart { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px; }
.chart .y { position: relative; height: 180px; color: var(--muted); text-align: right; }
.chart .y span { position: absolute; right: 0; transform: translateY(-50%); }
.chart .y span:nth-child(1) { top: 0; } .chart .y span:nth-child(2) { top: 50%; } .chart .y span:nth-child(3) { top: 100%; }
.plot { position: relative; height: 180px; border-bottom: 1px solid var(--rule); }
.plot .gl { position: absolute; left: 0; right: 0; border-top: 1px solid var(--grid); }
.bars { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: var(--gap, 4px); }
.bars > div { flex: 1; min-width: 1px; height: 100%; display: flex; align-items: flex-end; }
.bars > div > span { display: block; width: 100%; background: var(--soft); }
.bars > div:last-child > span { background: var(--ink); }
.bars > div:hover > span { background: var(--muted); }
.x { display: flex; justify-content: space-between; color: var(--muted); }
.x span:last-child { color: var(--ink); }
.tbl { overflow-x: auto; border-top: 1px solid var(--rule); }
.tbl table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.tbl th { background: var(--sunk); text-align: right; padding: 8px 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tbl td { text-align: right; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl th:first-child, .tbl td:first-child { text-align: left; position: sticky; left: 0; background: var(--ground); }
.tbl th:first-child { background: var(--sunk); }
.tbl tr.total td { border-top: 1px solid var(--rule); border-bottom: 0; font-weight: 600; }

/* setup */
.prose { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.prose h2 { margin-top: 8px; }
.prose .well { max-width: none; }

/* the sign-in and CLI pages: one column, no sidebar */
.solo-top { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 16px; border-bottom: 2px solid var(--rule); }
.solo-top .mark { padding: 0; font-size: 22px; line-height: 28px; }
.solo { max-width: 460px; margin: 0 auto; padding: 40px 20px 64px; display: flex; flex-direction: column; gap: 20px; }
.solo.wide { max-width: 640px; }
.solo .lede { display: flex; flex-direction: column; gap: 4px; }
.code { padding: 18px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--line); text-align: center; font: 400 34px/40px var(--mono); letter-spacing: .14em; overflow-wrap: anywhere; }
.dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; margin: 0; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; overflow-wrap: anywhere; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pair .btn { width: 100%; }
.solo .pick > summary { width: 100%; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* the confirmation dialog */
dialog.ask { width: calc(100% - 32px); max-width: 420px; padding: 20px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--ink); box-shadow: var(--pop); }
dialog.ask::backdrop { background: var(--scrim); }
dialog.ask p { margin: 0 0 18px; overflow-wrap: anywhere; }
dialog.ask .actions { justify-content: flex-end; }

/* the toast: what a change did, from the top; it leaves by itself */
.toast { position: fixed; top: 16px; left: 50%; z-index: 50; display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100vw - 32px); padding: 10px 10px 10px 14px; background: var(--ink); color: var(--on); border-radius: 4px; box-shadow: var(--pop); transform: translateX(-50%); animation: toast-out .2s ease-in 6s forwards; }
.toast > .i { color: var(--on); }
.toast > span { overflow-wrap: anywhere; }
.toast .ib { width: 28px; height: 28px; color: var(--on); opacity: .7; }
.toast .ib:hover { background: transparent; color: var(--on); opacity: 1; }
.toast:hover, .toast:focus-within { animation-play-state: paused; }
html:not(.js) .toast .ib { display: none; }
@keyframes toast-out { to { opacity: 0; visibility: hidden; } }

/* micro-motion, only for those who haven't asked for less */
@media (prefers-reduced-motion: no-preference) {
  .btn, .ib, .nav a, .opt, .mi, .tabs a, .seg a, .chip { transition: background-color .12s cubic-bezier(.2,.7,.2,1), color .12s cubic-bezier(.2,.7,.2,1), border-color .12s cubic-bezier(.2,.7,.2,1), opacity .12s; }
  .btn:active:not(:disabled), .ib:active { transform: translateY(1px); }
  .pick > summary .i, .panel details.more > summary .i { transition: transform .16s cubic-bezier(.2,.7,.2,1); }
  .pick[open] > summary .i { transform: rotate(180deg); }
  .list, .menu, .tip [role=tooltip] { animation: pop .14s cubic-bezier(.2,.7,.2,1); transform-origin: top; }
  .panel.open, .panel:target { animation: drop .18s cubic-bezier(.2,.7,.2,1); }
  .toast { animation: toast-in .24s cubic-bezier(.2,.7,.2,1), toast-out .24s ease-in 6s forwards; }
  .toast.out { animation: toast-leave .16s ease-in forwards; }
  dialog.ask[open] { animation: pop .16s cubic-bezier(.2,.7,.2,1); }
  dialog.ask[open]::backdrop { animation: fade .16s ease-out; }
  html.js body.nav-open .side { animation: drop .18s cubic-bezier(.2,.7,.2,1); }
  .bars > div > span { transform-origin: bottom; animation: grow .4s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
  @keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
  @keyframes fade { from { opacity: 0; } }
  @keyframes grow { from { transform: scaleY(0); } }
  @keyframes toast-in { from { opacity: 0; transform: translate(-50%, -16px); } }
  @keyframes toast-out { to { opacity: 0; visibility: hidden; transform: translate(-50%, -16px); } }
  @keyframes toast-leave { to { opacity: 0; transform: translate(-50%, -16px); } }
}

@media (max-width: 1100px) {
  .rows.keys { grid-template-columns: minmax(120px, 1fr) minmax(90px, .7fr) minmax(140px, 1.4fr) 100px minmax(200px, auto); }
  .rows.keys .set { display: none; }
}
/* narrower windows keep the keys in one aligned table: actions as icons,
   then (below 900px) limits left to the Edit panel and a narrower gutter */
@media (min-width: 761px) and (max-width: 1040px) {
  .rows.keys { column-gap: 12px; grid-template-columns: minmax(90px, 1fr) max-content minmax(100px, 1.3fr) 90px max-content; }
  .rows.keys .end > .btn, .rows.keys .end > details > summary.btn { font-size: 0; gap: 0; width: 36px; padding: 0; justify-content: center; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .page { --px: 24px; }
  .rows.keys { grid-template-columns: minmax(90px, 1fr) max-content minmax(100px, 1.3fr) max-content; }
  .rows.keys .lim { display: none; }
}
}
@media (max-width: 900px) {
  .steps, .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .shell { display: block; }
  .top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 16px; background: var(--ground); border-bottom: 2px solid var(--rule); }
  .top .mark { padding: 0; font-size: 22px; line-height: 28px; }
  .top .acctname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
  html:not(.js) .top .ib { display: none; }
  .side { position: static; height: auto; padding: 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .side > .mark { display: none; }
  html.js .side { display: none; }
  html.js body.nav-open .side { display: flex; border-bottom: 0; min-height: calc(100vh - 58px); }
  html.js body.nav-open main { display: none; }
  .nav a { min-height: 44px; font-size: 15px; }
  main { padding: 0 0 48px; }
  .page { --pt: 20px; --px: 16px; gap: 22px; }
  .page > .topbar { position: static; padding-block: 6px; }
  html { scroll-padding-top: 72px; }
  .crumbs .c { max-width: 8rem; }
  .topbar .in { column-gap: 8px; }
  .crumbs { gap: 6px; }
  .btn, .input, .pick > summary { height: 44px; }
  .btn.sm, .pick.sm > summary { height: 40px; }
  .ib { width: 44px; height: 44px; }
  .topbar .lbl { display: none; }
  .topbar .actions { flex-wrap: nowrap; }
  .topbar .actions .btn:not(.p) { font-size: 0; gap: 0; width: 44px; padding: 0; }
  .rh { display: none; }
  .on-phone { display: inline; }
  .rows .r { position: relative; }
  .rows .r > .name { padding-right: 48px; }
  .rows .r > .end > details.dd:last-child:not(:first-child):has(> summary.ib), .rows .r > .end:has(> details.dd:only-child > summary.ib) { position: absolute; top: 4px; right: -6px; }
  .rows .r > .end > details.dd:not(:has(> summary.ib)) .menu { left: 0; right: auto; }
  .rows { display: block; }
  .rows .r { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
  .rows .r > .name, .rows .r > .end, .rows .r > form.cell, .rows.svc .r > .cell { flex-basis: 100%; }
  .rows.kv .r { display: flex; flex-direction: column; align-items: flex-start; }
  .end { justify-content: flex-start; }
  .r .hide-sm { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .kpis { gap: 16px; }
  .kpi .fig { font-size: 28px; line-height: 34px; }
  .menu { min-width: 240px; }
  .solo { padding-top: 28px; }
}
