/* Fluid's site, signed in (10_CONSOLE.md "A site's own look"; site.js).

   Every rule here is under :root[data-site="fluid"], which theme.js sets on Fluid's site before the first paint, so
   no other site reads any of it. The sign-in page, the pages of one card and the 404 have their own rules
   (styles.css, pages/signin.css): these are the signed-in console's.

   The shape: the bar and the nav stand on the site's ground, and a page is one sheet in the middle of what is left,
   never wider than --sheet-w, with the ground either side of it. What is pressed first is in ink, as on every site,
   and so is what is chosen (the place shown, a tab, a choice of several). The site's one accent (--fluid) is Fluid
   Compute's own line and the ring the keyboard's place wears; green marks what runs. A cloud keeps its own hue,
   where a workspace has clouds of its own. */

:root[data-site="fluid"] {
  --fluid: #1f5eff;
  --fluid-hover: #1a4fd8;
  --on-fluid: #ffffff;
  --fluid-wash: rgb(31 94 255 / .08);
  --go: #12804a;
  --sheet-w: 1180px;
  --sheet-pad: 32px;
  --radius-sheet: 14px;
  /* Fluid Compute's own line wears the site's accent, where every cloud wears its hue */
  --p-fluid: var(--fluid);
  --pq-fluid: color-mix(in oklab, var(--fluid) 55%, var(--edge));
}
:root[data-site="fluid"][data-theme="dark"] {
  --fluid: #7ea2ff; --fluid-hover: #9bb7ff; --on-fluid: #0b1020; --fluid-wash: rgb(126 162 255 / .14); --go: #46c08a;
}
@media (prefers-color-scheme: dark) {
  :root[data-site="fluid"]:not([data-theme="light"]) {
    --fluid: #7ea2ff; --fluid-hover: #9bb7ff; --on-fluid: #0b1020; --fluid-wash: rgb(126 162 255 / .14); --go: #46c08a;
  }
}

/* ---------------------------------------------------------------- the shell */

:root[data-site="fluid"]:not([data-signed-out]), :root[data-site="fluid"]:not([data-signed-out]) body { background: var(--ground); }
:root[data-site="fluid"]:not([data-signed-out]) .topbar { background: var(--ground); }
:root[data-site="fluid"]:not([data-signed-out]) .nav { background: var(--ground); border-right-color: transparent; }
/* The frame. A page's sheet is one box: it stands under the bar, a gutter from the nav and the window's edges, and
   it is as tall as the window leaves it, whatever it holds. So it is the same box while a page waits, when it has
   nothing to show and when it is full, and the same box from one page to the next: nothing a person looks at moves
   when a page's state changes. A page longer than the window grows down, and the page scrolls. */
:root[data-site="fluid"]:not([data-signed-out]) .shell { min-height: calc(100dvh / var(--text-zoom, 1)); }
:root[data-site="fluid"]:not([data-signed-out]) .content { display: flex; flex-direction: column; padding: 28px var(--gutter) 28px; }
:root[data-site="fluid"]:not([data-signed-out]) .content > .page { flex: none; }
:root[data-site="fluid"]:not([data-signed-out]) .shell-notice { border-bottom: 0; }
:root[data-site="fluid"]:not([data-signed-out]) .shell-notice > .notice { max-width: var(--sheet-w); margin-inline: auto; }

/* The nav's own control, Collapse or Keep open, is at the nav's foot, beside the version, as on every site: its
   glyph and its word, and its glyph alone on the rail. Nothing of it is in the bar, which begins with the mark. */
@media (min-width: 900px) { :root[data-site="fluid"]:not([data-signed-out]) .topbar { padding-left: 18px; } }

/* the place shown: a chip of the page's colour on the ground, its glyph in ink; no rule on the nav's edge */
:root[data-site="fluid"] .nav-item { border-radius: 8px; }
@media (hover: hover) { :root[data-site="fluid"] .nav-item:hover { background: var(--wash); } }
:root[data-site="fluid"] .nav-item[aria-current="page"] { background: var(--paper); box-shadow: 0 0 0 1px var(--rule), 0 1px 2px rgb(0 0 0 / .04); }
:root[data-site="fluid"] .nav-item[aria-current="page"]::before { display: none; }

/* What is pressed first is ink on paper, as on every site and on this site's own sign-in card (styles.css
   .btn-primary): the owner did not want it in the accent (2026-11-30). Pressed, it gives a little. */
:root[data-site="fluid"] .btn-primary:not(:disabled):active { background: color-mix(in srgb, var(--ink) 76%, var(--paper)); border-color: transparent; }
:root[data-site="fluid"] .btn, :root[data-site="fluid"] .icon-btn { border-radius: 8px; }
:root[data-site="fluid"] :focus-visible { outline-color: var(--fluid); }
/* the balance in the bar: the figure alone, on a chip of the page's colour */
:root[data-site="fluid"]:not([data-signed-out]) .topbar-balance {
  display: inline-flex; align-items: baseline; gap: 6px; height: 30px; padding: 0 12px; border-radius: 99px;
  background: var(--paper); box-shadow: 0 0 0 1px var(--rule); line-height: 30px; text-decoration: none;
}
:root[data-site="fluid"]:not([data-signed-out]) .topbar-balance[hidden] { display: none; }
/* its figure's place, while the balance is read for the first time (app.js renderBalance) */
:root[data-site="fluid"] .balance-bone { display: inline-block; width: 50px; height: 11px; align-self: center; }
:root[data-site="fluid"] .topbar-balance .fig { display: inline-block; }
/* under 900px the bar has no room for it: the balance is at the foot of the nav's drawer there, as on every site
   (styles.css), where this site's rule above had brought it back into the bar and pushed the account off its end */
@media (max-width: 899px) { :root[data-site="fluid"]:not([data-signed-out]) .topbar-balance { display: none; } }

/* The operators' page is apart from the console (app.js route sets data-apart for #/admin; <console>/admin leads
   there): the whole screen, with no nav, no workspace, no Set up and no balance. The mark in the bar is the way back
   to the console, and the breadcrumb says Admin. */
:root[data-site="fluid"][data-apart]:not([data-signed-out]) .shell {
  grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "notices" "main";
}
:root[data-site="fluid"][data-apart]:not([data-signed-out]) :is(.nav, .scrim, .topbar .menu-btn,
  .topbar-actions, .topbar-balance) { display: none; }
@media (min-width: 900px) { :root[data-site="fluid"][data-apart]:not([data-signed-out]) .topbar { padding-left: 18px; } }

/* ---------------------------------------------------------------- a page is one sheet in the middle */

:root[data-site="fluid"]:not([data-signed-out]) .content > .page:is([data-page="runs"], [data-page="run"], [data-page="usage"],
  [data-page="machines"], [data-page="connections"], [data-page="settings"], [data-page="billing"], [data-page="developers"],
  [data-page="chips"], [data-page="connect"], [data-page="admin"], [data-page="none"]) {
  flex: 1 0 auto; width: 100%; max-width: var(--sheet-w); margin-inline: auto;
  padding: 28px var(--sheet-pad) 36px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-sheet);
  box-shadow: 0 1px 2px rgb(0 0 0 / .03);
}
/* the operators' page is tables wider than a column: its sheet takes the room there is */
:root[data-site="fluid"]:not([data-signed-out]) .content > .page[data-page="admin"] { max-width: none; }
/* in the dark the ground is the page's colour and the sheet a step lighter: what stands on the sheet reads the
   sheet's colour as its paper, and its washes a step lighter again */
:root[data-site="fluid"][data-theme="dark"]:not([data-signed-out]) .content > .page {
  --paper: #17181b; --paper-2: #1f2024; --paper-3: #27282d; --raised: #1f2024;
}
@media (prefers-color-scheme: dark) {
  :root[data-site="fluid"]:not([data-theme="light"]):not([data-signed-out]) .content > .page {
    --paper: #17181b; --paper-2: #1f2024; --paper-3: #27282d; --raised: #1f2024;
  }
}
/* a section opens on a hairline, not on a rule of ink: the sheet is the frame */
:root[data-site="fluid"] .panel { border-top-color: var(--rule); }
:root[data-site="fluid"] .table th { border-bottom-color: var(--rule-2); }
@media (max-width: 899px) {
  :root[data-site="fluid"]:not([data-signed-out]) .content { padding: 12px 12px 12px; }
  :root[data-site="fluid"] { --sheet-pad: 18px; }
}

/* ---------------------------------------------------------------- Jobs */

/* the head: the title, and under it what runs now; what a workspace's own clouds saved at the right, where it has any */
:root[data-site="fluid"] .page[data-page="runs"] .runs-head { grid-template-areas: "title reckon" "live reckon" "ledger reckon"; grid-template-rows: auto auto 1fr; gap: 6px 48px; }
:root[data-site="fluid"] .jobs-live { grid-area: live; display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 14px; min-height: 22px; }
/* (the line keeps its room while it says nothing: the page under it never moves when what runs now is read) */
/* a workspace with no job yet says so in the sheet's middle, as every page with nothing on it does: the steps
   every other site lists there keep their column's width (runs.css), which this blank does not */
:root[data-site="fluid"] .page[data-page="runs"] .runs-start { max-width: none; }
:root[data-site="fluid"] .jobs-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 3px color-mix(in oklab, var(--go) 18%, transparent); }
:root[data-site="fluid"] .jobs-live-dot.off { background: var(--ink-4); box-shadow: none; }
:root[data-site="fluid"] .jobs-live-rate { color: var(--ink); font-weight: 600; }
:root[data-site="fluid"] .jobs-live-rate::before { content: "\00b7"; margin-right: 8px; color: var(--ink-4); font-weight: 400; }
/* a workspace that is Fluid Compute's alone reads nothing of clouds: no saving, no key to their lines */
:root[data-site="fluid"] .page[data-page="runs"][data-own="0"] :is(.runs-reckon, .runs-key) { display: none; }

/* the list: a name over its project, the GPU, where; one line a job */
:root[data-site="fluid"] .page[data-page="runs"] .runs-table td { height: 52px; }
:root[data-site="fluid"] .jobs-name { display: grid; gap: 1px; min-width: 0; }
:root[data-site="fluid"] .page[data-page="runs"] .jobs-name .runs-name { max-width: 260px; }
:root[data-site="fluid"] .jobs-project { display: block; max-width: 260px; color: var(--ink-3); font-size: 12.5px; font-weight: 400; line-height: 1.3; }
:root[data-site="fluid"] .jobs-gpu { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 220px; font-weight: 550; color: var(--ink); }
:root[data-site="fluid"] .jobs-gpu.jobs-own { font-weight: 450; color: var(--ink-2); }
:root[data-site="fluid"] .jobs-region { color: var(--ink-2); }
:root[data-site="fluid"] .page[data-page="runs"] .runs-table td.col-path { width: 104px; }
/* The jobs' columns are set, never read from the rows: a list that grows (Show all, a filter lifted, a job that
   starts) moves no column and never makes the table wider than its sheet, so nothing a row says turns the table
   into a region that scrolls by itself. The money, the dates, the region and the path have their widths; the name
   and the machine a share of the table; the state what is left. An amount under a cent is said to the millionth
   ("$0.001859"), and the money's columns have room for one. A name, a state's words, a machine and a region
   that do not fit are cut with an ellipsis (each has its title). The table's least width says when it no longer
   fits: with its runtime in a column of its own it needs more than the sheet where a workspace has clouds of its
   own, so there the runtime stands under the date (runs.js folds it), as it did. A phone reads the table as a list
   (runs.css), where none of this applies. */
@media (min-width: 600px) {
  :root[data-site="fluid"] .page[data-page="runs"] .runs-table .table { table-layout: fixed; min-width: 1200px; }
  :root[data-site="fluid"] .page[data-page="runs"] .runs-table[data-fold] .table { min-width: 1070px; }
  :root[data-site="fluid"] .page[data-page="runs"][data-own="0"] .runs-table .table { min-width: 900px; }
  :root[data-site="fluid"] .page[data-page="runs"][data-own="0"] .runs-table[data-fold] .table { min-width: 760px; }
  /* The runtime folded under the date keeps its column, at no width: a group's row spans every column the table
     was built with, and a column taken out of the table (display: none, as on every site) would leave that row one
     column wider than the head, which a table of set columns draws as an empty column at its end. */
  :root[data-site="fluid"] .page[data-page="runs"] .runs-table[data-fold] :is(th, td).col-runtime {
    display: table-cell; width: 0; padding: 0; border-left: 0; border-right: 0; overflow: hidden; visibility: hidden;
  }
  :root[data-site="fluid"] .page[data-page="runs"] .runs-table[data-fold] :is(th, td).col-runtime > * { display: none; }
  :root[data-site="fluid"] .page[data-page="runs"] .runs-table th.col-name { width: 14%; }
  :root[data-site="fluid"] .page[data-page="runs"] .runs-table th.col-gpu { width: 17%; }
  :root[data-site="fluid"] .page[data-page="runs"][data-own="0"] .runs-table th.col-name { width: 20%; }
  :root[data-site="fluid"] .page[data-page="runs"][data-own="0"] .runs-table th.col-gpu { width: 20%; }
  :root[data-site="fluid"] .page[data-page="runs"] .runs-table th.col-region { width: 100px; }
  :root[data-site="fluid"] .page[data-page="runs"] .runs-table th.col-path { width: 128px; }
  :root[data-site="fluid"] .page[data-page="runs"] .runs-table th.col-runtime { width: 88px; }
  :root[data-site="fluid"] .page[data-page="runs"] .runs-table th.col-cost { width: 86px; }
  :root[data-site="fluid"] .page[data-page="runs"] .runs-table th.col-saved { width: 126px; }
  :root[data-site="fluid"] .page[data-page="runs"] .runs-table th.col-created { width: 108px; }
  :root[data-site="fluid"] .page[data-page="runs"] .runs-table th.col-actions { width: 36px; }
  :root[data-site="fluid"] .page[data-page="runs"] .runs-table .runs-state { display: flex; min-width: 0; }
  :root[data-site="fluid"] .page[data-page="runs"] .runs-table .runs-state > .badge { flex: none; }
  :root[data-site="fluid"] .page[data-page="runs"] .runs-table .runs-prog { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  :root[data-site="fluid"] .page[data-page="runs"] .runs-table .jobs-gpu { display: flex; max-width: 100%; }
  :root[data-site="fluid"] .page[data-page="runs"] .runs-table .jobs-gpu > .truncate { min-width: 0; }
  :root[data-site="fluid"] .page[data-page="runs"] .runs-table .jobs-region { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  :root[data-site="fluid"] .page[data-page="runs"] .runs-table :is(.jobs-name .runs-name, .jobs-project) { max-width: 100%; }
}
:root[data-site="fluid"] .page[data-page="runs"] .runs-table :is(td, th).col-cost,
:root[data-site="fluid"] .page[data-page="runs"] .runs-table :is(td, th).col-saved { padding-right: 12px; }
:root[data-site="fluid"] .page[data-page="runs"] .runs-share { font-size: 12.5px; }
:root[data-site="fluid"] .page[data-page="runs"] .runs-saved { gap: 6px; }
/* the list's two parts: the jobs that go on, then the ones that ended */
:root[data-site="fluid"] .page[data-page="runs"] .table tr.group-row th { height: 40px; padding-top: 14px; border-bottom-color: var(--rule); background: none; }
:root[data-site="fluid"] .jobs-part { font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--ink-2); }
:root[data-site="fluid"] .page[data-page="runs"] .table tr.in-group > td:first-child { padding-left: 0; }
:root[data-site="fluid"] .page[data-page="runs"] .group-toggle .icon { margin-right: 6px; }
:root[data-site="fluid"] .jobs-more { justify-self: start; margin-top: 2px; font-size: 13.5px; color: var(--ink-2); }
/* a job that runs is green; one that waits or is held keeps its own mark */
:root[data-site="fluid"] .badge[data-tone="ok"][data-glyph="disc"] .glyph { color: var(--go); fill: var(--go); stroke: var(--go); }

/* ---------------------------------------------------------------- a job's page */

/* a compute job's figures, where another site draws its path: five in a row, each its word over its figure */
:root[data-site="fluid"] .job-facts {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 4px 0 2px;
  border: 1px solid var(--rule); border-radius: 12px; background: var(--paper-2); overflow: hidden;
}
/* its Overview does not say again what stands over the tabs */
:root[data-site="fluid"] .page[data-page="run"][data-compute] .run-block-record { display: none; }
:root[data-site="fluid"] .job-fact { display: grid; gap: 4px; padding: 14px 18px 15px; min-width: 0; }
:root[data-site="fluid"] .job-fact + .job-fact { border-left: 1px solid var(--rule); }
:root[data-site="fluid"] .job-fact dt { font-size: 12.5px; color: var(--ink-3); font-stretch: var(--label-stretch); white-space: nowrap; }
:root[data-site="fluid"] .job-fact dd { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
@media (max-width: 899px) {
  :root[data-site="fluid"] .job-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :root[data-site="fluid"] .job-fact + .job-fact { border-left: 0; }
  :root[data-site="fluid"] .job-fact { border-top: 1px solid var(--rule); }
  :root[data-site="fluid"] .job-fact:nth-child(-n+2) { border-top: 0; }
  :root[data-site="fluid"] .job-fact:nth-child(even) { border-left: 1px solid var(--rule); }
}

/* ---------------------------------------------------------------- Usage */

/* Fluid Compute's usage leads the page; what the workspace's own clouds cost stands under it, where it has any.
   Where Fluid Compute is not on the page (the gateway has it off, or it is not there for this person) the page is
   the workspace's own clouds alone, under no title of their own (usage.js `solo`). */
:root[data-site="fluid"] .page[data-page="usage"][data-own="0"] :is(.usage-figures, .usage-none, .usage-body, .query-caption, .page-actions, .usage-wait) { display: none; }
:root[data-site="fluid"] .usage-own-title { font-size: 15px; font-weight: 600; margin: 8px 0 -8px; }
:root[data-site="fluid"] .page[data-page="usage"]:is([data-own="0"], [data-solo], [data-blank]) .usage-own-title { display: none; }
/* a page with nothing on it yet is one thing (usage.js drawBlank): no part of it says again that it is empty */
:root[data-site="fluid"] .page[data-page="usage"][data-blank] :is(.usage-fluid, .usage-figures, .usage-none, .usage-body, .query-caption) { display: none; }
:root[data-site="fluid"] .page[data-page="usage"] .usage-fluid > .bones { gap: 0; }
:root[data-site="fluid"] .page[data-page="usage"] .usage-fluid > .bones > .bones-text { margin-top: 14px; padding-bottom: 4px; }
/* a read that failed is said once (usage.js drawFailed): in the page's middle where nothing else is drawn, with no
   part beside it, or as the own clouds' part where Fluid Compute's is, and not at all where the workspace has none */
:root[data-site="fluid"] .page[data-page="usage"][data-failed] :is(.usage-fluid, .usage-own-title, .usage-wait, .query-caption) { display: none; }
:root[data-site="fluid"] .page[data-page="usage"][data-own="0"] .usage-failed-home { display: none; }
/* the head is one height with or without the period's choice, so the page under it never moves when it comes */
:root[data-site="fluid"] .page[data-page="usage"] .page-head { min-height: 34px; }
:root[data-site="fluid"] .usage-fluid-figure { display: grid; gap: 2px; padding: 6px 0 18px; }
:root[data-site="fluid"] .usage-fluid-figure:empty { display: none; }
:root[data-site="fluid"] .page[data-page="usage"] .usage-fluid .table td { height: 52px; }
:root[data-site="fluid"] .page[data-page="usage"] .usage-fluid { border-top: 0; }
:root[data-site="fluid"] .usage-job { text-decoration: none; }
@media (hover: hover) { :root[data-site="fluid"] .usage-job:hover .usage-job-name { text-decoration: underline; text-underline-offset: 3px; } }
:root[data-site="fluid"] .usage-fluid-figure .fig { font-size: 28px; font-weight: 600; letter-spacing: -.015em; line-height: 1.15; }
:root[data-site="fluid"] .usage-fluid-figure .meta { font-size: 13px; }
:root[data-site="fluid"] .usage-job { display: grid; gap: 1px; min-width: 0; }
:root[data-site="fluid"] .usage-job-name { font-weight: 600; color: var(--ink); }
:root[data-site="fluid"] .usage-job-id { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }

/* ---------------------------------------------------------------- a page that waits: bones

   A page that waits for its first answer is drawn as the page it becomes (ui.js bones): its title, its tabs and its
   choices are there at once and real, and where its figures and rows will stand there are bones at their heights.
   Nothing moves when the answer arrives. The bones wait a beat before they show, so an answer that comes at once
   draws none, and they breathe slowly while they wait: nothing travels, nothing spins. */

:root[data-site="fluid"] {
  --bone: color-mix(in oklab, var(--ink) 9%, transparent);
  --in: 220ms;
  --in-ease: cubic-bezier(.2, .7, .2, 1);
}
:root[data-site="fluid"] .bones {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-content: start; min-width: 0;
  animation: bones-in 240ms ease-out 140ms backwards;
}
@keyframes bones-in { from { opacity: 0; } }
:root[data-site="fluid"] .bone {
  display: block; flex: none; height: 12px; max-width: 100%; border-radius: 6px; background: var(--bone);
  animation: bone-wait 1.25s ease-in-out var(--phase, 0ms) infinite alternate;
}
@keyframes bone-wait { from { opacity: 1; } to { opacity: .48; } }
/* a wait that cannot be answered now stands still: the line under it says why */
:root[data-site="fluid"] .bones[data-loading="unreachable"] .bone { animation: none; opacity: .6; }
:root[data-site="fluid"] .bone-line { height: 12px; }
:root[data-site="fluid"] .bone-sub { height: 10px; opacity: .7; }
:root[data-site="fluid"] .bone-label { height: 10px; width: 64px; }
:root[data-site="fluid"] .bone-value { height: 20px; width: 96px; border-radius: 7px; }
:root[data-site="fluid"] .bone-figure { height: 28px; width: 132px; border-radius: 8px; }
:root[data-site="fluid"] .bone-title { height: 15px; width: 128px; }
:root[data-site="fluid"] .bone-btn { height: 30px; width: 84px; border-radius: 8px; }
:root[data-site="fluid"] .bone-field { height: 32px; width: min(280px, 40%); border-radius: 8px; }
:root[data-site="fluid"] .bone-mark { height: 4px; width: 18px; border-radius: 99px; align-self: start; margin-top: 9px; }
:root[data-site="fluid"] .bone-tab { height: 12px; }

/* a section's title on its hairline, as a panel's head stands */
:root[data-site="fluid"] .bones-title { display: flex; align-items: center; min-height: 42px; padding: 12px 0 8px; border-top: 1px solid var(--rule); margin-bottom: -24px; }
/* the first figure of a page, over its caption (Usage's, Billing's) */
:root[data-site="fluid"] .bones-figure { display: grid; gap: 12px; padding: 8px 0 22px; }
:root[data-site="fluid"] .bones-figures { display: flex; flex-wrap: wrap; gap: 18px 48px; padding: 2px 0; }
:root[data-site="fluid"] .bones-tile { display: grid; gap: 10px; }
:root[data-site="fluid"] .bones-facts {
  display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); border: 1px solid var(--rule);
  border-radius: 12px; background: var(--paper-2); overflow: hidden;
}
:root[data-site="fluid"] .bones-fact { display: grid; gap: 11px; padding: 18px 18px 17px; }
:root[data-site="fluid"] .bones-fact + .bones-fact { border-left: 1px solid var(--rule); }
/* a table: its head, then its rows, each as tall as a row is */
:root[data-site="fluid"] .bones-table { display: grid; }
:root[data-site="fluid"] .bones-row {
  display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(calc(var(--cols) - 1), minmax(0, 1fr));
  align-items: center; height: 40px; border-bottom: 1px solid var(--rule);
}
:root[data-site="fluid"] .bones-table[data-tall] .bones-row { height: 52px; }
:root[data-site="fluid"] .bones-table .bones-row.bones-head { height: 34px; align-items: end; padding-bottom: 11px; border-bottom-color: var(--rule-2); }
:root[data-site="fluid"] .bones-row:last-child { border-bottom: 0; }
:root[data-site="fluid"] .bones-col { display: grid; gap: 7px; min-width: 0; padding: 0 12px; }
:root[data-site="fluid"] .bones-col.bones-first { padding-left: 0; }
:root[data-site="fluid"] .bones-col.bones-num { justify-items: end; }
:root[data-site="fluid"] .bones-col:last-child { padding-right: 0; }
/* a list: a mark, a name over a line, and its control at the end */
/* (one column that can shrink: a row's bones are as wide as their words will be, and a phone's column is narrower) */
:root[data-site="fluid"] .bones-list { display: grid; grid-template-columns: minmax(0, 1fr); }
:root[data-site="fluid"] .bones-item { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 60px; border-bottom: 1px solid var(--rule); }
:root[data-site="fluid"] .bones-item:last-child { border-bottom: 0; }
:root[data-site="fluid"] .bones-item-words { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; flex: 1; min-width: 0; }
:root[data-site="fluid"] .bones-item-words > .bone { max-width: 100%; }
:root[data-site="fluid"] .bones-form { display: grid; }
:root[data-site="fluid"] .bones-setting { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; border-bottom: 1px solid var(--rule); }
:root[data-site="fluid"] .bones-setting:last-child { border-bottom: 0; }
:root[data-site="fluid"] .bones-text { display: grid; gap: 10px; max-width: 560px; }
:root[data-site="fluid"] .bones-chart { display: flex; align-items: flex-end; gap: 10px; height: 220px; padding: 12px 0 0; border-bottom: 1px solid var(--rule); }
:root[data-site="fluid"] .bone-bar { flex: 1; min-width: 0; border-radius: 4px 4px 0 0; }
:root[data-site="fluid"] .bones-bar { display: flex; align-items: center; gap: 22px; height: 32px; overflow: hidden; }
:root[data-site="fluid"] .bones-bar > .bone-field { width: min(260px, 46%); margin-right: 6px; }
:root[data-site="fluid"] .bones-headline { display: flex; align-items: center; gap: 16px; height: 24px; }
:root[data-site="fluid"] .bone-headline { height: 24px; width: min(240px, 50%); border-radius: 8px; }
/* a list's toolbar stands close over its table, as the two do in the page (styles.css .list-block) */
:root[data-site="fluid"] .bones-bar + .bones-table, :root[data-site="fluid"] .bones-bar + .bones-keys,
:root[data-site="fluid"] .bones-keys + .bones-table { margin-top: -12px; }
:root[data-site="fluid"] .bones-keys { display: flex; align-items: center; justify-content: flex-end; gap: 18px; height: 26px; overflow: hidden; }
:root[data-site="fluid"] .bones-table .bones-row.bones-group { display: flex; align-items: flex-end; height: 45px; padding-bottom: 13px; }
:root[data-site="fluid"] .bones-tabs { display: flex; align-items: center; gap: 22px; height: 36px; border-bottom: 1px solid var(--rule); }
:root[data-site="fluid"] .bones-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
:root[data-site="fluid"] .bones-card { display: grid; gap: 14px; align-content: start; min-height: 132px; padding: 18px; border: 1px solid var(--rule); border-radius: 12px; }
/* what a long wait says, under its bones: one quiet line, there only once it has something to say */
:root[data-site="fluid"] .bones-said { order: 99; display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 12.5px; line-height: 20px; animation: part-in var(--in) var(--in-ease) backwards; }
:root[data-site="fluid"] .bones-said:empty { display: none; }
:root[data-site="fluid"] .bones[data-loading="unreachable"] .bones-said { color: var(--ink-2); }
:root[data-site="fluid"] .bones-said .glyph { color: var(--warn); fill: none; stroke: currentColor; }
@media (max-width: 599px) {
  :root[data-site="fluid"] .bones-row { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  :root[data-site="fluid"] .bones-row > .bones-col:nth-child(n+3) { display: none; }
  :root[data-site="fluid"] .bones-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :root[data-site="fluid"] .bones-fact + .bones-fact { border-left: 0; }
  :root[data-site="fluid"] .bones-fact:nth-child(even) { border-left: 1px solid var(--rule); }
  :root[data-site="fluid"] .bones-fact:nth-child(n+3) { border-top: 1px solid var(--rule); }
  :root[data-site="fluid"] .bones-chart { height: 160px; gap: 6px; }
  :root[data-site="fluid"] .bone-field { width: 96px; }
}

/* ---------------------------------------------------------------- a page with nothing on it yet, and a read that failed

   One shape for both (ui.js blank, readFailed): the place's mark, a title, one sentence and the one way on, in the
   middle of the room the sheet has under the page's head. A part of a page that is empty keeps its one sentence on
   the grid's edge, as on every site. */

:root[data-site="fluid"] .blank {
  display: grid; justify-items: center; align-content: center; gap: 6px; min-width: 0;
  min-height: clamp(280px, calc(100dvh / var(--text-zoom, 1) - 380px), 520px); padding: 16px 16px 56px; text-align: center;
}
:root[data-site="fluid"] .blank-mark {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 12px;
  background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink-2);
}
:root[data-site="fluid"] .blank-title { font-size: 17px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; text-wrap: balance; }
:root[data-site="fluid"] .blank-body { max-width: 46ch; color: var(--ink-2); font-size: 14px; line-height: 1.55; text-wrap: balance; }
:root[data-site="fluid"] .blank-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; margin-top: 16px; }
:root[data-site="fluid"] .blank-actions > a:not(.btn) { font-size: 13.5px; color: var(--ink-2); }
/* (a route nothing serves keeps its words on the grid's edge on every other site: here its blank takes the sheet's width) */
:root[data-site="fluid"] .page.not-found { justify-items: stretch; }
/* a part of a page: less room, the same shape */
:root[data-site="fluid"] .panel .blank, :root[data-site="fluid"] .blank[data-size="part"] { min-height: 220px; padding-bottom: 28px; }
/* it comes in from just under where it stands, its mark first */
:root[data-site="fluid"] .blank > * { animation: part-in 320ms var(--in-ease) backwards; }
:root[data-site="fluid"] .blank > :nth-child(2) { animation-delay: 40ms; }
:root[data-site="fluid"] .blank > :nth-child(3) { animation-delay: 80ms; }
:root[data-site="fluid"] .blank > :nth-child(n+4) { animation-delay: 120ms; }

/* a page's own read failed, with nothing to show: the same shape, the cross in the mark's place */
:root[data-site="fluid"] .page > .read-failed:not([hidden]) {
  display: grid; justify-items: center; align-content: center; gap: 6px;
  min-height: clamp(280px, calc(100dvh / var(--text-zoom, 1) - 380px), 520px); padding: 16px 16px 56px; text-align: center;
}
:root[data-site="fluid"] .page > .read-failed .read-failed-said {
  display: grid; justify-items: center; gap: 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3;
  max-width: 44ch; text-wrap: balance;
}
:root[data-site="fluid"] .page > .read-failed .read-failed-said > .glyph {
  box-sizing: content-box; width: 12px; height: 12px; padding: 16px; margin-bottom: 12px; border-radius: 12px; transform: none;
  background: color-mix(in oklab, var(--bad) 7%, var(--paper)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--bad) 22%, var(--rule));
}
:root[data-site="fluid"] .page > .read-failed .read-failed-again { display: block; margin-top: 6px; color: var(--ink-2); font-size: 14px; font-weight: 400; letter-spacing: 0; line-height: 1.55; }
:root[data-site="fluid"] .page > .read-failed .read-failed-why { padding-left: 0; max-width: 56ch; color: var(--ink-3); font-size: 13px; }
:root[data-site="fluid"] .page > .read-failed .read-failed-actions { justify-content: center; padding-left: 0; margin-top: 16px; }
:root[data-site="fluid"] .page > .read-failed > * { animation: part-in 320ms var(--in-ease) backwards; }
:root[data-site="fluid"] .page > .read-failed > :nth-child(2) { animation-delay: 40ms; }
:root[data-site="fluid"] .page > .read-failed > :nth-child(n+3) { animation-delay: 80ms; }

/* ---------------------------------------------------------------- motion

   Quick and quiet, and never in a person's way: nothing here delays a press or holds back what can be read.
   - A page comes in: its parts fade in where they stand, one after another (app.js marks the page for a moment).
     The sheet is the same box on every page, so it reads as one sheet whose contents change.
   - What arrives takes its bones' place by fading in, in place (ui.js arrive).
   - A figure that changes settles: it comes up a hair as it changes (ui.js settle).
   - A row that is new in a live list wears a wash that fades (ui.js appear).
   Each is an animation that fills backwards only: once it has run nothing of it is left on the element. With
   reduced motion none runs (styles.css), and every state is drawn at once as it ends. */

@keyframes part-in { from { opacity: 0; transform: translateY(5px); } }
@keyframes fade-in { from { opacity: 0; } }
:root[data-site="fluid"] .content > .page[data-enter] > * { animation: part-in var(--in) var(--in-ease) backwards; }
:root[data-site="fluid"] .content > .page[data-enter] > :nth-child(2) { animation-delay: 30ms; }
:root[data-site="fluid"] .content > .page[data-enter] > :nth-child(3) { animation-delay: 60ms; }
:root[data-site="fluid"] .content > .page[data-enter] > :nth-child(n+4) { animation-delay: 90ms; }
/* (the bones keep their own beat: a page that waits shows its head at once and its bones a moment later) */
:root[data-site="fluid"] .content > .page[data-enter] > .bones { animation: bones-in 240ms ease-out 140ms backwards; }
:root[data-site="fluid"] [data-arrive] { animation: fade-in 280ms ease-out backwards; }
:root[data-site="fluid"] [data-settle] { animation: settle 360ms var(--in-ease) backwards; }
@keyframes settle { from { opacity: .25; transform: translateY(3px); } }
:root[data-site="fluid"] tr[data-appear] > td { animation: row-new 1500ms ease-out backwards; }
:root[data-site="fluid"] li[data-appear] { animation: row-new 1500ms ease-out backwards; }
@keyframes row-new { from { background-color: color-mix(in oklab, var(--ink) 7%, transparent); } }
/* the workspace's name in the nav, when the console moves to another */
:root[data-site="fluid"] #nav-workspace[data-moved] :is(.ws-mark, .nav-ws-name) { animation: part-in 260ms var(--in-ease) backwards; }
/* and the page it leaves steps back while the gateway is asked for the other (app.js switchWorkspace) */
:root[data-site="fluid"] .content[data-moving] > .page > * { opacity: .45; transition: opacity 160ms ease-out; }
/* a page that draws over the wait that stood for it: its bones do not come in again */
:root[data-site="fluid"] .content > .page[data-resumed] .bones { animation: none; }

/* ---------------------------------------------------------------- more kinds of bone (ui.js bonePart, tableWait)

   Added for Billing, Machines, the catalogue and Connections; each is a kind any page may use. */

/* a table that waits (ui.js tableWait): its own head, real, over rows of bones in its own columns */
:root[data-site="fluid"] .bones.bones-of-table { gap: 12px; }
/* (one whose list was empty a moment ago: two lines where its sentence will be, under its head where that shows) */
:root[data-site="fluid"] .bones.bones-of-table[data-none] { gap: 0; }
:root[data-site="fluid"] .bones-none { display: grid; gap: 12px; padding: 9px 0 20px; }
:root[data-site="fluid"] .table tr.bones-tr > td { background: none; }
:root[data-site="fluid"] .table tr.bones-tr .bones-td { display: block; width: var(--w); }
:root[data-site="fluid"] .table tr.bones-tr .bones-td > .bone-sub { display: none; margin-top: 9px; }
/* (a narrow screen: the columns that fold are read under the first column, a line each, and no column asks for more
   room than the screen has) */
@media (max-width: 599px) {
  :root[data-site="fluid"] .table tr.bones-tr .bones-td { width: min(var(--w), 34vw); }
  :root[data-site="fluid"] .table tr.bones-tr > td:not(:first-child) > .bones-td { width: min(var(--w), 15vw); }
  :root[data-site="fluid"] .table tr.bones-tr .bones-td > .bone-sub { display: block; }
  :root[data-site="fluid"] .table tr.bones-tr .bones-td:has(> .bone-sub) { width: 36vw; }
  :root[data-site="fluid"] .table tr.bones-tr > td:has(.bone-sub) { height: auto; padding-top: 14px; padding-bottom: 14px; }
  :root[data-site="fluid"] .bones-none { padding-bottom: 39px; }  /* (its second sentence takes two lines) */
}
:root[data-site="fluid"] .table tr.bones-tr > td.num > .bones-td, :root[data-site="fluid"] .table tr.bones-tr > td.num .bone { margin-left: auto; }
/* a page's first sentence: a line of words over a headline over a line, then its press or its bar */
:root[data-site="fluid"] .bones-lead { display: grid; justify-items: start; align-items: center; grid-auto-rows: min-content; min-width: 0; }
:root[data-site="fluid"] .bones-lead > .bone-line:first-child { margin: 4px 0; }
:root[data-site="fluid"] .bone-lead { height: 26px; width: min(460px, 92%); margin: 10px 0 4px; border-radius: 8px; }
:root[data-site="fluid"] .bones-lead > .bone-lead + .bone-line { margin: 9px 0 5px; }
:root[data-site="fluid"] .bone-lead-btn { height: 40px; width: 212px; margin-top: 20px; }
:root[data-site="fluid"] .bone-meter { height: 16px; width: 100%; margin: 36px 0 22px; border-radius: 4px; }
/* two plans side by side: the quiet one under a hairline, the one to choose under a rule, what it adds beside it */
:root[data-site="fluid"] .bones-plans { container: bones-plans / inline-size; min-width: 0; }
:root[data-site="fluid"] .bones-plans-in { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 26px; }
:root[data-site="fluid"] .bones-plan { display: grid; align-content: start; justify-items: start; gap: 12px; min-width: 0; padding-top: 19px; border-top: 1px solid var(--rule-2); }
:root[data-site="fluid"] .bones-plan[data-lead] { order: -1; display: block; justify-items: stretch; padding-top: 18px; border-top-width: 2px; }
:root[data-site="fluid"] .bones-plan-main { display: grid; align-content: start; justify-items: start; gap: 12px; min-width: 0; }
:root[data-site="fluid"] .bone-plan-figure { height: 34px; width: min(240px, 70%); margin-top: 6px; border-radius: 8px; }
:root[data-site="fluid"] .bone-plan-btn { height: 44px; width: min(212px, 100%); margin-top: 8px; }
:root[data-site="fluid"] .bones-plan-gets { display: grid; align-content: start; gap: 15px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--rule); }
:root[data-site="fluid"] .bones-plan-get { display: flex; align-items: center; gap: 11px; }
:root[data-site="fluid"] .bone-plan-icon { height: 22px; width: 22px; border-radius: 6px; }
:root[data-site="fluid"] .bones-plan-foot { order: 3; padding: 14px 0 9px; border-top: 1px solid var(--rule); }
@container bones-plans (min-width: 760px) {
  :root[data-site="fluid"] .bones-plans-in { grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr); column-gap: 44px; }
  :root[data-site="fluid"] .bones-plan { min-height: 267px; }
  :root[data-site="fluid"] .bones-plans[data-tall] .bones-plan { min-height: 322px; }
  :root[data-site="fluid"] .bones-plan-foot { grid-column: 1 / -1; }
  :root[data-site="fluid"] .bones-plan[data-lead] { order: 0; display: grid; grid-template-columns: minmax(0, 1fr) 300px; column-gap: 28px; }
  :root[data-site="fluid"] .bones-plan-gets { margin-top: 0; padding: 6px 0 0 24px; border-top: 0; border-left: 1px solid var(--rule); }
}
@media (max-width: 599px) {
  /* a phone: a press takes the column's width, and the headline is the size it is there */
  :root[data-site="fluid"] .bone-lead-btn, :root[data-site="fluid"] .bone-plan-btn { width: 100%; height: 48px; }
  :root[data-site="fluid"] .bone-lead-btn { margin-top: 16px; }
  :root[data-site="fluid"] .bone-lead { height: 22px; margin: 8px 0 3px; }
}
/* limits: a name over its link, where it stands, and a sentence of two lines, a row a limit */
:root[data-site="fluid"] .bones-limits { container: bones-limits / inline-size; display: grid; min-width: 0; }
:root[data-site="fluid"] .bones-limit {
  display: grid; grid-template-columns: minmax(0, 176px) minmax(0, 15fr) minmax(0, 12fr); gap: 2px 28px; align-items: start;
  min-height: 71px; padding: 19px 0 15px; border-bottom: 1px solid var(--rule);
}
:root[data-site="fluid"] .bones-limit:last-child { min-height: 59px; padding-bottom: 4px; border-bottom: 0; }
:root[data-site="fluid"] .bones-limit-lines { display: grid; min-width: 0; }
@container bones-limits (max-width: 719px) {
  :root[data-site="fluid"] .bones-limit { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  :root[data-site="fluid"] .bones-limit-says { display: none; }
}
/* a page that will have nothing on it yet: the blank's own box, its mark, title, sentence and press in its middle */
:root[data-site="fluid"] .bones-blank {
  display: grid; justify-items: center; align-content: center; gap: 6px; min-width: 0;
  min-height: clamp(280px, calc(100dvh - 380px), 520px); padding: 16px 16px 56px;
}
:root[data-site="fluid"] .bone-blank-mark { height: 44px; width: 44px; margin-bottom: 12px; border-radius: 12px; }
:root[data-site="fluid"] .bones-blank > .bone-title { height: 16px; width: 148px; margin: 3px 0; }
:root[data-site="fluid"] .bones-blank > .bone-line { margin: 5px 0; }
:root[data-site="fluid"] .bone-blank-btn { width: 132px; margin-top: 16px; }

/* ---------------------------------------------------------------- Machines (pages/machines.js)

   The page waits as its sections (machines.js render): the two lines under the title in their places, each table's
   own head over rows of bones. A first read that failed, and a workspace with nothing of its own (its blank, or the
   wait that becomes it), is the page's one thing: nothing else of the page is drawn beside it. */
:root[data-site="fluid"] .page[data-page="machines"]:is([data-failed], [data-blank], [data-lone]) :is(.held, .audit, .nodes, .machines-own, .machines-ledger) { display: none; }
:root[data-site="fluid"] .page[data-page="machines"] .machines-blank[hidden] { display: none; }
/* what a wait that lasts says stands in the room under its section, so no section moves when it is said; the two
   lists are read together, so it is said once, under the first */
:root[data-site="fluid"] .page[data-page="machines"] .bones-of-table { position: relative; }
:root[data-site="fluid"] .page[data-page="machines"] .bones-of-table > .bones-said { position: absolute; top: calc(100% + 8px); left: 0; }
:root[data-site="fluid"] .page[data-page="machines"] .nodes .bones-of-table > .bones-said { display: none; }
/* the line of figures and the line about a person's own computers keep one height, waiting or read */
:root[data-site="fluid"] .page[data-page="machines"] .machines-wait { display: flex; align-items: center; gap: 30px; min-height: 24px; }
:root[data-site="fluid"] .page[data-page="machines"] .machines-ledger:not(.machines-wait) { min-height: 24px; }
:root[data-site="fluid"] .page[data-page="machines"] .machines-own { min-height: 21px; }
:root[data-site="fluid"] .page[data-page="machines"] .machines-own > .bone { margin: 5px 0 4px; }
:root[data-site="fluid"] .page[data-page="machines"] .machines-own > .bone + .bone { display: none; }
@media (max-width: 599px) {
  /* a phone: each figure takes a line, and the line about a person's own computers takes two */
  :root[data-site="fluid"] .page[data-page="machines"] .machines-wait { flex-wrap: wrap; gap: 18px 30px; min-height: 54px; }
  :root[data-site="fluid"] .page[data-page="machines"] .machines-own > .bone + .bone { display: block; margin-top: 9px; }
}
/* (where the machines' head stands over the sentence of an empty list, the sentence starts lower: machines.css) */
@container held (min-width: 700px) {
  :root[data-site="fluid"] .page[data-page="machines"] .held .bones-none { padding-top: 17px; }
}

/* ---------------------------------------------------------------- GPUs, the catalogue (pages/chips.js)

   The list waits as its own head over rows of bones, under its filters and a bone where its count will be; a
   chip's page as its facts and its steps under its name. What is the page's one thing (a card that could not be
   read, one with no rate yet, a chip the card does not have) stands in its middle, with no list beside it. */
:root[data-site="fluid"] .page[data-page="chips"] .list-block[hidden] { display: none; }
:root[data-site="fluid"] .page[data-page="chips"] .chips-count > .bone { width: 48px; margin: 4px 0; }
:root[data-site="fluid"] .page[data-page="chips"] .chips-state > .bones { gap: 0; }
/* the sentence of a list the filters leave empty opens on a hairline, as the rows' head does here */
:root[data-site="fluid"] .page[data-page="chips"] .table-empty { border-top-color: var(--rule-2); }
/* a chip's page while it waits: its facts on a line and its note under them, then its steps */
:root[data-site="fluid"] .page[data-page="chips"][data-view="chip"] > .bones { gap: 26px; }
:root[data-site="fluid"] .page[data-page="chips"][data-view="chip"] > .bones > .bones-text { gap: 14px; padding: 6px 0 4px; }
:root[data-site="fluid"] .page[data-page="chips"][data-view="chip"] > .bones > .bones-text > .bone:first-child { height: 16px; }

/* ---------------------------------------------------------------- Connections, Connect your compute (pages/connections.js)

   The lists wait as the lists they become: each group's title over rows of bones as tall as a connection's row,
   its line before its name. A group that will say it is empty waits as one line. */
:root[data-site="fluid"] .conn-page .conn-section > .bones { gap: 0; }
:root[data-site="fluid"] .conn-page .conn-section > .bones .bones-item { min-height: 66px; }
:root[data-site="fluid"] .conn-page .conn-section > .bones .bones-item:last-child { min-height: 65px; }
:root[data-site="fluid"] .conn-page .conn-section > .bones .bones-item > .bone-mark { margin-top: 23px; }
:root[data-site="fluid"] .conn-page .conn-section > .bones[data-of="machines"] .bones-item { min-height: 86px; }
:root[data-site="fluid"] .conn-page .conn-section > .bones[data-of="machines"] .bones-item > .bone-mark { margin-top: 33px; }
@media (max-width: 899px) {
  /* a narrow page: a row's state and its spend stand under its name, so a row is taller, its press on its first line */
  :root[data-site="fluid"] .conn-page .conn-section > .bones .bones-item { align-items: flex-start; min-height: 90px; padding: 18px 0; }
  :root[data-site="fluid"] .conn-page .conn-section > .bones .bones-item > .bone-mark { margin-top: 5px; }
  :root[data-site="fluid"] .conn-page .conn-section > .bones .bones-item > .bone-btn { height: 40px; margin-top: -4px; }
  :root[data-site="fluid"] .conn-page .conn-section > .bones[data-of="connected"] .bones-item { min-height: 132px; }
  :root[data-site="fluid"] .conn-page .conn-section > .bones[data-of="machines"] .bones-item { min-height: 160px; }
  :root[data-site="fluid"] .conn-page .conn-section > .bones[data-of="machines"] .bones-item > .bone-mark { margin-top: 5px; }
}
:root[data-site="fluid"] .conn-page .conn-section > .bones .bones-text { padding: 20px 0 21px; }
/* (what a wait that lasts says stands in the room under the first group, so no group moves when it is said) */
:root[data-site="fluid"] .conn-page .conn-section > .bones { position: relative; }
:root[data-site="fluid"] .conn-page .conn-section > .bones > .bones-said { position: absolute; top: calc(100% + 9px); left: 0; }
/* the head keeps the height of its action, which comes with the lists */
:root[data-site="fluid"] .conn-page > .page-head { min-height: 34px; }
@media (max-width: 899px) { :root[data-site="fluid"] .conn-page > .page-head { min-height: 40px; } }
/* (the one status of the wait stands still when the gateway cannot be reached, and so do the bones beside it) */
:root[data-site="fluid"] .conn-page:has(.bones[data-loading="unreachable"]) .bones .bone { animation: none; opacity: .6; }

/* ---------------------------------------------------------------- Billing (pages/billing.js, billing-balance.js)

   The page waits as the page it becomes, in the measure of the tab it waits for: the month's or the balance's
   sentence, the plans or the activity, and the limits under both. A tab's first read that failed is the tab's one
   thing: the same shape as a page's (the rule over "a read that failed"), in the tab's own panel, with no limit
   under it. */
:root[data-site="fluid"] .page[data-page="billing"] > .bones, :root[data-site="fluid"] .page[data-page="billing"] > .billing-plan > .bones { gap: 30px; max-width: 1080px; }
:root[data-site="fluid"] .page[data-page="billing"] > .billing-balance > .bones { gap: 40px; max-width: 880px; }
:root[data-site="fluid"] .page[data-page="billing"] > .billing-balance > .bones > .bones-title { margin-bottom: -40px; }
/* (the sentence starts where the month's does, a hair over the panel's edge, and what follows keeps its distances:
   the links and the note close under the plans, the history a step further down) */
:root[data-site="fluid"] .page[data-page="billing"] .bones-lead { order: -1; margin-top: -4px; padding-bottom: 2px; }
/* (what a wait that lasts says stands in the room under the sentence, in view, and moves nothing) */
:root[data-site="fluid"] .page[data-page="billing"] .bones > .bones-said { order: 0; height: 20px; margin: -25px 0; }
:root[data-site="fluid"] .page[data-page="billing"] > .billing-balance > .bones > .bones-said { margin: -30px 0; }
:root[data-site="fluid"] .page[data-page="billing"] .bones > .bones-text { gap: 8px; padding: 2px 0; }
:root[data-site="fluid"] .page[data-page="billing"] .bones > .bones-plans + .bones-text { margin-top: -12px; }
:root[data-site="fluid"] .page[data-page="billing"] .bones > .bones-text + .bones-text { margin-top: -8px; }
:root[data-site="fluid"] .page[data-page="billing"] .bones > .bones-text + .bones-title { margin-top: 17px; margin-bottom: -30px; }
:root[data-site="fluid"] .page[data-page="billing"] .bones > .bones-table + .bones-text { margin-top: -15px; }
:root[data-site="fluid"] .page[data-page="billing"] > .bones.billing-limits-wait { gap: 0; margin-top: 16px; }
:root[data-site="fluid"] .page[data-page="billing"] > .billing-limits-wait[data-beside="balance"] { max-width: 880px; }
:root[data-site="fluid"] .page[data-page="billing"] > .billing-limits-wait > .bones-title { margin-bottom: 0; }
:root[data-site="fluid"] .page[data-page="billing"]:has(.bones[data-loading="unreachable"]) .billing-limits-wait .bone { animation: none; opacity: .6; }
/* a tab's first read that failed, in its panel */
:root[data-site="fluid"] .page[data-page="billing"] > [role="tabpanel"] > .read-failed:not([hidden]) {
  display: grid; justify-items: center; align-content: center; gap: 6px;
  min-height: clamp(280px, calc(100dvh - 440px), 520px); padding: 16px 16px 56px; text-align: center;
}
:root[data-site="fluid"] .page[data-page="billing"] > [role="tabpanel"] > .read-failed .read-failed-said {
  display: grid; justify-items: center; gap: 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3;
  max-width: 44ch; text-wrap: balance;
}
:root[data-site="fluid"] .page[data-page="billing"] > [role="tabpanel"] > .read-failed .read-failed-said > .glyph {
  box-sizing: content-box; width: 12px; height: 12px; padding: 16px; margin-bottom: 12px; border-radius: 12px; transform: none;
  background: color-mix(in oklab, var(--bad) 7%, var(--paper)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--bad) 22%, var(--rule));
}
:root[data-site="fluid"] .page[data-page="billing"] > [role="tabpanel"] > .read-failed .read-failed-again { display: block; margin-top: 6px; color: var(--ink-2); font-size: 14px; font-weight: 400; letter-spacing: 0; line-height: 1.55; }
:root[data-site="fluid"] .page[data-page="billing"] > [role="tabpanel"] > .read-failed .read-failed-why { padding-left: 0; max-width: 56ch; color: var(--ink-3); font-size: 13px; }
:root[data-site="fluid"] .page[data-page="billing"] > [role="tabpanel"] > .read-failed .read-failed-actions { justify-content: center; padding-left: 0; margin-top: 16px; }
:root[data-site="fluid"] .page[data-page="billing"] > [role="tabpanel"] > .read-failed > * { animation: part-in 320ms var(--in-ease) backwards; }
:root[data-site="fluid"] .page[data-page="billing"] > [role="tabpanel"] > .read-failed > :nth-child(2) { animation-delay: 40ms; }
:root[data-site="fluid"] .page[data-page="billing"] > [role="tabpanel"] > .read-failed > :nth-child(n+3) { animation-delay: 80ms; }
/* (the failure is said once, with nothing of the page under it) */
:root[data-site="fluid"] .page[data-page="billing"]:has(> .read-failed:not([hidden]), > [role="tabpanel"]:not([hidden]) > .read-failed:not([hidden])) > :is(.billing-limits, .billing-limits-wait) { display: none; }
/* ---------------------------------------------------------------- bones: settings saved together, lines to copy

   ui.js bonePart "settings": each setting the box that turns it on, its name over its sentence and its fields under
   them, at the heights Settings draws its policies and its defaults at (pages/settings.css .setting).
   "code": lines to copy on their quiet ground, as a command or a snippet stands. */

:root[data-site="fluid"] .bone-check { width: 15px; height: 15px; margin-top: 3px; border-radius: 4px; }
:root[data-site="fluid"] .bones-settings { display: grid; border-top: 1px solid var(--rule); }
:root[data-site="fluid"] .bones-set {
  display: grid; grid-template-columns: 26px minmax(0, 1fr); row-gap: 14px; align-items: start; padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
:root[data-site="fluid"] .bones-set:last-child { border-bottom: 0; }
:root[data-site="fluid"] .bones-set-words { display: grid; gap: 12px; align-content: center; min-height: 44px; min-width: 0; }
:root[data-site="fluid"] .bones-set-fields { grid-column: 2; display: flex; flex-wrap: wrap; gap: 14px 32px; min-width: 0; }
:root[data-site="fluid"] .bones-set-field { display: grid; gap: 11px; }
:root[data-site="fluid"] .bones-set-field > .bone-field { width: 104px; }
:root[data-site="fluid"] .bones-code {
  display: grid; gap: 10px; align-content: center; min-height: 65px; max-width: 720px; padding: 14px 16px;
  border-radius: 8px; background: var(--paper-2);
}

/* ---------------------------------------------------------------- a tab's own states (Settings, Developers)

   A tab is the page under the page's head and its strip. A tab with nothing on it yet, and a tab whose own first
   read failed with nothing to show, are the page's one shape (blank and read-failed, above), in the middle of the
   room the sheet has under the strip: the failure is a child of the tab's panel there, as a page's is of the page.
   A part of a tab whose read failed beside parts that stand (the agent tokens over the setup, the endpoints over
   the events) says so where its list would be, on the grid's edge. */

:root[data-site="fluid"] :is(.settings-main, .dev-panel) .blank { min-height: clamp(260px, calc(100dvh - 460px), 480px); }
:root[data-site="fluid"] :is(.settings-main, .dev-panel) > .read-failed:not([hidden]) {
  display: grid; justify-items: center; align-content: center; gap: 6px;
  min-height: clamp(260px, calc(100dvh - 460px), 480px); padding: 16px 16px 56px; text-align: center;
}
:root[data-site="fluid"] :is(.settings-main, .dev-panel) > .read-failed .read-failed-said {
  display: grid; justify-items: center; gap: 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3;
  max-width: 44ch; text-wrap: balance;
}
:root[data-site="fluid"] :is(.settings-main, .dev-panel) > .read-failed .read-failed-said > .glyph {
  box-sizing: content-box; width: 12px; height: 12px; padding: 16px; margin-bottom: 12px; border-radius: 12px; transform: none;
  background: color-mix(in oklab, var(--bad) 7%, var(--paper)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--bad) 22%, var(--rule));
}
:root[data-site="fluid"] :is(.settings-main, .dev-panel) > .read-failed .read-failed-again { display: block; margin-top: 6px; color: var(--ink-2); font-size: 14px; font-weight: 400; letter-spacing: 0; line-height: 1.55; }
:root[data-site="fluid"] :is(.settings-main, .dev-panel) > .read-failed .read-failed-why { padding-left: 0; max-width: 56ch; color: var(--ink-3); font-size: 13px; }
:root[data-site="fluid"] :is(.settings-main, .dev-panel) > .read-failed .read-failed-actions { justify-content: center; padding-left: 0; margin-top: 16px; }
:root[data-site="fluid"] :is(.settings-main, .dev-panel) > .read-failed > * { animation: part-in 320ms var(--in-ease) backwards; }
:root[data-site="fluid"] :is(.settings-main, .dev-panel) > .read-failed > :nth-child(2) { animation-delay: 40ms; }
:root[data-site="fluid"] :is(.settings-main, .dev-panel) > .read-failed > :nth-child(n+3) { animation-delay: 80ms; }
/* A list that had nothing when it was last read waits as one line of words (ui.js listBones), in the room its one
   sentence will take, so what stands under the list keeps its place. */
:root[data-site="fluid"] :is(.settings-main, .dev-panel) .panel-body > .bones > :is(.sr-only, .bones-said) + .bones-text:last-child {
  box-sizing: border-box; min-height: 41px; padding-top: 8px; align-content: start;
}
:root[data-site="fluid"] .settings-main .panel-body > .bones > :is(.sr-only, .bones-said) + .bones-text:last-child { min-height: 37px; padding-top: 5px; }

/* ---------------------------------------------------------------- Settings

   The head (the title, whose settings these are, the strip) is drawn at once and is the same on every tab and in
   every state. Under it each tab waits as what it becomes. */

/* The wait the shell draws before it knows who is signed in (app.js waitingPage) is this page's own from its first
   paint: the title where it stays, under it the room of the line that says whose settings these are, the strip
   where the tabs come, then a tab's rows where General's facts and every other tab's rows begin. */
:root[data-site="fluid"] .page[data-waits="settings"] > .page-head { align-items: flex-start; min-height: 73px; }
:root[data-site="fluid"] .page[data-waits="settings"] .bones-tabs { height: 40px; }
:root[data-site="fluid"] .page[data-waits="settings"] .bones-tabs + * { margin-top: -6px; }
/* Members: the people's head is one height with or without Invite, which comes with the first answer; the line
   that counts the people keeps its room while it is read, a bone in it; a person's row, an invitation's and an
   agent token's are 49px, and on a phone as tall as the folded rows they become */
:root[data-site="fluid"] .page[data-page="settings"] .members > .settings-group:first-child > .panel-head { min-height: 52px; }
:root[data-site="fluid"] .page[data-page="settings"] .members-line { min-height: 21px; }
:root[data-site="fluid"] .page[data-page="settings"] .members-line > .bones { height: 21px; align-content: center; }
:root[data-site="fluid"] .page[data-page="settings"] .members-stands > .bones { padding-top: 6px; }
:root[data-site="fluid"] .page[data-page="settings"] .settings-group .bones-table[data-tall] .bones-row:not(.bones-head) { height: 49px; }
@media (max-width: 899px) {
  :root[data-site="fluid"] .page[data-page="settings"] .members > .settings-group:first-child > .panel-head { min-height: 60px; }
}
@media (max-width: 599px) {
  :root[data-site="fluid"] .page[data-page="settings"] .settings-group .bones-table[data-tall] .bones-row:not(.bones-head) { height: 71px; align-items: start; padding-top: 13px; }
  :root[data-site="fluid"] .page[data-page="settings"] .members > .settings-group + .settings-group .bones-table[data-tall] .bones-row:not(.bones-head) { height: 90px; }
  :root[data-site="fluid"] .page[data-page="settings"] .settings-main > .settings-group .bones-table[data-tall] .bones-row:not(.bones-head) { height: 120px; }
}
/* an agent token's name stands over what signed in with it, as a key's does on Developers */
:root[data-site="fluid"] .page[data-page="settings"] .settings-group td > span > .help { display: block; }
/* General: what waits for the people's read. The count's bone on its fact's line; and the room of the line that
   says why an only Owner's Leave is held, kept while it is not known and for the rest of the visit (workspace.js) */
:root[data-site="fluid"] .page[data-page="settings"] .ws-facts dd > .bones { width: 96px; height: 21px; align-content: center; }
:root[data-site="fluid"] .page[data-page="settings"] .ws-leave-room { min-height: 20px; }
:root[data-site="fluid"] .page[data-page="settings"] .ws-leave-room > .bones { height: 20px; align-content: center; }

/* ---------------------------------------------------------------- Developers

   The head (the title, its sentence, Docs, the strip) is drawn at once and is the same on every tab and in every
   state. Under it each tab waits as what it becomes: a part's title and what is said under it stand, and bones
   wait where its rows will be. */

/* The wait the shell draws before it knows who is signed in (app.js waitingPage) is this page's own from its first
   paint: the title where it stays, the room of its sentence under it, the strip where the tabs come and a part's
   title and rows where the first part begins. The head is as tall as the page's is at each width. */
:root[data-site="fluid"] .page[data-waits="developers"] { gap: 20px; }
:root[data-site="fluid"] .page[data-waits="developers"] > .page-head { align-items: flex-start; min-height: 73px; }
:root[data-site="fluid"] .page[data-waits="developers"] .bones { gap: 28px; }
:root[data-site="fluid"] .page[data-waits="developers"] .bones-tabs { height: 40px; }
@media (max-width: 899px) {
  :root[data-site="fluid"] .page[data-waits="developers"] > .page-head { min-height: 86px; padding-top: 6px; }
}
@media (max-width: 480px) {
  :root[data-site="fluid"] .page[data-waits="developers"] > .page-head { min-height: 107px; }
}
/* a part's head is one height whatever stands in it: its views, its filters and its press come with the first
   answer. On a phone the keys' views stand under their title (where the keys had views when they were last read
   here, developers.js), and the endpoints' count and press wrap under theirs. */
:root[data-site="fluid"] .page[data-page="developers"] :is(.dev-keys, .dev-hooks, .dev-requests) > .panel-head { min-height: 52px; }
@media (max-width: 760px) {
  :root[data-site="fluid"] .page[data-page="developers"] .dev-keys > .panel-head { min-height: 60px; align-content: start; grid-template-rows: minmax(40px, auto); }
  :root[data-site="fluid"] .page[data-page="developers"] .dev-keys[data-views] > .panel-head { min-height: 108px; }
}
@media (max-width: 480px) {
  :root[data-site="fluid"] .page[data-page="developers"] .dev-hooks > .panel-head { min-height: 88px; align-content: flex-start; }
}
/* a key's row is 49px and an endpoint's 54px; on a phone each is as tall as the folded row it becomes, its bones
   at the row's head where the name will be */
:root[data-site="fluid"] .page[data-page="developers"] .bones-table[data-tall] .bones-row:not(.bones-head) { height: 49px; }
:root[data-site="fluid"] .page[data-page="developers"] .dev-hooks .bones-table[data-tall] .bones-row:not(.bones-head) { height: 54px; }
@media (max-width: 599px) {
  :root[data-site="fluid"] .page[data-page="developers"] .bones-table .bones-row:not(.bones-head) { align-items: start; padding-top: 14px; }
  :root[data-site="fluid"] .page[data-page="developers"] .dev-keys .bones-table[data-tall] .bones-row:not(.bones-head) { height: 160px; }
  :root[data-site="fluid"] .page[data-page="developers"] .dev-hooks .bones-table[data-tall] .bones-row:not(.bones-head) { height: 150px; }
  :root[data-site="fluid"] .page[data-page="developers"] .dev-requests .bones-table .bones-row:not(.bones-head) { height: 106px; }
  :root[data-site="fluid"] .page[data-page="developers"] .dev-months .bones-table .bones-row:not(.bones-head) { height: 75px; }
}
/* the line that may stand over the endpoints (one was paused), where it stood when they were last read */
:root[data-site="fluid"] .page[data-page="developers"] .dev-hooks .bones > .bones-text:not(:last-child) { height: 43px; align-content: center; margin-bottom: -12px; }
/* the first steps while they wait: three steps down the left, what to paste on paper beside them */
:root[data-site="fluid"] .page[data-page="developers"] .dev-start-grid > .bones {
  grid-column: 1 / -1; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 20px 40px; align-items: start;
}
:root[data-site="fluid"] .page[data-page="developers"] .dev-start-grid > .bones > .bones-list { gap: 18px; align-content: start; min-height: 183px; }
:root[data-site="fluid"] .page[data-page="developers"] .dev-start-grid > .bones .bones-item { min-height: 43px; border-bottom: 0; align-items: start; }
:root[data-site="fluid"] .page[data-page="developers"] .dev-start-grid > .bones .bone-mark { width: 22px; height: 22px; margin-top: 0; border-radius: 50%; }
:root[data-site="fluid"] .page[data-page="developers"] .dev-start-grid > .bones > .bones-text {
  max-width: none; min-height: 183px; align-content: start; padding: 22px 20px 20px; border-radius: var(--radius-float); background: var(--paper);
}
/* (the first step stands a line taller, beside a shorter pane: a sentence and the press that makes a key) */
:root[data-site="fluid"] .page[data-page="developers"] .dev-start[data-waits="key"] .bones > .bones-list { min-height: 202px; }
:root[data-site="fluid"] .page[data-page="developers"] .dev-start[data-waits="key"] .bones .bones-item { min-height: 55px; }
:root[data-site="fluid"] .page[data-page="developers"] .dev-start[data-waits="key"] .bones > .bones-text { min-height: 124px; }
@media (max-width: 820px) {
  :root[data-site="fluid"] .page[data-page="developers"] .dev-start-grid > .bones { grid-template-columns: minmax(0, 1fr); }
  :root[data-site="fluid"] .page[data-page="developers"] .dev-start .dev-start-grid > .bones > .bones-list { min-height: 0; }
  :root[data-site="fluid"] .page[data-page="developers"] .dev-start .dev-start-grid > .bones > .bones-text { min-height: 120px; }
}
/* Activity. The last 24 hours while they wait: their figures over their bars, and a line for each refusal they
   listed. The requests of a workspace that had none wait as the line that makes the first. Filters with nothing
   to filter stand aside and keep their room, so the head is the same when the first request comes. */
:root[data-site="fluid"] .page[data-page="developers"] .dev-pulse .bones { gap: 22px; }
:root[data-site="fluid"] .page[data-page="developers"] .dev-pulse .bones-figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 32px; padding: 0; }
:root[data-site="fluid"] .page[data-page="developers"] .dev-pulse .bones-tile { gap: 9px; min-height: 54px; align-content: start; }
:root[data-site="fluid"] .page[data-page="developers"] .dev-pulse .bones-tile > .bone-value { height: 26px; }
:root[data-site="fluid"] .page[data-page="developers"] .dev-pulse .bones-chart { height: 64px; padding: 0; gap: 3px; margin-bottom: 25px; }
:root[data-site="fluid"] .page[data-page="developers"] .dev-pulse .bones-list { padding-top: 28px; }
:root[data-site="fluid"] .page[data-page="developers"] .dev-pulse .bones-item { min-height: 62px; }
:root[data-site="fluid"] .page[data-page="developers"] .dev-requests .bones:has(> .bones-code) { gap: 12px; padding: 10px 0 26px; }
:root[data-site="fluid"] .page[data-page="developers"] .dev-requests .bones:has(> .bones-code) > .bones-text { height: 21px; align-content: center; }
:root[data-site="fluid"] .page[data-page="developers"] .dev-requests .bones:has(> .bones-code) > .bones-text:last-child { height: 19px; max-width: 280px; }
:root[data-site="fluid"] .page[data-page="developers"] .dev-filters[data-idle] { visibility: hidden; }
/* (on a phone the filters stand under the title, on lines of their own: there they take no room while they stand
   aside, which would be a gap over the list) */
@media (max-width: 600px) {
  :root[data-site="fluid"] .page[data-page="developers"] .dev-filters[data-idle] { display: none; }
}
@media (max-width: 599px) {
  :root[data-site="fluid"] .page[data-page="developers"] .dev-pulse .bones-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :root[data-site="fluid"] .page[data-page="developers"] .dev-pulse .bones-item { min-height: 117px; align-items: flex-start; padding-top: 14px; }
  :root[data-site="fluid"] .page[data-page="developers"] .dev-hooks .bones > .bones-text:not(:last-child) { height: 85px; }
}
