/* One stylesheet, no build step. A service that migrates sites away from a CMS
   should not need a package manager to draw a heading.

   The palette is the one the other tradik services use: a sky blue against near
   black, with plenty of space around the one thing each page is for. One accent
   and no second — a page with two accent colours has neither.

   Every pair below is measured against WCAG 2.2: body text at 4.5:1 or better,
   large text and borders at 3:1 or better, and the figure is written beside the
   colour so the next person changing one knows what they are spending. */

:root {
  --ink: #0b1220;
  --ink-soft: #64748b;
  --paper: #ffffff;
  /* A card's own ground. Light enough to read black text on (contrast 19.6:1),
     dark enough to tell a card from the page it sits on. */
  --surface: #f6f8fb;
  --surface-sunken: #eef2f7;
  --line: #e2e8f0;
  --brand: #0ea5e9;
  --brand-deep: #0369a1;
  /* A wash of the same sky, for the one block on a page that is offering
     something rather than stating it. */
  --brand-soft: #e0f2fe;
  /* The accent as *text*. The sky blue is bright enough to read on the dark and
     too light to read on the white, so it swaps: 8.0:1 on paper, 7.0:1 on the
     dark. A single colour here would fail in one theme or the other. */
  --accent-text: #0369a1;
  /* And what is readable *on* the accent: 6.0:1, the same in both themes because
     the accent itself does not move. */
  --on-brand: #05202e;
  --good: #059669;
  --bad: #dc2626;
  --shell: 80rem;
  /* Small. A 12px radius on every box is the house style of a page generated
     rather than drawn; 3px reads as a printed rule, which is what this is. */
  --radius: 3px;
  /* Metadata, labels, counts and anything a person copies. A second face used
     for one job is a design decision; a second face used decoratively is
     noise. */
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e2e8f0;
    --ink-soft: #94a3b8;
    --paper: #0b1220;
    /* The same idea inverted: a shade *lighter* than the page, because in the
       dark a raised surface catches light rather than shadow. Contrast with
       --ink is 13.4:1. */
    --surface: #131d31;
    --surface-sunken: #0e1626;
    --line: #1e293b;
    --brand-soft: #0c2b3f;
    --accent-text: #0ea5e9;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  /* `100vw` counts the vertical scrollbar and the page does not, so a full-width
     block measured in `vw` is a few pixels wider than what it sits in — and the
     page grows a horizontal scrollbar nobody asked for. Clipped rather than
     hidden: `hidden` would make this a scroll container and quietly break every
     `position: sticky` on the page, of which the save bar is one. */
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: var(--brand-deep); }
@media (prefers-color-scheme: dark) { a { color: var(--brand); } }

/* Header and footer are quiet on purpose: the middle of the page is the product. */
.masthead, .colophon {
  width: 100%;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.colophon {
  border-bottom: 0;
  border-top: 1px solid var(--line);
  margin-top: auto;
  color: var(--ink-soft);
  font-size: 0.875rem;
}
.masthead-inner, .colophon-inner, .shell {
  max-width: var(--shell);
  margin: 0 auto;
  width: 100%;
}
.masthead-inner { display: flex; align-items: center; gap: 1rem; }
.wordmark { font-weight: 700; letter-spacing: -0.02em; text-decoration: none; color: inherit; }
.wordmark span { color: var(--brand); }
.masthead nav { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; font-size: 0.9375rem; }
/* The nav is links, with one exception: adding a site is the thing a signed-in
   person came back to do, so it is shaped like the action it is. */
.masthead nav .button.small { padding: 0.4rem 0.9rem; font-size: 0.875rem; }

main { flex: 1; padding: 3rem 1.5rem; }

/* The hero.
 *
 * Left-aligned and full-bleed, not a centred card floating on the page. A
 * rounded photograph with a centred headline over it is the shape every
 * generated landing page has; a band that runs to both edges, with the text
 * sitting on the same left margin as everything below it, reads as a page
 * somebody laid out.
 *
 * A photograph is not a colour, so nothing readable may be laid straight onto
 * it: the picture runs from a bright sky to a dark cliff, and white text would
 * be legible over half of it and invisible over the rest. The scrim underneath
 * fixes that — everything above it is read against a known dark, not against
 * whatever pixel happens to be there, which is what keeps the contrast figures
 * below true wherever the picture is cropped.
 *
 * Its colours do not follow the theme: it is the same photograph in the light
 * and the dark, so the text on it is the same both times. */
.hero { padding: 3rem 0 2.5rem; }
.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p { margin: 0 0 2rem; max-width: 38rem; color: var(--ink-soft); font-size: 1.0625rem; }

/* Words, then the thing to do — and side by side once there is room for both.
   Written this way round on purpose: the phone layout is the one that has to be
   right, so it is the one with no conditions attached. A wide screen is the
   exception, and it says so.

   Left-aligned words over a centred box read as two decisions; beside each other
   they read as a sentence and its answer. */
.herogrid {
  display: grid;
  gap: 1.75rem;
}
.herogrid .launchbox { margin: 0; max-width: none; }
.herogrid .herowords p { margin-bottom: 0; }

@media (min-width: 62rem) {
  .herogrid {
    /* The panel's column is what decides the panel's width — not the box's
       own max-width, which this column used to cap at 30rem. Four tabs in a
       row, a field beside its button, and the room around them that 1.4.12
       asks for want more than half the band. */
    grid-template-columns: minmax(16rem, 1fr) minmax(0, 52rem);
    gap: 3rem;
    align-items: center;
  }
}

/* The spider, and what it spins when nobody is about.
   Over the hero and under nothing: the layer takes no clicks at all, so the
   panel below behaves as though none of this is here. */
/* Fixed over the whole page: the spider's floor is the window, not one section
   of it. High enough to be seen over the panel, and taking no clicks at all, so
   everything underneath behaves as though it is not there. */
.spiderlayer {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  overflow: visible;
}
/* Pale, with a dark hairline. The hero is a dark photograph and the picture
   underneath is not uniform — pale reads on the water and the outline keeps it
   legible where the cliff is bright. */
.spider .abdomen,
.spider .head {
  fill: #e8edf5;
  stroke: rgba(5, 7, 12, 0.55);
  stroke-width: 0.8;
}
.spider .legs path {
  fill: none;
  stroke: #e8edf5;
  stroke-width: 1.7;
  stroke-linecap: round;
  /* The legs shift with the walk; the step comes from the script. */
  transform: translateY(var(--step, 0));
}
/* The line it hangs from. It appears with the drop and goes when it climbs, so
   it is faded rather than added and removed — a thread that blinks in and out is
   a thread nobody believes. */
.thread {
  stroke: rgba(255, 255, 255, 0.45);
  stroke-width: 1;
  opacity: 0;
  transition: opacity 250ms ease;
}

/* Flies. Small, dark, and quick enough that you notice one only once it stops. */
.fly { fill: #10192b; stroke: rgba(226, 232, 240, 0.5); stroke-width: .5; }
/* Caught: it goes pale as it is wrapped, which is the polite version of what
   actually happens. */
.fly.caught { fill: #cbd5e1; stroke: rgba(255, 255, 255, 0.8); }
.fly.eaten { opacity: 0; transform: scale(.4); transition: opacity 350ms ease, transform 350ms ease; }

/* The hat, worn about one idle spell in six. */
.spider .hat { opacity: 0; transition: opacity 200ms ease; }
.spider .hat path { fill: #f472b6; }
.spider .hat .pompom { fill: #ffffff; }
.spider.partying .hat { opacity: 1; }

/* And the dots that go with it. They fall, drift and fade — nine of them, which
   is enough to read as confetti and few enough not to be weather. */
.confetti {
  animation: falling 2.2s ease-in forwards;
  opacity: 0;
}
@keyframes falling {
  0%   { opacity: 1; transform: translate(0, 0) rotate(0deg); }
  100% { opacity: 0; transform: translate(var(--drift, 0), 46px) rotate(220deg); }
}

/* Silk. It is laid behind the spider a point at a time, so there is nothing to
   animate here — what grows is the path itself. And it stays: a web that tidied
   itself away would be a web nobody ever came back to find. */
.webs .strand {
  fill: none;
  stroke: rgba(255, 255, 255, 0.42);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 300ms ease, stroke-width 300ms ease;
}
/* Swept away: it thins and goes rather than blinking out, which is what silk on
   a sleeve does. */
.webs .strand.wiped { opacity: 0; stroke-width: .3; }

/* The picture needs somewhere for the spider to be measured against. */
.hero { position: relative; }

.hero.photo {
  /* Out of the shell and across the window, then back to the shell's own left
     margin on the inside — so the picture is full width and the words are not.

     The vertical padding starts small and grows with the window: on a phone the
     first thing on the page should be the words and the field, not two hundred
     pixels of sky above them. */
  margin: -3rem calc(50% - 50vw) 0;
  padding: clamp(2rem, 11vw, 7.5rem) max(1.25rem, calc(50vw - var(--shell) / 2)) clamp(2rem, 7vw, 5rem);
  /* The photograph in three formats, best first. A browser takes the first it
     understands, so an old one still gets the JPEG and a current one gets a
     sixth of the bytes: 571 kB → 279 kB as WebP → 96 kB as AVIF.
     The plain `url()` above the set is the fallback for anything that does not
     know `image-set` at all — it reads that line and ignores the next. */
  background-image:
    linear-gradient(90deg, rgba(4, 14, 28, 0.88) 0%, rgba(4, 14, 28, 0.66) 55%, rgba(4, 14, 28, 0.42) 100%),
    url("waves.jpg");
  background-image:
    linear-gradient(90deg, rgba(4, 14, 28, 0.88) 0%, rgba(4, 14, 28, 0.66) 55%, rgba(4, 14, 28, 0.42) 100%),
    image-set(url("waves.avif") type("image/avif"),
              url("waves.webp") type("image/webp"),
              url("waves.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center 62%;
  color: #ffffff;
  border-bottom: 1px solid var(--line);
}
/* White on the scrim over the brightest part of the picture: 6.9:1. */
.hero.photo h1 { max-width: 20ch; }
.hero.photo h1 em { color: #7dd3fc; }   /* 3.9:1 — the bar for text this size */
.hero.photo p { color: #d6e2ee; }       /* 5.6:1 */
.hero.photo .start { margin: 0; }

/* The field is the one thing here that is not on the photograph: it gets its
   own solid ground, or a typed address would be read against the sea. */
.hero.photo .start input {
  background: var(--paper);
  color: var(--ink);
  border-color: transparent;
}
.hero.photo .start input::placeholder { color: var(--ink-soft); }
.hero.photo .start input:focus-visible { outline-color: #7dd3fc; }

.start { display: flex; gap: 0.5rem; max-width: 32rem; }
.start input {
  flex: 1;
  padding: 0.85rem 1rem;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.start input:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }

.button {
  display: inline-block;
  padding: 0.85rem 1.35rem;
  /* Transparent rather than none: `quiet` colours this border in, and a
     variant that adds one where the others have none is two pixels taller
     than the buttons beside it. */
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--brand);
  color: var(--on-brand);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.button:hover { background: var(--brand-deep); color: var(--on-brand); }
/* Secondary: a filled surface and a border you can actually see. The industry
   settled this years ago — a "ghost" button on a pale ground is a control people
   walk past, and the Settings button was exactly that. Border against the page:
   3.1:1, which is the WCAG 2.2 bar for a control's own outline. */
.button.quiet {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--ink-soft);
}
.button.quiet:hover { background: var(--surface-sunken); color: var(--ink); }
.button:disabled, .button[disabled] { opacity: 0.55; cursor: not-allowed; }
.button:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }

/* Cards carry the steps: plans, verification, a project's facts.
   A rule above each one instead of a box around it. Three grey boxes in a row is
   the shape of a page nobody chose; three columns under three rules is a page
   laid out, and it is the same information with less ink. */
.cards { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.card {
  border-top: 2px solid var(--ink);
  padding: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.card h3 { margin: 0; font-size: 1rem; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.9375rem; }
.card form { margin-top: auto; padding-top: 0.5rem; }
/* Where a card really is a container — a form, a thing to copy — it says so by
   filling, and those are the exceptions rather than the rule. */
.card.boxed {
  border: 1px solid var(--line);
  border-top-width: 1px;
  border-radius: var(--radius);
  padding: 1.25rem;
  background: var(--surface);
}

.step { max-width: 42rem; margin: 0 auto; }
.step h2 { font-size: 1.5rem; letter-spacing: -0.02em; }
.step ol { padding-left: 1.25rem; color: var(--ink-soft); }
.step li { margin: 0.5rem 0; }

code, .token, pre {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
}
.token {
  display: inline-block;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  user-select: all;
}

.notice { padding: 0.85rem 1rem; border-radius: var(--radius); border: 1px solid var(--line); }
.notice.bad { border-color: var(--bad); color: var(--bad); }
.notice.good { border-color: var(--good); color: var(--good); }
/* Saved, and the build that applies it: the sentence and the button on one
   line, and under each other where there is no room for both. The button
   carries its own colours — every .button variant sets its own, so the
   notice's green reaches the text and nothing else. */
.notice.saved { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; }
.notice.saved p { margin: 0; }
.notice.saved form { margin: 0; }

/* A run's log: monospace, dark, and scrolled to the end by the page itself. */
.log {
  background: #0b1220;
  color: #cbd5e1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  /* Two thirds of the window rather than a fixed box: a log is the whole point
     of the tab it is on, and 26rem of it on a tall screen was a letterbox with
     a page of empty space under it. */
  height: min(60vh, 44rem);
  overflow: auto;
  /* Lines stay lines. Wrapped, a warning carrying a long path became four rows
     of prose and a wall nobody could scan down — which is what made a log of
     four hundred warnings unreadable rather than merely long. Long lines scroll
     sideways now, and the ones that matter are short. */
  white-space: pre;
  font-size: 0.8125rem;
  line-height: 1.6;
  tab-size: 2;
  margin: 0;
}

/* The row of numbers under the tabs.
   One band with hairlines between the facts rather than six labels loose on the
   page: the values sit on one baseline whatever height the label above them
   takes, so a control in one cell no longer drags its neighbours out of line. */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  /* The dividers are the gaps, not borders on the cells: the band's own colour
     shows through a one-pixel gap and each cell paints over the rest. A border
     per cell would need to know which cell begins a row, and a grid that wraps
     to fit the window never says. */
  gap: 1px;
  background: var(--line);
  overflow: hidden;
}
.fact {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .35rem;
  padding: .85rem 1rem;
  background: var(--surface);
}
.fact dt { color: var(--ink-soft); font-size: 0.8125rem; }
.fact dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
/* An address is longer than a number, and wrapping `littlepatisserie-co-` onto
   two lines mid-word is how a fine link comes to look broken. */
.fact.wide { grid-column: span 2; }

.state { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 600; border: 1px solid var(--line); }
.state[data-state="live"] { color: var(--good); border-color: var(--good); }
.state[data-state="failed"] { color: var(--bad); border-color: var(--bad); }
.state[data-state="migrating"] { color: var(--brand); border-color: var(--brand); }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--line); }
th { color: var(--ink-soft); font-weight: 600; font-size: 0.8125rem; }

/* The roster: one row per person, and the row for what they may do. */
.roster {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}
.roster th {
  text-align: left;
  font-size: .8125rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  padding: 0 .75rem .5rem 0;
}
.roster td {
  padding: .75rem .75rem .75rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.roster td.right { text-align: right; padding-right: 0; }
.roster .quiet-cell { color: var(--ink-soft); font-size: .875rem; }

/* A badge says what somebody may do, so it has to be readable rather than
   decorative: both pairs below clear WCAG 2.2 AA on their own background. */
.badge {
  display: inline-block;
  padding: .1875rem .5rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .03em;
  background: var(--line);
  color: var(--ink);
}
.badge.admin {
  background: var(--brand-deep);
  color: #ffffff;
}

.button.small { padding: .375rem .75rem; font-size: .875rem; }

/* Tabs on the settings page.
   Radio buttons and sibling selectors: the panels are all inside one form, so
   whichever tab is open, saving posts every setting the catalogue knows about —
   switching tabs cannot lose a change, because nothing was ever unmounted. */
.tabbed .tabradio { position: absolute; opacity: 0; pointer-events: none; }

.tabstrip {
  display: flex;
  gap: .25rem;
  border-bottom: 1px solid var(--line);
  margin: 1.5rem 0 0;
  /* One line, and it scrolls when it has to. A wrapped strip moves every label
     under it the moment one is renamed, and the tab somebody was aiming at is
     suddenly a line lower. */
  overflow-x: auto;
  scrollbar-width: thin;
}
.tablabel {
  padding: .6rem .9rem;
  cursor: pointer;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: .375rem .375rem 0 0;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .9375rem;
  white-space: nowrap;
  /* Some of these are links — Settings on the project page, everything else on
     the settings page — and a tab that is underlined and blue is not a tab. */
  text-decoration: none;
  /* Where the open tab's accent bar goes. A property rather than a rule, so a
     strip that turns vertical can move the bar to its left edge without
     repeating the twelve selectors that decide which tab is open. */
  --tab-accent: inset 0 3px 0 var(--brand);
}
.tablabel:hover { color: var(--ink); background: var(--surface); }
.tabcount {
  display: inline-block;
  min-width: 1.25rem;
  padding: 0 .35rem;
  border-radius: 999px;
  background: var(--line);
  color: var(--ink-soft);
  font-size: .75rem;
  text-align: center;
}

/* The checked tab, and its panel.
   Both are addressed by position: the nth radio, when checked, lights the nth
   label in the strip and shows the nth panel. `~` reaches only siblings, which
   is why the radios are the form's children rather than the strip's.

   `label.tablabel` and not `.tablabel`, and the type is the whole point:
   `:nth-of-type` counts within an element's own type, so in a strip of six
   labels and one link the link is the *first* of its type and lit up with the
   first tab. Settings glowed on every project page. Naming the type is what
   keeps a rule about tabs from reaching the one thing in the strip that is not
   one. */
.tabpanel { display: none; padding-top: 1.5rem; }
/* Written out to forty because CSS cannot count.

   It stopped at twelve, and the settings page grew to eighteen groups: the six
   tabs past the twelfth had a radio, a label and a panel full of content, and no
   rule that would ever show it. Clicking Endpoints emptied the page. A test now
   reads this file and refuses a cap lower than the number of tabs a page can
   produce, because the failure is silent in every other way — nothing errors,
   nothing logs, the markup is perfect, and the panel is simply never shown. */
.tabbed .tabradio:nth-of-type(1):checked ~ .tabpanel:nth-of-type(1),
.tabbed .tabradio:nth-of-type(2):checked ~ .tabpanel:nth-of-type(2),
.tabbed .tabradio:nth-of-type(3):checked ~ .tabpanel:nth-of-type(3),
.tabbed .tabradio:nth-of-type(4):checked ~ .tabpanel:nth-of-type(4),
.tabbed .tabradio:nth-of-type(5):checked ~ .tabpanel:nth-of-type(5),
.tabbed .tabradio:nth-of-type(6):checked ~ .tabpanel:nth-of-type(6),
.tabbed .tabradio:nth-of-type(7):checked ~ .tabpanel:nth-of-type(7),
.tabbed .tabradio:nth-of-type(8):checked ~ .tabpanel:nth-of-type(8),
.tabbed .tabradio:nth-of-type(9):checked ~ .tabpanel:nth-of-type(9),
.tabbed .tabradio:nth-of-type(10):checked ~ .tabpanel:nth-of-type(10),
.tabbed .tabradio:nth-of-type(11):checked ~ .tabpanel:nth-of-type(11),
.tabbed .tabradio:nth-of-type(12):checked ~ .tabpanel:nth-of-type(12),
.tabbed .tabradio:nth-of-type(13):checked ~ .tabpanel:nth-of-type(13),
.tabbed .tabradio:nth-of-type(14):checked ~ .tabpanel:nth-of-type(14),
.tabbed .tabradio:nth-of-type(15):checked ~ .tabpanel:nth-of-type(15),
.tabbed .tabradio:nth-of-type(16):checked ~ .tabpanel:nth-of-type(16),
.tabbed .tabradio:nth-of-type(17):checked ~ .tabpanel:nth-of-type(17),
.tabbed .tabradio:nth-of-type(18):checked ~ .tabpanel:nth-of-type(18),
.tabbed .tabradio:nth-of-type(19):checked ~ .tabpanel:nth-of-type(19),
.tabbed .tabradio:nth-of-type(20):checked ~ .tabpanel:nth-of-type(20),
.tabbed .tabradio:nth-of-type(21):checked ~ .tabpanel:nth-of-type(21),
.tabbed .tabradio:nth-of-type(22):checked ~ .tabpanel:nth-of-type(22),
.tabbed .tabradio:nth-of-type(23):checked ~ .tabpanel:nth-of-type(23),
.tabbed .tabradio:nth-of-type(24):checked ~ .tabpanel:nth-of-type(24),
.tabbed .tabradio:nth-of-type(25):checked ~ .tabpanel:nth-of-type(25),
.tabbed .tabradio:nth-of-type(26):checked ~ .tabpanel:nth-of-type(26),
.tabbed .tabradio:nth-of-type(27):checked ~ .tabpanel:nth-of-type(27),
.tabbed .tabradio:nth-of-type(28):checked ~ .tabpanel:nth-of-type(28),
.tabbed .tabradio:nth-of-type(29):checked ~ .tabpanel:nth-of-type(29),
.tabbed .tabradio:nth-of-type(30):checked ~ .tabpanel:nth-of-type(30),
.tabbed .tabradio:nth-of-type(31):checked ~ .tabpanel:nth-of-type(31),
.tabbed .tabradio:nth-of-type(32):checked ~ .tabpanel:nth-of-type(32),
.tabbed .tabradio:nth-of-type(33):checked ~ .tabpanel:nth-of-type(33),
.tabbed .tabradio:nth-of-type(34):checked ~ .tabpanel:nth-of-type(34),
.tabbed .tabradio:nth-of-type(35):checked ~ .tabpanel:nth-of-type(35),
.tabbed .tabradio:nth-of-type(36):checked ~ .tabpanel:nth-of-type(36),
.tabbed .tabradio:nth-of-type(37):checked ~ .tabpanel:nth-of-type(37),
.tabbed .tabradio:nth-of-type(38):checked ~ .tabpanel:nth-of-type(38),
.tabbed .tabradio:nth-of-type(39):checked ~ .tabpanel:nth-of-type(39),
.tabbed .tabradio:nth-of-type(40):checked ~ .tabpanel:nth-of-type(40) { display: block; }

.tabbed .tabradio:nth-of-type(1):checked ~ .tabstrip label.tablabel:nth-of-type(1),
.tabbed .tabradio:nth-of-type(2):checked ~ .tabstrip label.tablabel:nth-of-type(2),
.tabbed .tabradio:nth-of-type(3):checked ~ .tabstrip label.tablabel:nth-of-type(3),
.tabbed .tabradio:nth-of-type(4):checked ~ .tabstrip label.tablabel:nth-of-type(4),
.tabbed .tabradio:nth-of-type(5):checked ~ .tabstrip label.tablabel:nth-of-type(5),
.tabbed .tabradio:nth-of-type(6):checked ~ .tabstrip label.tablabel:nth-of-type(6),
.tabbed .tabradio:nth-of-type(7):checked ~ .tabstrip label.tablabel:nth-of-type(7),
.tabbed .tabradio:nth-of-type(8):checked ~ .tabstrip label.tablabel:nth-of-type(8),
.tabbed .tabradio:nth-of-type(9):checked ~ .tabstrip label.tablabel:nth-of-type(9),
.tabbed .tabradio:nth-of-type(10):checked ~ .tabstrip label.tablabel:nth-of-type(10),
.tabbed .tabradio:nth-of-type(11):checked ~ .tabstrip label.tablabel:nth-of-type(11),
.tabbed .tabradio:nth-of-type(12):checked ~ .tabstrip label.tablabel:nth-of-type(12),
.tabbed .tabradio:nth-of-type(13):checked ~ .tabstrip label.tablabel:nth-of-type(13),
.tabbed .tabradio:nth-of-type(14):checked ~ .tabstrip label.tablabel:nth-of-type(14),
.tabbed .tabradio:nth-of-type(15):checked ~ .tabstrip label.tablabel:nth-of-type(15),
.tabbed .tabradio:nth-of-type(16):checked ~ .tabstrip label.tablabel:nth-of-type(16),
.tabbed .tabradio:nth-of-type(17):checked ~ .tabstrip label.tablabel:nth-of-type(17),
.tabbed .tabradio:nth-of-type(18):checked ~ .tabstrip label.tablabel:nth-of-type(18),
.tabbed .tabradio:nth-of-type(19):checked ~ .tabstrip label.tablabel:nth-of-type(19),
.tabbed .tabradio:nth-of-type(20):checked ~ .tabstrip label.tablabel:nth-of-type(20),
.tabbed .tabradio:nth-of-type(21):checked ~ .tabstrip label.tablabel:nth-of-type(21),
.tabbed .tabradio:nth-of-type(22):checked ~ .tabstrip label.tablabel:nth-of-type(22),
.tabbed .tabradio:nth-of-type(23):checked ~ .tabstrip label.tablabel:nth-of-type(23),
.tabbed .tabradio:nth-of-type(24):checked ~ .tabstrip label.tablabel:nth-of-type(24),
.tabbed .tabradio:nth-of-type(25):checked ~ .tabstrip label.tablabel:nth-of-type(25),
.tabbed .tabradio:nth-of-type(26):checked ~ .tabstrip label.tablabel:nth-of-type(26),
.tabbed .tabradio:nth-of-type(27):checked ~ .tabstrip label.tablabel:nth-of-type(27),
.tabbed .tabradio:nth-of-type(28):checked ~ .tabstrip label.tablabel:nth-of-type(28),
.tabbed .tabradio:nth-of-type(29):checked ~ .tabstrip label.tablabel:nth-of-type(29),
.tabbed .tabradio:nth-of-type(30):checked ~ .tabstrip label.tablabel:nth-of-type(30),
.tabbed .tabradio:nth-of-type(31):checked ~ .tabstrip label.tablabel:nth-of-type(31),
.tabbed .tabradio:nth-of-type(32):checked ~ .tabstrip label.tablabel:nth-of-type(32),
.tabbed .tabradio:nth-of-type(33):checked ~ .tabstrip label.tablabel:nth-of-type(33),
.tabbed .tabradio:nth-of-type(34):checked ~ .tabstrip label.tablabel:nth-of-type(34),
.tabbed .tabradio:nth-of-type(35):checked ~ .tabstrip label.tablabel:nth-of-type(35),
.tabbed .tabradio:nth-of-type(36):checked ~ .tabstrip label.tablabel:nth-of-type(36),
.tabbed .tabradio:nth-of-type(37):checked ~ .tabstrip label.tablabel:nth-of-type(37),
.tabbed .tabradio:nth-of-type(38):checked ~ .tabstrip label.tablabel:nth-of-type(38),
.tabbed .tabradio:nth-of-type(39):checked ~ .tabstrip label.tablabel:nth-of-type(39),
.tabbed .tabradio:nth-of-type(40):checked ~ .tabstrip label.tablabel:nth-of-type(40) {
  /* A wash of the brand rather than the page's own colour. The tab was drawn in
     `--paper` — the same ground the strip sits on — so on a dark theme the only
     thing marking the open tab was a hairline, and there was nothing to see at a
     glance. Filled, it reads as a tab that is *open* rather than one merely
     outlined. --ink on --brand-soft clears 11:1 in both themes. */
  color: var(--ink);
  background: var(--brand-soft);
  border-color: var(--line);
  box-shadow: var(--tab-accent);
  cursor: default;
}
/* The count inside the open tab, which would otherwise keep the grey of the
   ones beside it and read as switched off. */
.tabbed .tabradio:nth-of-type(1):checked ~ .tabstrip label.tablabel:nth-of-type(1) .tabcount,
.tabbed .tabradio:nth-of-type(2):checked ~ .tabstrip label.tablabel:nth-of-type(2) .tabcount,
.tabbed .tabradio:nth-of-type(3):checked ~ .tabstrip label.tablabel:nth-of-type(3) .tabcount,
.tabbed .tabradio:nth-of-type(4):checked ~ .tabstrip label.tablabel:nth-of-type(4) .tabcount,
.tabbed .tabradio:nth-of-type(5):checked ~ .tabstrip label.tablabel:nth-of-type(5) .tabcount,
.tabbed .tabradio:nth-of-type(6):checked ~ .tabstrip label.tablabel:nth-of-type(6) .tabcount,
.tablabel.current .tabcount {
  background: var(--brand-deep);
  color: #ffffff;
}

/* Publishing: one form per destination, each saying what it will do. */
.destinations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1rem;
}
.destination {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}
.destination p { font-size: .9375rem; color: var(--ink-soft); margin: .75rem 0 0; }
.destination .lacking { color: var(--bad); }
.destination .button[disabled] { opacity: .55; cursor: not-allowed; }

/* The source site's photograph. */
.sourceshot {
  display: block;
  width: 100%;
  max-width: 46rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* The migration beside the site it came from.
   Two columns of equal width, because a comparison at two widths is not one:
   the same page at 1200 and at 1440 is two layouts, and a reader asked to
   allow for that is a reader who cannot trust what they are looking at.
   Each side scrolls on its own — a full-page photograph of a long site is
   several screens tall, and pinning both to the same scroll would need
   JavaScript for something a reader does perfectly well by hand. */
.compare { display: grid; gap: 2.5rem; }
.comparerow { margin: 0; }
.comparehead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  font-size: 1rem;
}
.comparepath {
  font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 0.85rem;
  color: var(--ink-soft);
}
/* One block per screen. A responsive site is two designs rather than one drawn
   narrower — the menu collapses behind a button, a row of cards becomes a stack
   — so the pairs are stacked under a heading that says which screen, and how
   wide it was photographed. */
.comparescreen { margin: 0 0 1.5rem; }
.comparescreen:last-of-type { margin-bottom: 0; }
.comparescreenhead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  /* --ink rather than --ink-soft: this line is what tells a reader which of
     two designs they are looking at, which is not decoration. */
  color: var(--ink);
}
.comparewidth {
  font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 0.75rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
}
.comparepair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}
/* One picture taken again on its own. Under the picture rather than beside the
   caption: the caption says what the picture is, and a button in the middle of
   that sentence is read as part of it. */
.compareretake { margin: 0.4rem 0 0; }
/* A phone's picture is a tall narrow strip, and stretched to half the row it is
   a column of unreadable pixels. Held to the shape it was taken in. */
.comparescreen--mobile .compareside img { max-height: 40rem; object-fit: contain; }
.compareside { margin: 0; min-width: 0; }
.compareside figcaption {
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  /* Not --ink-soft: this line says which half of the pair it is and when it
     was taken, which is the caption a comparison is read against. */
  color: var(--ink);
}
.compareside img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 34rem;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.comparemissing {
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--ink-soft);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

/* What the measurement found, under the pair it is about — because a sentence
   naming "0-840 px from the top" is only useful beside the picture a reader can
   count those pixels on. */
.comparefindings {
  margin: 0.75rem 0 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 0.9rem;
}
.comparefindings h4,
.comparefindings h5 {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.comparefindings ul { margin: 0; padding-left: 1.1rem; }
.comparefindings li { margin: 0.15rem 0; }
.comparefindings--empty { color: var(--ink-soft); }
/* Which reports somebody is about to paste somewhere else. The row sits above
   the pairs because that is where the button is looked for, and it is hidden
   until the script has run: without it the boxes do nothing, and a control that
   does nothing is worse than one that is not there. */
.comparepicks {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin: -1rem 0 1.5rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 0.9rem;
}
/* `display:flex` above is an author rule and would beat the browser's own
   `[hidden]{display:none}`, so the row would show before the script has made it
   mean anything. Said again here, where it wins. */
.comparepicks[hidden], .comparepick[hidden] { display: none; }
/* The box and its word travel together: a checkbox with its label a line away
   is a checkbox somebody misses on a phone, where the target is a fingertip. */
.comparepick {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.comparepick input { width: 1rem; height: 1rem; margin: 0; cursor: pointer; }
/* The one on a pair's own heading is quieter than the heading it stands in:
   it labels a choice, not the section. */
.comparefindings .comparepick { margin-right: 0.6rem; font-size: 0.8rem; color: var(--ink-soft); }
.comparepickcount { margin-left: auto; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
/* Nothing picked is nothing to copy, and a button that would copy nothing says
   so by being unpressable rather than by doing nothing when pressed. */
.comparepicks button[disabled] { opacity: 0.55; cursor: not-allowed; }

/* Why the better half of the answer is missing. Not an error — the pictures
   still said something — so it reads as a note rather than a warning. */
.comparesilent {
  margin: 0.6rem 0 0;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}
/* The control that takes an added page back out, on the heading it belongs to
   rather than under the pair, where it would read as "remove these pictures". */
.compareremove { display: inline; margin-left: auto; }

/* When it was measured, beside what was measured — the two pages it is about
   both move, so a finding without a time is one nobody can date. */
.comparewhen {
  margin-left: 0.5rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
/* Both addresses, so a finding is checked where it is. */
.comparelinks { margin: 0 0 0.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }
/* The report as text, folded away: somebody pasting it into a bug report wants
   it, and everybody else wants the sentences above. */
.comparereport { margin-top: 0.6rem; }
.comparereport > summary { cursor: pointer; color: var(--ink-soft); }
.comparereport textarea {
  display: block;
  width: 100%;
  margin: 0.5rem 0;
  padding: 0.5rem;
  font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  resize: vertical;
}

/* On a narrow screen the two stack, which is the only honest thing to do: two
   photographs squeezed into half a phone are two things nobody can read. */
@media (max-width: 48rem) {
  .comparepair { grid-template-columns: 1fr; }
}



/* A switch.
   The checkbox is still the control — it posts with the form, it takes focus, it
   answers to space — and the track and knob are drawn around it. The word beside
   it stays, because a position alone is not an answer for somebody who cannot
   see which end the knob is at. */
.switch {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: auto;
  padding: .5rem .7rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: var(--surface-sunken);
  cursor: pointer;
  font-size: .9375rem;
  user-select: none;
}
.switch:hover { border-color: var(--brand); }

/* The real control, kept where it is rather than hidden: a display:none input is
   an input no assistive technology can reach. */
.switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  margin: 0;
}

.switch .track {
  position: relative;
  flex: 0 0 auto;
  width: 2.5rem;
  height: 1.375rem;
  border-radius: 999px;
  background: var(--line);
  transition: background .15s;
}
.switch .knob {
  position: absolute;
  top: .1875rem;
  left: .1875rem;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 1px 2px rgb(0 0 0 / .35);
  transition: transform .15s;
}
.switch input:checked + .track { background: var(--good); }
.switch input:checked + .track .knob { transform: translateX(1.125rem); }
.switch input:focus-visible + .track {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.switch .says { color: var(--ink-soft); }
.switch input:checked ~ .says { color: var(--good); font-weight: 600; }

/* The source photograph, with the caption that makes it evidence. */
.sourcefigure { margin: 0; max-width: 46rem; }
.sourcefigure figcaption {
  margin-top: .5rem;
  font-size: .875rem;
  color: var(--ink-soft);
}

/* The panel's own heading row, so a tab's contents have a top edge. */
.tabpanel .cards { align-items: stretch; }

/* The list of projects.
   The thumbnail is the column that makes the table readable: eleven rows of
   hostnames all look alike, and eleven small pictures do not. */
.projectlist td { vertical-align: middle; }
.thumbcell { width: 7.5rem; padding-right: 1rem; }
.thumb {
  display: block;
  width: 6.5rem;
  height: 4.5rem;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--line);
  border-radius: .375rem;
  background: var(--surface);
}
.thumb-none {
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  font-size: .875rem;
}
.badge.ok { background: var(--good); color: #ffffff; }
.projectlist .quiet-cell { font-size: .8125rem; }



/* The settings page.
   One column of rows inside a panel, the shape every hosting console has settled
   on — Cloudflare, GitHub, Stripe all draw a setting as words on the left and its
   answer on the right, divided by a hairline. A grid of equal cards looks tidier
   in a screenshot and reads worse: the eye has to hunt across it instead of
   running down one edge, and no two cards agree on where the control is. */
/* The settings run the width of the shell. They were 60rem, which put nine tab
   labels on two lines and a 20rem control column against the text beside it —
   the strip is a row of choices, and a row that wraps stops reading as one. */
.settingspage { max-width: none; }

/* Two levels of navigation, and they must not look alike.
   The project's tabs stay tabs. The settings *sections* become a sidebar — which
   is where GitHub, Vercel and Netlify all keep them, and for the same two
   reasons: nine sections do not fit across a row without scrolling, and a form
   whose label and control are a screen apart is a form nobody reads across.
   Drawn as one row of tabs above another, the page said the two levels were
   equals. They are not: one says which page you are on, the other which part of
   it. */
@media (min-width: 60rem) {
  .settingspage .tabbed {
    display: grid;
    grid-template-columns: 14rem minmax(0, 1fr);
    gap: 0 2rem;
    align-items: start;
    margin-top: 1.5rem;
  }
  /* Scoped to the form, not to the page: the project's own tabs sit above it and
     stay a row. Turning every strip on this page vertical would have made the
     level that says *which page you are on* into a second sidebar. */
  .settingspage .tabbed .tabstrip {
    grid-column: 1;
    grid-row: 1;
    flex-direction: column;
    gap: .125rem;
    margin: 0;
    padding-right: .75rem;
    border-bottom: none;
    border-right: 1px solid var(--line);
    overflow: visible;
  }
  /* The radios are out of flow, so the strip and the panels are the only grid
     items — every panel in one cell, where exactly one of them is shown. */
  .settingspage .tabbed .tabpanel { grid-column: 2; grid-row: 1; padding-top: 0; }
  .settingspage .tabbed .savebar { grid-column: 1 / -1; grid-row: 2; }

  /* A row in a list, not a folder tab: lighter, smaller, and with its count at
     the far edge so the names line up on the left. */
  .settingspage .tabbed .tablabel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .45rem .6rem;
    font-size: .875rem;
    font-weight: 500;
    border: 1px solid transparent;
    border-radius: var(--radius);
    /* A bar along the top of a row in a column points at nothing, so it moves to
       the leading edge. */
    --tab-accent: inset 3px 0 0 var(--brand);
  }
}

/* Narrow: back to one row, still smaller than the level above it. */
@media (max-width: 59.999rem) {
  .settingspage .tabbed .tablabel { font-size: .875rem; padding: .45rem .7rem; }
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
}

.setting {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  gap: 1.5rem;
  align-items: start;
  padding: 1.125rem 1.25rem;
  border-top: 1px solid var(--line);
}
.setting:first-child { border-top: none; }
.setting:hover { background: var(--surface); }

.setting-words { min-width: 0; }
.setting-label {
  display: block;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--ink);
  cursor: pointer;
}
.setting-help {
  margin: .25rem 0 0;
  font-size: .875rem;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 46ch;
}

/* Every control the same width and the same edge, so a column of them reads as a
   column rather than as a ragged margin. */
.setting-control { justify-self: end; width: 100%; }
.setting-control input[type="text"],
.setting-control input[type="number"],
.setting-control select {
  width: 100%;
  padding: .5rem .7rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: var(--surface-sunken);
  color: var(--ink);
  font: inherit;
  font-size: .9375rem;
}
.setting-control input.narrow { width: 8rem; }

/* A setting that is a small map: a name and a value per line, and blank lines at
   the end so there is always somewhere to add one. It needs the width a single
   control does not, so its row gives up the two-column shape. */
.setting.wide { grid-template-columns: minmax(0, 1fr); }
.pairs { display: grid; gap: .4rem; }
.pairrow { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: .4rem; }
.pairrow input { font-family: var(--mono); font-size: .875rem; }
.setting-control input:focus-visible,
.setting-control select:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
  background: var(--paper);
}
.setting-control select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
                    linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 1rem) 55%, calc(100% - .7rem) 55%;
  background-size: .3rem .3rem, .3rem .3rem;
  background-repeat: no-repeat;
  padding-right: 2rem;
}

/* A switch in a row needs no box of its own: the row is the box. */
.setting-control .switch {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
}

/* The save bar follows the page down. Fifty-five settings is more than a screen,
   and a button at the bottom of a long form is a button nobody finds. */
.savebar {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1.5rem;
  padding: .875rem 0;
  background: linear-gradient(to top, var(--paper) 70%, transparent);
}
.savebar-note { color: var(--ink-soft); font-size: .875rem; }

/* One column below a laptop: the control under its words rather than squeezed
   beside them. */
@media (max-width: 46rem) {
  .setting { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .setting-control { justify-self: stretch; }
  .setting-control input.narrow { width: 100%; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   The parts added once the service had more than one page to show.
   ───────────────────────────────────────────────────────────────────────────── */

/* Beta, in the masthead. Small, and next to the name rather than floating: this
   service is being changed under the people using it, and saying so once at the
   top is more honest than a banner nobody reads twice. */
.beta {
  align-self: center;
  padding: 0.05rem 0.35rem;
  border: 1px solid currentColor;
  color: var(--accent-text);
  font: 600 0.625rem/1.5 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* The flow: four things this service does, in the order it does them.
   A rail with a hairline through it and small numerals on the line — the shape a
   printed sequence has. Boxes with coloured circles in them is the other
   thing. */
.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flowstep;
  border-top: 1px solid var(--line);
}
.flow li {
  position: relative;
  padding: 1.5rem 0 0;
}
/* The numeral sits on the rule, so the rule reads as the sequence rather than as
   a border that happens to be there. */
.flow li::before {
  counter-increment: flowstep;
  content: counter(flowstep, decimal-leading-zero);
  position: absolute;
  top: -0.65rem;
  left: 0;
  padding-right: 0.6rem;
  background: var(--paper);
  color: var(--accent-text);
  font: 600 0.75rem/1 var(--mono);
  letter-spacing: 0.05em;
}
.flow b { display: block; margin: 0 0 0.35rem; font-size: 0.9375rem; letter-spacing: -0.01em; }
.flow span { color: var(--ink-soft); font-size: 0.875rem; }

/* The optional fifth: not a step, an offer. It hangs off the same rail, marked
   by its label rather than by a coloured panel. */
.flow-aside {
  margin: 2rem 0 0;
  padding: 0 0 0 1rem;
  border-left: 2px solid var(--brand);
  color: var(--ink-soft);
  font-size: 0.9375rem;
}
.flow-aside b {
  display: block;
  color: var(--ink);
  font: 600 0.6875rem/1.6 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* The footer: three columns of what this is, and a thin legal line under them. */
.colophon-inner { display: grid; gap: 2rem; }
.colophon-cols {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}
.colophon h4 {
  margin: 0 0 0.5rem;
  color: var(--ink);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.colophon ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.35rem; }
.colophon-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
}
.colophon-legal .spacer { margin-left: auto; }

/* A page of legal prose: one column, generous line length, nothing else. */
.prose { max-width: 44rem; margin: 0 auto; }
.prose h2 { font-size: 1.75rem; letter-spacing: -0.02em; margin: 0 0 0.5rem; }
.prose h3 { margin: 2rem 0 0.5rem; font-size: 1.0625rem; }
.prose p, .prose li { color: var(--ink); }
.prose .updated { color: var(--ink-soft); font-size: 0.875rem; margin: 0 0 2rem; }
/* The quieter of two buttons side by side: an outline in the brand colour on
   the page's own ground, 4.6:1 on light and 7:1 on dark. */
.button.ghost { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); margin-left: .75rem; }

/* The filter bar over a list: search, two narrowings, an order. It is a plain
   form that submits with a button, so it works before any script runs. */
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.filters label { display: grid; gap: 0.25rem; font-size: 0.8125rem; color: var(--ink-soft); }
.filters input, .filters select {
  padding: 0.5rem 0.65rem;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink-soft);
  border-radius: 0.5rem;
}
.filters .grow { flex: 1 1 14rem; }
.filters input:focus-visible, .filters select:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}

/* The pager under it. "21–40 of 63" first, because the count is the thing people
   actually read; the arrows are for moving. */
.pager {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.pager .pages { margin-left: auto; display: flex; gap: 0.4rem; }
.pager a, .pager span.here {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  text-decoration: none;
}
.pager span.here { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.pager .off { opacity: 0.45; }

/* The project's head: its name and state on the left, the two things somebody
   came to press on the right, on one line. It was a heading with a row of
   buttons under it — which cost a whole band of the page, and disappeared the
   moment somebody opened settings. */
.projecthead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.5rem;
}
.projecthead h2 {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
/* The name is a link back to the project, which is what makes it useful on the
   settings page — and it should not look like prose that happens to be blue. */
.projecthead h2 a { color: inherit; text-decoration: none; }
.projecthead h2 a:hover { text-decoration: underline; }
.projecthead-does { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.projecthead-does form { margin: 0; }

/* Every control in this row is one height, and the height is stated rather than
   arrived at.
   It used to come out of each button's own padding, which meant a variant with
   a border measured differently from one without and the row sat crooked — the
   red button a few pixels taller than the one beside it. So: the height is the
   min-height, the padding only sets the sides, and the base carries a
   transparent border so a bordered variant takes up exactly the same room. */
.projecthead-does .button {
  min-height: 2.75rem;
  padding: 0 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  border: 1px solid transparent;
  white-space: nowrap;
}
.projecthead-does .button.quiet { border-color: var(--ink-soft); }

/* Migrate again, and the two halves folded under it: one split button, the
   shape every console uses for "this, or a variant of this".
   The primary action keeps its own label and the caret is a segment joined to
   its right edge — squared off where they meet, a hairline seam between them —
   so it reads as one control with a second half rather than as two buttons that
   happen to be adjacent. A `details` rather than a menu, because these pages
   have no script; the list is positioned over the page, so opening it does not
   push the row around. */
.runform { display: flex; align-items: center; gap: .6rem; }
.splitrun { display: inline-flex; align-items: stretch; position: relative; }
.splitrun > .button {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.halves { display: flex; }
.halves > summary {
  list-style: none;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  margin-left: 1px;
  padding: 0 .7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.halves > summary::-webkit-details-marker { display: none; }
.halves > summary:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
/* The caret turns over when the list is open: the one thing that says, without
   a word, which way this control is about to go. */
.halves .caret { transition: transform .15s ease; }
.halves[open] .caret { transform: rotate(180deg); }
.halveslist {
  position: absolute;
  z-index: 5;
  top: calc(100% + .35rem);
  right: 0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: .5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 .5rem 1.5rem rgb(0 0 0 / 12%);
}
/* Menu items, so they read down the list rather than each floating in the
   middle of its own row. */
.halveslist .button { white-space: nowrap; justify-content: flex-start; text-align: left; }
.halveslist .button.small { padding: .55rem .9rem; font-weight: 500; }

/* Kept for the pages that still put a row of actions in a band of their own. */
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 2rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.actions form { margin: 0; }
/* What the project does, and what its preview does, are two different subjects
   in one bar. A divider says so — without it the row reads as six unrelated
   buttons of six different widths. */
.preview-group {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-left: auto;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}
/* Buttons of one height, whatever is written on them. */
.actions .button { min-height: 2.5rem; display: inline-flex; align-items: center; }

/* A field somebody copies. The value is selectable and monospaced, the button
   next to it does the copying, and the field still reads without any script. */
.copyrow { display: flex; gap: 0.5rem; align-items: stretch; }
.copyrow input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.7rem;
  font: 0.875rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--ink);
  background: var(--surface-sunken);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

/* The custom-domain card: what to point where. The two rows are a DNS record, so
   they are laid out like one. */
.dns {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 0;
  font: 0.875rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.dns th {
  text-align: left;
  font: 600 0.75rem/1.5 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0 0.75rem 0.35rem 0;
}
.dns td { padding: 0.35rem 0.75rem 0.35rem 0; border-top: 1px solid var(--line); }

/* A section's label: small, spaced, monospaced. It names a part of the page
   without competing with the thing in it, which is what a 1.25rem bold heading
   over every block ends up doing. */
.label {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font: 600 0.6875rem/1.6 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Numbers in a table are read down a column, so they are monospaced and lined
   up on the right where they can be compared at a glance. */
.roster td.num, .roster th.num { text-align: right; font-family: var(--mono); font-size: 0.875rem; }

/* A note under a tab: what the panel is, before the thing itself. */
.tabnote { color: var(--ink-soft); font-size: .9375rem; margin: 0 0 .75rem; }

/* A migration in progress, said without words.
 *
 * It is a `<label>` pointing at the log tab's radio, so clicking it opens the
 * log with no script at all — the same mechanism the tabs themselves use. On the
 * projects list, where there is no radio to point at, it is an ordinary link to
 * the project's own page. */
.working {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  color: var(--accent-text);
  font: 600 .75rem/1.5 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
}
.working::before {
  content: "";
  width: .85rem;
  height: .85rem;
  border: 2px solid var(--line);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: turning .7s linear infinite;
}
.working:hover { color: var(--ink); }
.working:hover::before { border-top-color: var(--ink); }

@keyframes turning { to { transform: rotate(360deg); } }

/* Somebody who asked not to be spun at gets a pulse instead — still moving, so
   it still reads as "something is happening", without the rotation. */
@media (prefers-reduced-motion: reduce) {
  .working::before {
    animation: breathing 1.6s ease-in-out infinite;
    border-top-color: var(--brand);
  }
  @keyframes breathing { 50% { opacity: .25; } }
}

/* In a table cell the label is the whole state, so it needs no second word. */
.roster .working { font-size: .6875rem; }

/* An admin changing a plan where the plan is stated: a select and a button,
   inline, so the fact stays a fact and does not become a form. */
.planpick { display: flex; gap: .4rem; align-items: center; }
.planpick select {
  padding: .3rem .45rem;
  font: inherit;
  font-size: .875rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink-soft);
  border-radius: .35rem;
}

/* A tab panel that has something to say and something to press. */
.tabhead { display: flex; align-items: flex-start; gap: 1rem; }
.tabhead .tabnote { flex: 1; }

/* The one button here that takes something away. Red enough to be read as a
   different kind of thing, not red enough to look like an error. */
.button.danger { background: var(--bad); color: #ffffff; }
.button.danger:hover { background: #8f1a1a; color: #ffffff; }

/* The arrow that leaves the panel. Small, and only where there is something to
   open: a link to a preview that is switched off is a link to a 404. */
.visit {
  display: inline-block;
  margin-left: .35rem;
  padding: 0 .3rem;
  border-radius: .25rem;
  color: var(--accent-text);
  text-decoration: none;
  font-size: .8125rem;
}
.visit:hover { background: var(--surface-sunken); }

/* A form that is a column of labelled fields rather than a row. */
.stack { display: grid; gap: 1rem; max-width: 26rem; margin: 1.5rem 0; }
.stack.wide { max-width: 34rem; }
.stack .pair { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.stack label { display: grid; gap: .35rem; font-size: .9375rem; }
.stack input {
  padding: .7rem .8rem;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink-soft);
  border-radius: .5rem;
}
.stack input:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.stack .hint { color: var(--ink-soft); font-size: .8125rem; }
.stack .button { justify-self: start; }

/* A row that gives somebody access: an address, a level, a button. */
.shareform { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; max-width: 34rem; }
.shareform input, .shareform select {
  padding: .55rem .7rem;
  font: inherit;
  font-size: .9375rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink-soft);
  border-radius: .5rem;
}
.shareform input { flex: 1 1 16rem; }

/* A preview that asks for a password, and one that is asleep. Both are said in
   words as well: an icon alone is a thing people guess at. */
.locked { margin-left: .3rem; font-size: .8125rem; }
.state[data-state="sleeping"] { color: var(--ink-soft); border-color: var(--line); }
.state[data-state="migrated"] { color: var(--accent-text); border-color: var(--accent-text); }
/* The crawl queue's states, on the same tokens as a project's: a crawled site
   reads as a live one, a crawl in progress as a migration, a skipped site as a
   sleeping preview. */
.state[data-state="done"] { color: var(--good); border-color: var(--good); }
.state[data-state="crawling"] { color: var(--brand); border-color: var(--brand); }
.state[data-state="skipped"] { color: var(--ink-soft); border-color: var(--line); }
.queuecounts { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0 0 1rem; padding: 0; }
.queuecounts a { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; color: var(--ink); }
.queuecounts a[aria-current="true"] { font-weight: 600; }
.filters.crawler { align-items: end; margin-bottom: 1rem; }
.crawler-state { margin: 0; align-self: center; display: flex; gap: .4rem; align-items: center; }

/* A site somebody cannot have, and the request that is the way past it. Set
   apart from the form above rather than dressed as an error: being told the site
   is already here is an answer, not a mistake to correct. */
.taken {
  max-width: 34rem;
  margin: 1.5rem auto 0;
  padding: 1.25rem 1.5rem;
  text-align: left;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand-deep);
  border-radius: var(--radius);
  background: var(--surface);
}
.taken h2 { margin: 0 0 .5rem; font-size: 1.05rem; }
.taken p { margin: 0 0 1rem; font-size: .9rem; color: var(--ink-soft); }
.taken .shareform { margin: 0; }

/* People waiting, on the tab and in it. */
/* Same pairing as .badge.admin, whose contrast is already accounted for. */
.tabcount.asking { background: var(--brand-deep); color: #ffffff; }
.asking-head { margin: 2rem 0 .5rem; font-size: 1rem; }
.asking-head:first-child { margin-top: 0; }
.decide { display: flex; gap: .4rem; justify-content: flex-end; flex-wrap: wrap; }

/* A refused attempt, beside .badge.ok. Both are read at a glance down a column,
   so they are colour *and* a word — a table where the only difference is hue is
   a table somebody colour-blind reads as one thing. */
.badge.bad { background: var(--bad); color: #ffffff; }

/* What a browser says about itself runs long, and nobody reads past the front
   of one. */
.roster .agent {
  max-width: 18rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* One panel, two ways to begin — with a console's manners.
   Blocks of colour down one side turning a rounded corner, labels set in the
   monospaced face, and the chosen one filled rather than underlined. The palette
   is this service's own: the shape is borrowed, the colours are not.

   Every value below was measured against the panel's ground rather than guessed
   at, because a translucent panel over a photograph is exactly where contrast
   quietly fails. It is opaque now for the same reason. */
/* Three beams running around the frame.
   Each is a cone of light on an oversized square, spinning behind the panel; the
   panel is opaque and sits on top, so all that shows is the sliver sticking out
   past its edge — a line of light travelling the border rather than a cloud
   sitting behind it.

   They are blended with `screen`, which is what light does: two crossing make
   the sum of both, all three make white. And the three speeds share no common
   factor, so the pattern takes minutes to come round rather than seconds. */
/* The wrapper is the panel's size, not the hero's.
   Left full width, the ring around it was full width too — so the beams were
   clipped to the whole band and what showed was a coloured wedge reaching the
   edge of the page. The panel's measurements live here now and the panel fills
   it. */
.launchbox {
  position: relative;
  isolation: isolate;
  /* Wide enough for four tabs in one row at a size a person can read, and for
     a field and its button side by side. */
  max-width: 64rem;
  margin: 2.25rem auto 0;
}
.launchglow {
  position: absolute;
  /* The width of the beam, and the whole of how far it may travel from the
     panel: everything inside this is covered, everything outside is not drawn.
     A laser that drifts off the edge is a glow, which is the other thing. */
  inset: -2px;
  z-index: -1;
  border-radius: calc(1.25rem + 2px) var(--radius) var(--radius) calc(1.25rem + 2px);
  /* Both, and the clip-path is the one that does the work. `overflow: hidden`
     alone let the cones out: a filter on this element and a blend mode on its
     children is enough for a browser to composite them outside it, and what
     showed was three coloured wedges the width of the page. A clip-path is
     geometry rather than a hint. */
  overflow: hidden;
  clip-path: inset(0 round calc(1.25rem + 2px) var(--radius) var(--radius) calc(1.25rem + 2px));
  pointer-events: none;
}
/* Softened, so it reads as light rather than as a coloured edge — and so the
   three colours bleed into one another where they cross instead of meeting at a
   hard line. The blur stays inside the ring, which is why this glow never
   reaches the paragraph above: a glow that lands on text is a contrast problem
   wearing a nice coat. */
.launchglow span {
  position: absolute;
  filter: blur(.5px);
  /* Larger than the box's diagonal, so the cone covers every edge as it turns. */
  top: -75%;
  left: -75%;
  width: 250%;
  height: 250%;
  mix-blend-mode: screen;
  animation: sweeping 6s linear infinite;
}
/* A short arc of each colour and nothing else the rest of the way round. */
.launchglow span:nth-child(1) {
  background: conic-gradient(from 0deg, transparent 0 80%, #ff2f4a 87%, #ff2f4a 89%, transparent 95%);
  animation-duration: 3.7s;
}
.launchglow span:nth-child(2) {
  background: conic-gradient(from 0deg, transparent 0 80%, #14e07a 87%, #14e07a 89%, transparent 95%);
  animation-duration: 5.3s;
  animation-direction: reverse;
}
.launchglow span:nth-child(3) {
  background: conic-gradient(from 0deg, transparent 0 80%, #2f6bff 87%, #2f6bff 89%, transparent 95%);
  animation-duration: 8.1s;
}

@keyframes sweeping {
  to { transform: rotate(360deg); }
}

/* Somebody who asked not to be moved gets a still rim rather than a race: the
   three beams stop where they are, and where they overlap they still mix. */
@media (prefers-reduced-motion: reduce) {
  .launchglow span { animation: none; }
  .launchglow span:nth-child(1) { transform: rotate(35deg); }
  .launchglow span:nth-child(2) { transform: rotate(155deg); }
  .launchglow span:nth-child(3) { transform: rotate(275deg); }
}

.launch {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  text-align: left;
  /* Near-black, and solid: white on it is 19.1:1, the sky 11.5:1, the muted
     slate 7.5:1. Over the photograph none of those held. */
  background: #04101d;
  border-radius: 1.25rem var(--radius) var(--radius) 1.25rem;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.45);
  /* Clipped only where the corner is rounded — the rows themselves are `auto`,
     so text that grows makes the panel taller instead of being cut off by it.
     A fixed height here would fail 1.4.12 the moment anybody enlarged type. */
  overflow: hidden;
}
.launch .wayradio { position: absolute; opacity: 0; pointer-events: none; }

.waystrip {
  grid-column: 1 / -1;
  /* One row, always: a tab on a second row reads as something else. Flex with
     no wrapping rather than a grid, so nothing about the count can break it. */
  display: flex;
  flex-wrap: nowrap;
  gap: .4rem;
  padding: .4rem .4rem 0;
}
.waylabel {
  /* 0.8rem of padding on 0.6875rem text is a target 44px tall — WCAG 2.5.8 asks
     for 24, and a thumb asks for more. */
  flex: 1 1 0;
  min-width: 0;
  white-space: nowrap;
  /* Flat rather than tall: a strip of tabs, not a row of tiles. Still 40px
     high on 13px text, which is what a thumb needs. */
  padding: .7rem .75rem;
  text-align: center;
  cursor: pointer;
  /* Readable at arm's length: the captions were 10px, smaller than anything
     else on the page, and the tab strip is the first thing the panel says. */
  font: 600 .8125rem/1.6 var(--mono);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #7dd3fc;
  background: rgba(125, 211, 252, 0.1);
  border-radius: var(--radius) var(--radius) 0 0;
}
.waylabel:hover { background: rgba(125, 211, 252, 0.2); color: #ffffff; }

/* Both panels in one cell, and the hidden one keeps its space.
   `display: none` took it out of the grid, so the panel changed height when
   somebody switched — and a hero whose height changes is a photograph that
   jumps under the cursor of the person who just clicked. */
.waypanel {
  grid-column: 1;
  grid-row: 2;
  visibility: hidden;
  /* Room around the fields, in ems of the panel's text: a form pressed against
     its own frame reads as cramped, and 1.4.12 wants text that can grow
     without touching anything. */
  padding: 1.5rem 1.5rem 1.5rem;
  margin: 0;
}
.wayfield {
  display: block;
  /* Far enough from the field to read as its label rather than as something
     resting on it. Every measure in this panel is in ems of its own text, so a
     visitor who enlarges type keeps the proportions rather than the cramping —
     which is what WCAG 1.4.12 is really asking for. */
  margin: 0 0 .7em;
  /* The heading of its panel: larger and whiter than the note under the
     field, which is the aside. It was the other way round. */
  font: 700 1.1875rem/1.5 var(--mono);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #ffffff;
}
/* Field over button on a phone, side by side once there is room. A submit button
   squeezed next to an input at 360px is a button nobody can read and a field
   nobody can type a domain into. */
.wayrow { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.wayrow:last-of-type { margin-bottom: 0; }
.wayrow .button { justify-content: center; }
.wayrow input {
  min-width: 0;
  padding: .8rem 1.1rem;
  font: inherit;
  font-size: 1.0625rem;
  /* Both fixed, and they have to be. The field is white whatever the visitor's
     theme is — it sits on the panel's own near-black, not on the page — so the
     text cannot be `--ink`, which turns near-white in the dark and left people
     typing at 1.2:1 into a white box. This pairing is 18.7:1 in both themes. */
  color: #0b1220;
  background: #ffffff;
  border: 1px solid transparent;
  border-radius: .5rem;
}
.wayrow input:focus-visible { outline: 2px solid #7dd3fc; outline-offset: 2px; }
/* Said again with the panel's own name, because a rule further down sets every
   `.wayrow input` on the site to 13px monospaced — right for a settings table,
   and what made the front page's field a tall white box with tiny text in it. */
.launch .wayrow input { font-family: inherit; font-size: 1.0625rem; }
.launch .wayrow input[type="file"] { font-size: 1rem; }
/* The file picker's own button, in the panel's colours rather than the browser's. */
.wayrow input[type="file"] { padding: .55rem .75rem; cursor: pointer; }
.wayrow input[type="file"]::file-selector-button {
  margin-right: .75rem;
  padding: .3rem .7rem;
  border: 1px solid rgba(125, 211, 252, 0.5);
  border-radius: .35rem;
  background: rgba(125, 211, 252, 0.15);
  color: #e0f2fe;
  font: inherit;
  cursor: pointer;
}
.wayrow .button { white-space: nowrap; }
.waynote {
  /* Two ems under the field: 1.4.12 asks that a paragraph tolerate spacing of
     twice its own size, and a note that starts out touching the thing above it
     has nowhere to go when somebody asks for that. */
  margin: .9em 0 0;
  font-size: .875rem;
  line-height: 1.6;
  /* Quieter than the heading: 7.5:1 on the panel, readable and secondary. */
  color: #94a3b8;
}

/* Everything the panel gains when there is room for it: the rail down the side,
   the corner it turns, and the field with its button beside it rather than
   above. */
@media (min-width: 30rem) {
  .wayrow { grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; }
  /* Two fields and the button in one row, so every panel is one row tall and
     the hidden ones — which keep their place — leave no empty room below. */
  .wayrow.pair { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto; }
}
/* On a phone four captions in one row would be four words cut short, so the
   strip goes two by two there and back to one row where there is room. */
@media (max-width: 40rem) {
  .waystrip { flex-wrap: wrap; }
  .waylabel { flex-basis: calc(50% - .4rem); }
}
@media (min-width: 40rem) {
  .waypanel { padding: 2rem 2.75rem 2rem; }
  .wayrow .button { padding: .85rem 2rem; font-size: 1.0625rem; }
}

/* The chosen one is filled, and its words go dark: white on this blue is 2.8:1
   and fails; the panel's own near-black on it is 6.9:1 and does not. */
.launch .wayradio:nth-of-type(1):checked ~ .waystrip label.waylabel:nth-of-type(1),
.launch .wayradio:nth-of-type(2):checked ~ .waystrip label.waylabel:nth-of-type(2),
.launch .wayradio:nth-of-type(3):checked ~ .waystrip label.waylabel:nth-of-type(3),
.launch .wayradio:nth-of-type(4):checked ~ .waystrip label.waylabel:nth-of-type(4) {
  background: var(--brand);
  color: #04101d;
}
.launch .wayradio:nth-of-type(1):checked ~ .waypanel:nth-of-type(1),
.launch .wayradio:nth-of-type(2):checked ~ .waypanel:nth-of-type(2),
.launch .wayradio:nth-of-type(3):checked ~ .waypanel:nth-of-type(3),
.launch .wayradio:nth-of-type(4):checked ~ .waypanel:nth-of-type(4) { visibility: visible; }

/* A label reached by keyboard has to say so: the radio itself is invisible, so
   the ring goes on the label standing in for it. */
.launch .wayradio:focus-visible ~ .waystrip label.waylabel { outline: 1px dashed rgba(125, 211, 252, 0.5); }
.launch .wayradio:nth-of-type(1):focus-visible ~ .waystrip label.waylabel:nth-of-type(1),
.launch .wayradio:nth-of-type(2):focus-visible ~ .waystrip label.waylabel:nth-of-type(2),
.launch .wayradio:nth-of-type(3):focus-visible ~ .waystrip label.waylabel:nth-of-type(3),
.launch .wayradio:nth-of-type(4):focus-visible ~ .waystrip label.waylabel:nth-of-type(4) {
  outline: 2px solid #7dd3fc;
  outline-offset: 2px;
}

/* How much of a log at a time. It lives in the pager, so it reads as part of the
   same control rather than as a setting somewhere else. */
.pager .perpage { display: flex; align-items: center; gap: .5rem; margin: 0 0 0 1rem; }
.pager .perpage label { display: flex; align-items: center; gap: .4rem; font-size: .8125rem; }
.pager .perpage select {
  padding: .25rem .4rem;
  font: inherit;
  font-size: .8125rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: .375rem;
}

/* What goes in and what comes out, moving.
   Two lanes, each carrying its names twice: the second run is what makes the
   scroll seamless, and it is hidden from anything reading the page aloud so
   nobody hears the list read out again. */
.strip { display: grid; gap: .5rem; }
.striprow {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: .6rem 0;
  border-top: 1px solid var(--line);
}
.stripwhat {
  font: 600 .6875rem/1.6 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
/* The lane is clipped to its row and faded at both ends, so names arrive and
   leave rather than appearing and stopping at an edge. */
.stripscroll {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 3rem, #000 calc(100% - 3rem), transparent);
}
.striplane {
  display: flex;
  width: max-content;
  animation: strip-along 42s linear infinite;
}
.striplane.reverse { animation-direction: reverse; }
.striplane span { display: flex; }
.striplane b {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: .45em;
  margin-right: .5rem;
  padding: .3rem .8rem .3rem .65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
}
/* The brand's own mark beside its name, the size of the text and its colour. */
.striplane .mark { width: 1.05em; height: 1.05em; flex: none; }

/* Half, because the lane holds the same names twice: at exactly one copy the
   loop restarts on an identical frame and the join is invisible. */
@keyframes strip-along { to { transform: translateX(-50%); } }

/* Somebody who asked not to be moved gets the names standing still, and the
   whole row scrolls by hand instead. */
@media (prefers-reduced-motion: reduce) {
  .striplane { animation: none; }
  .stripscroll { overflow-x: auto; mask-image: none; }
}

/* A section that has to land rather than be labelled.
   The small monospaced label is right over a strip of names; over the four steps
   and over the reason somebody would choose this at all, it read as a caption on
   something more important further down. There is nothing further down. */
.bighead {
  margin: 3.5rem 0 2rem;
  max-width: 22ch;
  font-size: clamp(1.75rem, 4.2vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.bighead em { font-style: normal; color: var(--accent-text); }
.bighead + .flow, .bighead + .cards { margin-top: 0; }
/* Inside a photographed band the band's own padding is the room above the
   heading; the heading's margin on top of that was twice the air. */
.hero.photo .bighead { margin-top: 0; }

/* And room around them, so the three bands of this page are three things rather
   than one long column. */
.hero + section { padding-top: .5rem; }
.cards + .label { padding-top: 1rem; }

/* The second and third bands, each with a picture behind it like the first.
   The images are placeholders — generated here rather than borrowed, so nothing
   on this page is somebody else's photograph. Replacing one is this line and a
   file in `static/`. */
.hero.photo.steps,
.hero.photo.why {
  margin-top: 0;
  color: #ffffff;
}
.hero.photo.steps {
  background-image:
    linear-gradient(180deg, rgba(4, 14, 28, 0.9) 0%, rgba(4, 14, 28, 0.82) 100%),
    url("hero-steps-placeholder.svg");
}
/* The second photograph, in the same three formats as the first and for the
   same reason. A lighter scrim than the placeholder had, so the tree shows;
   still 0.8 at the top where the heading sits, which keeps white over the
   brightest part of the picture past 7:1. */
.hero.photo.why {
  background-image:
    linear-gradient(180deg, rgba(4, 14, 28, 0.82) 0%, rgba(4, 14, 28, 0.66) 100%),
    url("tree.jpg");
  background-image:
    linear-gradient(180deg, rgba(4, 14, 28, 0.82) 0%, rgba(4, 14, 28, 0.66) 100%),
    image-set(url("tree.avif") type("image/avif"),
              url("tree.webp") type("image/webp"),
              url("tree.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center 40%;
}

/* On a picture the type has to carry itself: the numerals, the step titles and
   the card rules were all drawn for paper. */
.hero.photo .bighead { color: #ffffff; }
.hero.photo .bighead em { color: #7dd3fc; }
.hero.photo .flow { border-top-color: rgba(255, 255, 255, 0.25); }
.hero.photo .flow li::before { background: transparent; color: #7dd3fc; }
.hero.photo .flow b { color: #ffffff; }
.hero.photo .flow span { color: rgba(255, 255, 255, 0.8); }
.hero.photo .flow-aside { border-left-color: #7dd3fc; color: rgba(255, 255, 255, 0.82); }
.hero.photo .flow-aside b { color: #ffffff; }
.hero.photo .card { border-top-color: rgba(255, 255, 255, 0.3); }
.hero.photo .card h3 { color: #ffffff; }
.hero.photo .card p { color: rgba(255, 255, 255, 0.82); }

/* A column heading that orders the list. It reads as a heading until it is the
   one doing the ordering, and then it says so — a mark rather than a colour
   alone, because a table whose only difference is hue is a table somebody
   colour-blind reads as one thing. */
.sortby { color: inherit; text-decoration: none; }
.sortby:hover { color: var(--accent-text); text-decoration: underline; }
.sortby.on { color: var(--accent-text); }
.sortby.on::after { content: " \2193"; }

/* Server endpoints: a path, what it does, and where it goes. Same shape as the
   variables editor, with a menu in the middle. */
.ways { display: grid; gap: .4rem; }
/* Flex rather than a grid of fixed tracks: these tables have between two and
   four columns depending on which list is being edited, and the number is not
   known to the stylesheet. Equal shares, with a doubled share for the column
   that holds an address. */
.wayhead, .wayrow { display: flex; flex-wrap: wrap; gap: .4rem; }
.wayhead > *, .wayrow > * { flex: 1 1 7rem; min-width: 0; }
.wayhead > .wide, .wayrow > .wide { flex: 2 1 12rem; }
.wayhead span {
  font: 600 .625rem/1.6 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.wayrow input, .wayrow select { font-family: var(--mono); font-size: .8125rem; }

/* Two links, side by side, that stay side by side: a download is a choice
   between formats rather than two separate offers. */
.downloads { display: flex; gap: .35rem; flex-wrap: wrap; }

/* The workers tab.

   A row per worker, ticked or not, with what it does written out beside it. Not
   a grid of cards: the eye has to run down one edge to compare seven things, and
   a card layout makes it hunt. The whole row is the label, so the target is the
   row rather than a twelve-pixel box. */
.crew { display: grid; gap: .5rem; }
.crewman {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 12rem;
  gap: .75rem 1rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--surface);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.crewman:hover { border-color: var(--brand); }
.crewman.on { border-color: var(--brand); background: var(--brand-soft); }

/* The box is the checkbox itself, restyled — not a hidden input with a drawn
   stand-in beside it. A hidden one has to be pinned to no size to stay hidden,
   and anything pinned to no size is a thing that cannot grow when somebody
   enlarges the text. */
.crewman input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.25em; height: 1.25em;
  margin: .15em 0 0;
  border: 2px solid var(--brand);
  border-radius: .3em;
  background: var(--paper);
  display: grid; place-items: center;
  cursor: pointer;
  flex: none;
}
.crewman input[type="checkbox"]:checked { background: var(--brand); }
.crewman input[type="checkbox"]:checked::after {
  content: ""; width: .35em; height: .65em;
  border: solid var(--on-brand); border-width: 0 .16em .16em 0;
  transform: rotate(45deg) translate(-.05em, -.08em);
}
.crewman input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 2px;
}

.crewwords { display: grid; gap: .3rem; }
.crewname { font: 600 .9375rem/1.5 var(--mono); }
.crewdoes { font-size: .875rem; line-height: 1.6; color: var(--ink-soft); }
.crewneeds { font-size: .8125rem; line-height: 1.6; color: var(--ink-soft); font-style: italic; }
.crewroutes { font-family: var(--mono); font-size: .8125rem; }

@media (max-width: 40rem) {
  /* The paths box goes under the words rather than beside them: three columns
     in a phone's width leaves none of them usable. */
  .crewman { grid-template-columns: auto minmax(0, 1fr); }
  .crewroutes { grid-column: 2; }
}

/* The CSV row under the redirects table: a download, and an upload beside it. */
.fileways { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; margin-top: 1.25rem; }
.fileup { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.fileup input[type="file"] { font-size: .8125rem; max-width: 100%; }

/* The index switch, a step below the editor's own controls. */
.index { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }

/* The end of a project: set apart, and red only on the button that ends it.

   `:not(.button)` because both wear the word: the block that sets the deletion
   apart is `.danger`, and so is the red button inside it — and the button was
   taking the block's two rems of margin, its padding and its top border, which
   is why "Stop the migration" sat lower and taller than everything beside it. A
   class that means "this section" and a class that means "this control" cannot
   be the same word without one of them saying which. */
.danger:not(.button) { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.danger h3 { margin: 0 0 .5rem; }
.button.danger { background: var(--bad); color: var(--on-brand); border-color: var(--bad); }

/* The two ways to give a fresh site its code, on the project's own page. */
.sources { display: grid; gap: 1.25rem; margin: 1.5rem 0 2rem; }
.sourceform label { display: block; margin: 0 0 .5rem; font-weight: 600; }
.sources .wayrow { display: grid; gap: .75rem; }
.sources .wayrow input { min-width: 0; padding: .7rem .9rem; font: inherit; border: 1px solid var(--line); border-radius: .5rem; background: var(--paper); color: var(--ink); }
@media (min-width: 40rem) {
  .sources { grid-template-columns: 1fr 1fr; }
  .sources .wayrow { grid-template-columns: minmax(0, 1fr) auto; }
}

/* Publishing's own side navigation: six questions, one at a time. The chosen
   pane is shown by the same radio-and-sibling rule the tabs use. */
.pubnav { display: grid; gap: 1.5rem; }
.pubradio { position: absolute; opacity: 0; pointer-events: none; }
.pubside { display: flex; flex-wrap: wrap; gap: .35rem; }
.pubside label {
  padding: .55rem .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
}
.pubside label:hover { color: var(--ink); }
.pubpane { display: none; min-width: 0; }
.pubpane h3 { margin: 0 0 .5rem; }
.pubpane h4 { margin: 1.5rem 0 .5rem; }
.pubpane p { max-width: 40rem; }
.pubnav .pubradio:nth-of-type(1):checked ~ .pubpane:nth-of-type(1),
.pubnav .pubradio:nth-of-type(2):checked ~ .pubpane:nth-of-type(2),
.pubnav .pubradio:nth-of-type(3):checked ~ .pubpane:nth-of-type(3),
.pubnav .pubradio:nth-of-type(4):checked ~ .pubpane:nth-of-type(4),
.pubnav .pubradio:nth-of-type(5):checked ~ .pubpane:nth-of-type(5),
.pubnav .pubradio:nth-of-type(6):checked ~ .pubpane:nth-of-type(6),
.pubnav .pubradio:nth-of-type(7):checked ~ .pubpane:nth-of-type(7) { display: block; }
.pubnav .pubradio:nth-of-type(1):checked ~ .pubside label:nth-of-type(1),
.pubnav .pubradio:nth-of-type(2):checked ~ .pubside label:nth-of-type(2),
.pubnav .pubradio:nth-of-type(3):checked ~ .pubside label:nth-of-type(3),
.pubnav .pubradio:nth-of-type(4):checked ~ .pubside label:nth-of-type(4),
.pubnav .pubradio:nth-of-type(5):checked ~ .pubside label:nth-of-type(5),
.pubnav .pubradio:nth-of-type(6):checked ~ .pubside label:nth-of-type(6),
.pubnav .pubradio:nth-of-type(7):checked ~ .pubside label:nth-of-type(7) {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--on-brand);
}
.pubnav .pubradio:focus-visible ~ .pubside label { outline: 1px dashed var(--brand); }
@media (min-width: 52rem) {
  .pubnav { grid-template-columns: 12rem minmax(0, 1fr); align-items: start; }
  .pubside { flex-direction: column; position: sticky; top: 1rem; }
  .pubside label { border-radius: var(--radius); }
}

/* The price list: one box per plan, the account's own marked. */
.prose.wide { max-width: 60rem; }
.plans { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin: 1rem 0 2rem; }
.planbox { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.planbox.current { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.planbox h4 { margin: 0 0 .25rem; }
.planbox .price { font-size: 1.5rem; font-weight: 700; margin: 0 0 .75rem; }
.planbox .price span { font-size: .875rem; font-weight: 400; color: var(--ink-soft); margin-left: .35rem; }
.planbox ul { margin: 0; padding-left: 1.1rem; font-size: .9375rem; }
.planbox li { margin: .3rem 0; }
.meterline { display: block; font-size: .8125rem; color: var(--ink-soft); }

/* Who the account is for, on the sign-up form: two choices side by side. */
.kinds { border: 0; padding: 0; margin: 0; display: grid; gap: .6rem; grid-template-columns: 1fr 1fr; }
.kinds legend { font-weight: 600; margin-bottom: .5rem; }
.kind { display: grid; grid-template-columns: auto 1fr; gap: .25rem .6rem; align-items: start; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.kind input { margin-top: .3rem; }
.kind b { grid-column: 2; }
.kind span { grid-column: 2; font-size: .85rem; color: var(--ink-soft); }
.kind:has(input:checked) { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.stack textarea { width: 100%; padding: .7rem .9rem; font: inherit; border: 1px solid var(--line); border-radius: .5rem; background: var(--paper); color: var(--ink); resize: vertical; }
.hero.photo.agencies { margin-top: 0; }

/* A studio's list by client, and the label beside a site's name. */
.projectlist .grouphead th { padding: 1.1rem .5rem .4rem; font: 600 .8125rem/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.projectlist .grouphead .count { margin-left: .5rem; font-weight: 400; }
/* The number of sites beside the list's own heading. --ink-soft rather than a
   lighter grey, because it is text and WCAG 2.2 asks 4.5:1 of it. Measured where
   it stands, on --paper: 4.76:1 light, 7.30:1 dark. Not on --surface - there the
   light theme gives 4.47:1, a hair under, so moving this heading into a tinted
   band needs --ink instead. */
.listcount { font-weight: 400; color: var(--ink-soft); }
.clientform { display: inline-flex; gap: .4rem; align-items: center; margin: .25rem 0 .75rem; }
.clientform input { padding: .35rem .6rem; font: inherit; font-size: .9rem; border: 1px solid var(--line); border-radius: .4rem; background: var(--paper); color: var(--ink); width: 14rem; max-width: 100%; }

/* A studio's mark where the wordmark goes: the masthead's height, no wider
   than a name would be. */
.brandlogo { display: block; max-block-size: 2rem; max-width: 12rem; width: auto; object-fit: contain; }
.brandlogo.preview { max-block-size: 3.5rem; max-width: 20rem; background: var(--paper); padding: .35rem; border: 1px solid var(--line); border-radius: .4rem; }
.check { display: flex; gap: .5rem; align-items: center; font-size: .9375rem; }

.inlineform { display: inline-flex; gap: .5rem; align-items: center; }

/* The account menu: a mark in the corner, a list under it. */
.usermenu { position: relative; }
.usermenu summary { list-style: none; cursor: pointer; display: inline-flex; border-radius: 999px; }
.usermenu summary::-webkit-details-marker { display: none; }
.usermenu summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.avatar {
  display: inline-flex; align-items: center; justify-content: center;
  inline-size: 2.25rem; block-size: 2.25rem; border-radius: 999px;
  background: var(--brand); color: var(--on-brand);
  font-weight: 700; text-transform: uppercase; font-size: 1rem;
}
.usermenu[open] .avatar { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--brand); }
.usermenu-list {
  position: absolute; right: 0; top: calc(100% + .5rem); z-index: 20;
  min-width: 13rem; display: grid; padding: .4rem;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 .75rem 2rem rgba(0, 0, 0, .18);
}
.usermenu-who { padding: .5rem .75rem .6rem; font-size: .8125rem; color: var(--ink-soft); border-bottom: 1px solid var(--line); margin-bottom: .3rem; word-break: break-all; }
.usermenu-list a { padding: .55rem .75rem; border-radius: .4rem; color: var(--ink); text-decoration: none; }
.usermenu-list a:hover, .usermenu-list a:focus-visible { background: var(--surface); outline: none; }
.usermenu-out { margin-top: .3rem; border-top: 1px solid var(--line); border-radius: 0 0 .4rem .4rem !important; }

/* A pane that is also a form's stack keeps the stack's rhythm but shows only
   when chosen; the pane rule wins over the stack's display. */
.pubnav .pubpane.stack { margin: 0; max-width: none; }
.pubnav .pubradio:nth-of-type(1):checked ~ .pubpane.stack:nth-of-type(1),
.pubnav .pubradio:nth-of-type(2):checked ~ .pubpane.stack:nth-of-type(2),
.pubnav .pubradio:nth-of-type(3):checked ~ .pubpane.stack:nth-of-type(3),
.pubnav .pubradio:nth-of-type(4):checked ~ .pubpane.stack:nth-of-type(4),
.pubnav .pubradio:nth-of-type(5):checked ~ .pubpane.stack:nth-of-type(5),
.pubnav .pubradio:nth-of-type(6):checked ~ .pubpane.stack:nth-of-type(6),
.pubnav .pubradio:nth-of-type(7):checked ~ .pubpane.stack:nth-of-type(7) { display: grid; }

/* The banner while an admin views the panel as somebody else: unmissable
   on purpose, because everything done under it is done as them. */
.viewing { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: center; padding: .6rem 1.5rem; background: var(--warn, #b3640f); color: #ffffff; font-size: .9375rem; }
.viewing .button.small { background: #ffffff; color: #3b2a05; }

/* A long table in a box that scrolls on its own, with the heading pinned. */
.scrollbox { max-block-size: 60vh; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.scrollbox table { margin: 0; }
.scrollbox thead th { position: sticky; top: 0; background: var(--paper); z-index: 1; }
.tablebar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin: 0 0 .75rem; }
.perpage { display: inline-flex; gap: .5rem; align-items: center; font-size: .9rem; color: var(--ink-soft); }
.perpage a, .perpage .here { padding: .2rem .5rem; border-radius: .3rem; }
.perpage .here { background: var(--brand); color: var(--on-brand); }

/* A studio's front door: the mark, the form, nothing to sell. */
.door { max-width: 26rem; margin: 2rem auto; }
.door-head { text-align: center; margin-bottom: 2rem; }
.door-head h1 { margin: 0 0 .25rem; font-size: 2rem; }
.door-line { color: var(--ink-soft); margin: 0; }
.brandlogo.big { max-block-size: 4.5rem; max-width: 18rem; margin: 0 auto .75rem; }
.door-foot { color: var(--ink-soft); }
