.inline { margin: 0; }
.inline button { margin: 0; padding: 0.25rem 0.75rem; }
.brand { text-decoration: none; }
.narrow { max-width: 32rem; margin-inline: auto; }
.muted { color: var(--pico-muted-color); }
.error-text { color: var(--pico-del-color); }

.page-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: var(--pico-typography-spacing-vertical); }
.page-header h1 { margin: 0; }

.badge {
  display: inline-block;
  padding: 0.1rem 0.55rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  vertical-align: middle;
  color: #fff;
}
.badge.failed  { background: #c62828; }
.badge.ongoing { background: #b26a00; }
h2 .badge { font-size: 1rem; }

.callout { border-left: 0.35rem solid; }
.callout.failed  { border-left-color: #c62828; }
.callout.ongoing { border-left-color: #b26a00; }

.big-number { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.big-number small { font-size: 1rem; font-weight: 400; color: var(--pico-muted-color); }

.breakdown { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 0.5rem 1.5rem; }
.breakdown dt { font-size: 0.85rem; color: var(--pico-muted-color); }
.breakdown dd { margin: 0; font-weight: 600; }

pre.log {
  padding: 1rem;
  max-height: 70vh;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 0.8rem;
}

details.section > summary { display: flex; align-items: center; gap: 0.5rem; }
details.section > summary::after { display: none; }
details.section > summary::before {
  content: "";
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  background-image: var(--pico-icon-chevron);
  background-size: 1.25rem auto;
  background-position: center;
  transform: rotate(-90deg);
  transition: transform var(--pico-transition);
}
details.section[open] > summary::before { transform: rotate(0deg); }
details.section > summary h2 { margin: 0; }

.site-footer { text-align: center; color: var(--pico-muted-color); border-top: 1px solid var(--pico-muted-border-color); }

/* Keep the footer at the bottom of the viewport on short pages. */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body > * { width: 100%; }
body > main { flex: 1 0 auto; }
