:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: #0a0a0a;
  color: #f4f4f5;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
}
main {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}
header {
  border-bottom: 1px solid #29292d;
  padding-bottom: 32px;
  margin-bottom: 32px;
}
h1 {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  letter-spacing: -0.05em;
  margin: 8px 0 16px;
}
h2 {
  font-size: 1rem;
  margin: 0;
}
p {
  color: #a1a1aa;
  line-height: 1.6;
}
.eyebrow {
  color: #8ab4ff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.intro {
  max-width: 620px;
  font-size: 1.1rem;
}
.panel,
article {
  border: 1px solid #303036;
  background: #111114;
  padding: 20px;
}
.panel {
  margin-bottom: 40px;
}
#request-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 12px;
  margin-top: 20px;
}
label {
  color: #b4b4bc;
  display: grid;
  gap: 7px;
  font-size: 0.8rem;
}
input {
  background: #09090b;
  border: 1px solid #3f3f46;
  color: inherit;
  min-height: 40px;
  padding: 9px 11px;
}
button {
  background: #397ff5;
  border: 1px solid #397ff5;
  color: white;
  cursor: pointer;
  font: inherit;
  min-height: 40px;
  padding: 8px 14px;
}
button.secondary {
  background: transparent;
  border-color: #48484f;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}
.section-heading,
.request-heading,
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.section-heading {
  margin-bottom: 14px;
}
.section-heading p {
  margin: 4px 0 0;
  font-size: 0.85rem;
}
.requests {
  display: grid;
  gap: 10px;
}
.request-heading code {
  overflow-wrap: anywhere;
}
.actions {
  justify-content: flex-start;
}
.review-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  align-items: end;
  gap: 12px;
  margin-top: 20px;
}
.reviewer-field {
  max-width: 320px;
}
.review-status {
  grid-column: 1 / -1;
  margin: 0;
  min-height: 1.25rem;
  font-size: 0.8rem;
}
.badge {
  border: 1px solid #48484f;
  color: #d4d4d8;
  font-size: 0.72rem;
  padding: 4px 7px;
  text-transform: uppercase;
}
.badge.complete {
  border-color: #26714a;
  color: #78dba3;
}
.badge.errored,
.badge.terminated {
  border-color: #8a3333;
  color: #ff9696;
}
pre {
  background: #09090b;
  color: #b7cfff;
  overflow: auto;
  padding: 12px;
}
.empty {
  border: 1px dashed #303036;
  margin: 0;
  padding: 28px;
  text-align: center;
}
#notice {
  min-height: 24px;
}

@media (max-width: 680px) {
  main {
    padding: 36px 0;
  }
  #request-form,
  .review-form {
    grid-template-columns: 1fr;
  }
  .reviewer-field {
    max-width: none;
  }
  .review-status {
    grid-column: 1;
  }
  .section-heading {
    align-items: flex-start;
  }
  .request-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}
