body {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

main {
  width: min(calc(100% - 2rem), 43rem);
  container-type: inline-size;
}

.site-logo {
  display: block;
  width: min(100%, 24rem);
  height: auto;
  margin: 0 auto .5rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin-top: 1rem;
  font-size: 0.875rem;
}

.footer-copyright {
  width: 100%;
  margin: 0;
  text-align: center;
}

article {
  margin: 0;
}

.jobs-article {
  margin-top: 1rem;
}

.faq-article {
  margin-top: 1rem;
}

article header h1 {
  margin-bottom: 0.25rem;
}

article header p {
  margin-bottom: 0;
  color: var(--pico-muted-color);
}

header > h1:not(:has(+ *)),
header > h2:not(:has(+ *)),
header > h3:not(:has(+ *)) {
  margin-bottom: 0;
}

.upload-progress,
.process-progress,
.payment-progress {
  width: 100%;
  margin-top: 0.75rem;
}

.form-actions {
  display: flex;
  justify-content: left;
  gap: 0.75rem;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

button[type="submit"] {
  width: auto;
  min-width: 180px;
  max-width: 100%;
  padding-inline: 1.25rem;
  margin-bottom: 0;
}

#validation-jobs {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.validation-job {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem 1rem;
  align-items: start;
  padding-top: 0.75rem;
}

.validation-job + .validation-job {
  border-top: 1px solid var(--pico-muted-border-color);
}

.job-details,
.job-status {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.job-filename {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-status {
  color: var(--pico-muted-color);
  text-align: right;
  justify-items: end;
}

.job-status .unlock-job {
  width: auto;
  margin: 0;
  padding: 0.25rem 0.75rem;
}

.job-access.is-error {
  color: var(--pico-del-color);
}

.job-progress-bar {
  width: 8rem;
  margin: 0;
}

.foo #checkout-modal > article {
  width: calc(100vw - 2rem);
  max-width: none;

  max-height: calc(100vh - 2rem);
  overflow-y: auto;
}


#checkout-modal article {
    width: min(95vw, 1000px);
    max-width: 1000px;
    max-height: 90vh;
    margin: 0;
    padding: 0;
    overflow-y: auto;
}

#checkout-modal header {
    position: sticky;
    top: 0;
    z-index: 1;
    margin: 0;
    background: var(--pico-background-color);
}

#checkout-container {
    min-height: 600px;
}