:root {
  --s-1: .25rem;
  --s-2: .5rem;
  --s-3: .75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --t-micro: .75rem;
  --t-small: .8125rem;
  --t-body: .9375rem;
  --t-lede: 1.0625rem;
  --t-title: clamp(1.5rem, 2.4vw, 2.125rem);
  --t-display: 2.5rem;
  --gutter: clamp(1rem, 4vw, 4rem);
  --w-wide: 80rem;
  --clearance: var(--s-7);
  --r-small: .5rem;
  --r-card: .875rem;
  --r-pill: 99rem;
  --tint: color-mix(in oklab, var(--pigment) 9%, var(--paper));
  --glass: color-mix(in oklab, var(--paper) 96%, transparent);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--t-body)/1.6 var(--font);
  font-variation-settings: "CASL" 0;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select,
.btn {
  border: 1px solid var(--rule);
  border-radius: var(--r-small);
  padding: var(--s-2) var(--s-3);
  background: var(--paper-raised);
  color: var(--ink);
  cursor: pointer;
  min-height: 2.5rem;
  white-space: nowrap;
}

button:hover,
a.btn:hover,
select:hover {
  border-color: var(--pigment);
  background: var(--tint);
}

button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

:focus-visible {
  outline: 2px solid var(--pigment);
  outline-offset: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  background: var(--pigment);
  color: var(--on-pigment);
  border-color: var(--pigment);
  font-weight: 650;
}

a.btn:hover,
button.btn:hover {
  background: color-mix(in oklab, var(--pigment) 85%, var(--paper));
  color: var(--on-pigment);
}

.skip {
  position: fixed;
  left: var(--s-4);
  top: -10rem;
  z-index: 50;
  padding: var(--s-3);
  background: var(--paper-raised);
}

.skip:focus {
  top: var(--s-4);
}

.top {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  padding: var(--s-3) var(--gutter);
  border-bottom: 1px solid var(--rule);
  background: var(--glass);
  min-height: 5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-shrink: 0;
}

.brand b {
  font-size: var(--t-lede);
}

.brand b span {
  display: block;
  font: 400 var(--t-micro)/1.2 var(--font);
  color: var(--ink-soft);
  letter-spacing: 0;
}

.stack-mark {
  width: 1.75rem;
  display: grid;
  gap: var(--s-1);
  transform: rotate(-10deg);
}

.stack-mark i {
  height: .375rem;
  border: 1px solid var(--pigment);
  border-radius: var(--r-small);
}

.stack-mark i:nth-child(2) {
  background: var(--pigment);
}

.stack-mark i:last-child {
  border-color: var(--nucleus);
}

.tabs {
  display: flex;
  gap: var(--s-1);
  margin-inline: auto;
}

.tabs a {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-pill);
  color: var(--ink-soft);
  white-space: nowrap;
}

.tabs a[aria-current] {
  color: var(--pigment);
  background: var(--tint);
}

.tabs a:hover {
  color: var(--ink);
}

.count {
  font-size: var(--t-micro);
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  padding-inline: var(--s-2);
  border-radius: var(--r-pill);
}

.world-controls {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--t-small);
}

.world-controls select {
  max-width: 8rem;
}

.connection {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--ink-soft);
  margin-right: var(--s-2);
  white-space: nowrap;
}

.connection i {
  height: .5rem;
  width: .5rem;
  border-radius: 50%;
  background: var(--warn);
}

.connection[data-live="true"] i {
  background: var(--ok);
}

.connection[data-live="true"] {
  color: var(--ok);
}

main {
  width: min(var(--w-wide), 100% - var(--gutter) * 2);
  margin: 0 auto;
  padding: var(--s-5) 0 var(--s-6);
}

.context {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  justify-content: space-between;
  font-size: var(--t-small);
  color: var(--ink-soft);
  margin-bottom: var(--s-4);
}

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-1);
  padding-bottom: var(--s-4);
  margin-bottom: var(--clearance);
  border-bottom: 1px solid var(--rule);
}

.subnav:empty {
  display: none;
}

.subnav a {
  padding: var(--s-1) var(--s-3);
  border-radius: var(--r-pill);
  color: var(--ink-soft);
  font-size: var(--t-small);
}

.subnav a[aria-current] {
  color: var(--ink);
  background: var(--paper-raised);
}

.subnav a:hover {
  color: var(--pigment);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: var(--t-title);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

h2 {
  font-size: var(--t-lede);
  font-weight: 550;
  margin: var(--s-6) 0 var(--s-3);
}

h3 {
  font-size: var(--t-body);
  font-weight: 600;
}

p {
  color: var(--ink-soft);
}

small,
.meta {
  color: var(--ink-soft);
  font-size: var(--t-small);
}

code,
pre {
  font-family: var(--font-code);
}

code {
  color: var(--pigment);
  overflow-wrap: anywhere;
}

pre {
  overflow: auto;
  padding: var(--s-4);
  background: var(--paper-sunken);
  border: 1px solid var(--rule);
  border-radius: var(--r-small);
  font-size: var(--t-small);
}

.hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-5);
  margin-bottom: var(--s-6);
}

.hero p {
  margin-top: var(--s-3);
  max-width: 44rem;
}

.hero .btn {
  margin-top: var(--s-1);
}

.hero-copy {
  max-width: 50rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  overflow: hidden;
  margin: var(--s-5) 0 var(--s-6);
}

.stat {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-5);
  background: var(--paper-raised);
  border-right: 1px solid var(--rule);
}

.stat:last-child {
  border-right: 0;
}

.stat b {
  color: var(--ink);
  font-weight: 450;
  font-size: var(--t-display);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.stat small {
  font-size: var(--t-small);
}

.stat.urgent b {
  color: var(--bad);
}

.stat:hover {
  background: var(--tint);
}

.columns {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: var(--s-6);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s-3);
  justify-content: space-between;
  margin: var(--s-4) 0;
}

.section-head h2 {
  margin: 0;
}

.section-head a {
  color: var(--pigment);
  font-size: var(--t-small);
}

.card {
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  padding: var(--s-5);
  min-width: 0;
  background: var(--paper-raised);
}

.card h2:first-child {
  margin-top: 0;
}

.card p+p {
  margin-top: var(--s-3);
}

.card ul {
  margin: 0;
  padding-left: var(--s-5);
}

.empty {
  border: 1px dashed var(--rule);
  border-radius: var(--r-card);
  padding: var(--s-6);
  color: var(--ink-soft);
}

.notice {
  padding: var(--s-3) var(--s-4);
  margin-bottom: var(--s-5);
  border-left: 2px solid var(--pigment);
  background: var(--tint);
}

.record-list {
  border-block: 1px solid var(--rule);
}

.record-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 8rem 9rem 7rem;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-3);
  border-bottom: 1px solid var(--rule);
}

.record-row:last-child {
  border-bottom: 0;
}

.record-row:hover {
  background: var(--tint);
}

.record-row .title {
  font-size: var(--t-body);
  overflow-wrap: anywhere;
}

.record-row time {
  font-size: var(--t-small);
  color: var(--ink-soft);
  text-align: right;
}

.record-row .stage {
  color: var(--ink-soft);
  font-size: var(--t-small);
}

.record-row.compact {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s-3);
}

.pill,
.tag {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  padding: 0 var(--s-2);
  font-size: var(--t-micro);
  color: var(--ink-soft);
  white-space: nowrap;
}

.pill.security,
.pill.data-loss,
.pill.fail {
  color: var(--bad);
  border-color: color-mix(in oklab, var(--bad) 45%, var(--rule));
}

.pill.pass,
.pill.grown,
.tag.grown {
  color: var(--ok);
}

.pill.hole,
.pill.known {
  color: var(--warn);
}

.triage-layout {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: var(--s-6);
}

.queue {
  border-right: 1px solid var(--rule);
  padding-right: var(--s-4);
}

.queue a {
  display: block;
  border-left: 2px solid transparent;
  padding: var(--s-3);
  border-radius: var(--r-small);
  margin-bottom: var(--s-2);
}

.queue a[aria-current] {
  border-color: var(--pigment);
  background: var(--tint);
}

.queue a:hover {
  background: var(--paper-raised);
}

.queue a span:first-child {
  display: block;
  font-size: var(--t-small);
  line-height: 1.5;
  margin-bottom: var(--s-2);
}

.queue p {
  font-size: var(--t-small);
  margin: var(--s-3);
}

.record-head {
  margin-bottom: var(--s-5);
}

.record-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3);
  color: var(--ink-soft);
  font-size: var(--t-small);
  margin-bottom: var(--s-3);
}

.record-head h1 {
  max-width: 46rem;
}

.record-head p {
  margin-top: var(--s-3);
  font-size: var(--t-small);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
}

.decision-actions {
  padding: var(--s-4) 0;
  margin-bottom: var(--s-5);
  border-block: 1px solid var(--rule);
}

.decision-actions .next {
  margin-left: auto;
}

.actions button {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}

kbd {
  font: 400 var(--t-micro)/1.5 var(--font-code);
  border: 1px solid var(--rule);
  border-radius: var(--s-1);
  padding: 0 var(--s-1);
  background: var(--paper);
  color: var(--ink-soft);
  min-width: 1.25rem;
  text-align: center;
}

.btn kbd {
  color: inherit;
  background: transparent;
  border-color: currentColor;
}

.life {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: var(--s-6) 0;
}

.life li {
  position: relative;
  padding: var(--s-5) var(--s-3) 0 0;
  border-top: 1px solid var(--rule);
  min-width: 0;
}

.life li:before {
  content: "";
  position: absolute;
  top: -.3rem;
  left: 0;
  width: .6rem;
  height: .6rem;
  border: 1px solid var(--rule);
  background: var(--paper);
  border-radius: 50%;
}

.life li.done:before {
  border-color: var(--pigment);
  background: var(--pigment);
}

.life span {
  display: block;
  font-size: var(--t-small);
}

.life small {
  display: block;
  margin-top: var(--s-1);
  font-size: var(--t-micro);
  overflow-wrap: anywhere;
}

.life .failed {
  color: var(--bad);
}

.record-body {
  max-width: 54rem;
}

.markdown {
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.markdown h2 {
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
  margin-top: var(--s-5);
}

.markdown p,
.markdown ul,
.markdown ol,
.markdown pre,
.markdown blockquote {
  margin: var(--s-3) 0;
}

.markdown h3 {
  margin-top: var(--s-4);
}

.markdown blockquote {
  padding-left: var(--s-4);
  border-left: 2px solid var(--pigment);
  color: var(--ink-soft);
}

.markdown a {
  color: var(--pigment);
  text-decoration: underline;
}

.markdown pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.markdown pre code {
  color: var(--ink-soft);
}

.back {
  display: inline-block;
  color: var(--pigment);
  margin-bottom: var(--s-5);
}

.cycle {
  margin: var(--s-5) 0;
}

.cycle summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  cursor: pointer;
}

.cycle summary strong {
  font-size: var(--t-lede);
}

.stage-counts {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--s-3);
  margin: var(--s-5) 0;
}

.stage-counts div {
  border-left: 2px solid var(--pigment);
  padding-left: var(--s-3);
}

.stage-counts b {
  display: block;
  font-size: var(--t-title);
  font-weight: 450;
}

.stage-counts span {
  font-size: var(--t-small);
  color: var(--ink-soft);
}

.cycle-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-block: var(--s-4);
}

.cycle-links a {
  color: var(--pigment);
  font-size: var(--t-small);
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  padding: var(--s-1) var(--s-3);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--t-small);
  text-align: left;
}

th {
  color: var(--ink-soft);
  font-weight: 500;
}

th,
td {
  padding: var(--s-3);
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  overflow-wrap: anywhere;
}

td small {
  display: block;
  font-size: var(--t-micro);
}

tbody tr:last-child td,
tbody tr:last-child th {
  border-bottom: 0;
}

.table-wrap {
  overflow-x: auto;
}

.numeric {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.bad {
  color: var(--bad);
}

.good {
  color: var(--ok);
}

.antigen-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(3, 7rem);
  gap: var(--s-4);
  align-items: center;
  padding: var(--s-4);
  border-bottom: 1px solid var(--rule);
}

.antigen-row span:not(:first-child) {
  text-align: right;
}

.antigen-row:first-child {
  color: var(--ink-soft);
  font-size: var(--t-small);
}

.antigen-row:last-child {
  border-bottom: 0;
}

.guard-list {
  display: grid;
  gap: var(--s-4);
}

.guard-list p {
  margin-block: var(--s-3);
}

.guard-list a {
  color: var(--pigment);
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-5);
}

.board-grid ul {
  list-style: none;
  padding: 0;
}

.board-grid li {
  margin-top: var(--s-2);
  overflow-wrap: anywhere;
}

.board-grid a {
  color: var(--pigment);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
}

.cell b {
  display: block;
  margin: var(--s-3) 0;
  overflow-wrap: anywhere;
}

.cell p {
  font-size: var(--t-small);
}

.timeline {
  list-style: none;
  padding: 0;
}

.timeline li {
  margin-bottom: var(--s-3);
}

.run {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  width: 100%;
  text-align: left;
  white-space: normal;
  padding: var(--s-4);
}

.run span {
  min-width: 0;
}

.note {
  margin-top: var(--s-4);
}

.note summary {
  cursor: pointer;
}

.note small {
  display: inline-block;
  margin-left: var(--s-3);
}

.note pre {
  white-space: pre-wrap;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: var(--s-1);
  height: 3rem;
}

.bars i {
  width: var(--s-3);
  background: var(--ok);
}

.bars i.fail {
  background: var(--bad);
}

.bars i.hole {
  background: var(--warn);
}

.verdict {
  margin-top: var(--s-3);
  color: var(--ink-soft);
}

.run-actions {
  margin-top: var(--s-6);
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-4);
  justify-content: space-between;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: var(--t-micro);
  margin-top: var(--s-7);
  padding-top: var(--s-4);
}

footer button {
  font-size: var(--t-small);
}

dialog {
  color: var(--ink);
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  padding: var(--s-6);
  width: min(32rem, calc(100% - 2rem));
}

dialog::backdrop {
  background: color-mix(in oklab, var(--paper-sunken) 75%, transparent);
}

dialog h2 {
  margin-top: 0;
}

dialog p {
  margin-bottom: var(--s-4);
}

dialog label {
  display: block;
  margin: var(--s-4) 0 var(--s-2);
}

dialog input {
  width: 100%;
  padding: var(--s-3);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: var(--r-small);
}

[data-decision-error] {
  color: var(--bad);
  margin-top: var(--s-3);
}

.keys {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-3);
}

.keys dd {
  margin: 0;
  color: var(--ink-soft);
}

.log {
  position: fixed;
  z-index: 10;
  bottom: var(--s-4);
  right: var(--s-4);
  width: min(46rem, calc(100% - 2rem));
  max-height: 60dvh;
  padding: var(--s-4);
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
}

.log-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}

.log pre {
  max-height: 42dvh;
  white-space: pre-wrap;
}

.demo-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3) var(--s-5);
  padding: var(--s-4) var(--s-5);
  margin-bottom: var(--s-5);
  border: 1px solid color-mix(in oklab, var(--pigment) 40%, var(--rule));
  border-radius: var(--r-card);
  background: var(--tint);
}

.demo-banner b {
  color: var(--ink);
  font-weight: 650;
}

.demo-banner p {
  flex: 1 1 22rem;
}

.flow {
  --dot: 1rem;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: var(--s-6) 0;
  padding: 0;
  list-style: none;
}

.flow::before {
  content: "";
  position: absolute;
  top: calc(var(--dot) / 2 - 1px);
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--rule);
}

.flow-step a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-1);
  padding: 0 var(--s-2) var(--s-2);
  text-align: center;
  border-radius: var(--r-card);
}

.flow-step a::before {
  content: "";
  position: relative;
  width: var(--dot);
  height: var(--dot);
  margin-bottom: var(--s-3);
  border: 2px solid var(--rule);
  border-radius: 50%;
  background: var(--paper);
}

.flow-step.has a::before {
  border-color: var(--pigment);
}

.flow-step.goal a::before {
  border-color: var(--pigment);
  background: var(--pigment);
  box-shadow: 0 0 0 5px color-mix(in oklab, var(--pigment) 16%, transparent);
}

.flow-step b {
  color: var(--ink);
  font-size: var(--t-display);
  font-weight: 450;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.flow-step span {
  color: var(--ink);
  font-weight: 600;
}

.flow-step small {
  max-width: 14rem;
}

.flow-step a:hover b,
.flow-step a:focus-visible b {
  color: var(--pigment);
}

.flow-note {
  margin: calc(var(--s-4) * -1) 0 var(--s-6);
  text-align: center;
  font-size: var(--t-small);
}

.commit-list,
.issue-list {
  border-block: 1px solid var(--rule);
}

.commit-row {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) minmax(0, 22rem);
  gap: var(--s-2) var(--s-5);
  align-items: start;
  padding: var(--s-4) var(--s-2);
  border-bottom: 1px solid var(--rule);
}

.commit-row:last-child,
.issue-row:last-child {
  border-bottom: 0;
}

.commit-row .hash {
  padding-top: .15rem;
  font-size: var(--t-small);
}

.commit-subject {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.commit-records {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  min-width: 0;
}

.commit-records a {
  overflow: hidden;
  color: var(--pigment);
  font-size: var(--t-small);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.issue-row {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) 8rem;
  gap: var(--s-2) var(--s-4);
  align-items: baseline;
  min-height: 3.25rem;
  padding: var(--s-4) var(--s-2);
  border-bottom: 1px solid var(--rule);
}

.issue-number {
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.issue-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s-2) var(--s-3);
  min-width: 0;
  color: var(--ink);
}

.issue-main a:hover {
  color: var(--pigment);
}

.issue-labels,
.lens-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

.lens-list {
  margin-top: var(--s-4);
}

.issue-row time {
  justify-self: end;
  color: var(--ink-soft);
  font-size: var(--t-small);
}

.cycle-id {
  margin-right: var(--s-3);
  font-size: var(--t-small);
}

.back {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
}

h2 .count {
  margin-left: var(--s-2);
  color: var(--ink-soft);
  font-weight: 400;
  vertical-align: middle;
}

.pill b {
  margin-left: var(--s-1);
  color: var(--ink);
  font-weight: 600;
}

@media(max-width:760px) {
  .flow {
    grid-template-columns: 1fr;
    gap: var(--s-4);
  }

  .flow::before {
    top: var(--s-4);
    bottom: var(--s-4);
    left: calc(var(--dot) / 2 - 1px);
    right: auto;
    width: 2px;
    height: auto;
  }

  .flow-step a {
    display: grid;
    grid-template-columns: var(--dot) 3.25rem minmax(0, 1fr);
    grid-template-areas: "dot count label" "dot count note";
    align-items: baseline;
    column-gap: var(--s-3);
    padding: 0;
    text-align: left;
  }

  .flow-step a::before {
    grid-area: dot;
    align-self: center;
    margin: 0;
  }

  .flow-step b {
    grid-area: count;
    font-size: var(--t-title);
  }

  .flow-step span {
    grid-area: label;
  }

  .flow-step small {
    grid-area: note;
  }

  .flow-note {
    margin-top: 0;
    text-align: left;
  }

  .commit-row {
    grid-template-columns: 4.5rem minmax(0, 1fr);
  }

  .commit-records {
    grid-column: 2;
  }

  .issue-row {
    grid-template-columns: 3rem minmax(0, 1fr);
  }

  .issue-row time {
    grid-column: 2;
    justify-self: start;
  }
}

@media(min-width:1100px) {
  .top {
    margin: var(--s-4) var(--gutter) 0;
    padding-inline: var(--s-5);
    border: 1px solid var(--rule);
    border-radius: var(--r-pill);
  }
}

@media(max-width:1100px) {
  .top {
    flex-wrap: wrap;
  }

  .tabs {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .world-controls {
    margin-left: auto;
  }

  .columns {
    grid-template-columns: 1fr;
  }

  .triage-layout {
    grid-template-columns: 12rem minmax(0, 1fr);
  }

  .board-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width:760px) {
  :root {
    --clearance: var(--s-5);
  }

  .top {
    gap: var(--s-3);
  }

  .world-controls {
    gap: var(--s-1);
  }

  .world-controls button,
  .world-controls select {
    font-size: var(--t-micro);
    padding-inline: var(--s-2);
  }

  .connection {
    font-size: var(--t-micro);
  }

  .connection>span {
    display: none;
  }

  .tabs {
    justify-content: space-between;
    gap: 0;
  }

  .tabs a {
    padding: var(--s-2);
    font-size: var(--t-small);
  }

  .brand b {
    font-size: var(--t-body);
  }

  .world-controls {
    flex-wrap: wrap;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat {
    padding: var(--s-4);
    border-bottom: 1px solid var(--rule);
  }

  .stat:nth-child(2n) {
    border-right: 0;
  }

  .stat:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .hero {
    gap: var(--s-4);
  }

  .hero .btn {
    width: 100%;
  }

  .record-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--s-2) var(--s-3);
    padding-inline: var(--s-2);
  }

  .record-row .title {
    grid-column: 1/-1;
  }

  .record-row .stage {
    grid-column: 1;
  }

  .record-row time {
    grid-column: 2;
    grid-row: 3;
  }

  .record-row.compact .title {
    grid-column: 1;
  }

  .triage-layout {
    display: block;
  }

  .queue {
    border: 0;
    padding: 0;
    margin-bottom: var(--s-5);
  }

  .queue a {
    display: none;
  }

  .queue a[aria-current] {
    display: block;
  }

  .queue p {
    margin-left: 0;
  }

  .life {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: var(--s-5);
  }

  .life li {
    padding-top: var(--s-3);
  }

  .life small {
    font-size: var(--t-micro);
  }

  .decision-actions .next {
    margin-left: 0;
  }

  .decision-actions {
    gap: var(--s-3);
  }

  .actions button {
    min-height: 2.75rem;
  }

  .stage-counts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .antigen-row {
    grid-template-columns: minmax(0, 1fr) repeat(3, 3rem);
    gap: var(--s-2);
    padding: var(--s-3) 0;
    font-size: var(--t-small);
  }

  .card {
    padding: var(--s-4);
  }

  .cycle table {
    table-layout: fixed;
  }

  .cycle th,
  .cycle td {
    padding: var(--s-2);
  }

  .subnav {
    gap: var(--s-2) 0;
  }

  .subnav a {
    padding-inline: var(--s-2);
  }
}

@media(prefers-reduced-motion:no-preference) {

  :root:not([data-motion="still"]) button,
  :root:not([data-motion="still"]) a {
    transition: background-color 140ms, color 140ms, border-color 140ms;
  }
}

::view-transition-old(root),
::view-transition-new(root) {
  mix-blend-mode: normal;
}

::view-transition-old(root) {
  animation: none;
}

::view-transition-new(root) {
  animation: world-bloom 360ms ease-out;
}

@keyframes world-bloom {
  from {
    clip-path: circle(0 at var(--switch-x, 50%) var(--switch-y, 0));
  }

  to {
    clip-path: circle(150vmax at var(--switch-x, 50%) var(--switch-y, 0));
  }
}

@media(prefers-reduced-motion:reduce) {
  ::view-transition-new(root) {
    animation: none;
  }
}