:root {
  --ink: #182129;
  --muted: #6c7881;
  --line: #dce3e6;
  --paper: #f7f8f6;
  --accent: #195f57;
  --warm: #f0b84a;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.5 ui-sans-serif,
    system-ui,
    sans-serif;
}
a {
  color: var(--accent);
  text-decoration: none;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0.15rem 0 1rem;
}
h2 {
  margin: 0;
  font-size: 1.1rem;
}
code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
}
.topbar {
  height: 68px;
  padding: 0 max(24px, calc((100vw - 1120px) / 2));
  background: #102521;
  color: white;
  display: flex;
  align-items: center;
  gap: 34px;
}
.topbar a {
  color: #dfeee9;
}
.brand {
  font-weight: 800;
  letter-spacing: 0.14em;
}
nav {
  display: flex;
  gap: 20px;
  margin-right: auto;
}
.container {
  max-width: 1120px;
  margin: auto;
  padding: 48px 24px 80px;
}
.hero {
  max-width: 730px;
  padding: 28px 0 44px;
}
.hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.18rem;
  max-width: 610px;
}
.eyebrow {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  margin: 0 0 0.5rem;
}
.button {
  display: inline-block;
  border: 0;
  border-radius: 7px;
  padding: 0.65rem 1rem;
  background: var(--accent);
  color: white;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.92rem;
}
.button.secondary {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}
.button.small {
  padding: 0.4rem 0.7rem;
}
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 0 0 30px;
}
.stats div {
  padding: 20px;
  background: white;
}
.stats strong {
  display: block;
  font-size: 1.8rem;
}
.stats span,
.muted,
small {
  color: var(--muted);
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
  margin: 18px 0;
  overflow: auto;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}
td,
th {
  border-bottom: 1px solid var(--line);
  padding: 12px 8px;
}
.form {
  max-width: 820px;
  display: grid;
  gap: 18px;
}
label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 5px;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid #bfc9cd;
  border-radius: 6px;
  padding: 0.65rem;
  font: inherit;
  background: white;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.checks {
  display: flex;
  gap: 24px;
}
.checks label {
  font-weight: 500;
}
.checks input {
  width: auto;
}
.warning {
  border-left: 4px solid var(--warm);
  padding: 10px 14px;
  background: #fff8e8;
  margin: 0;
}
.flash {
  padding: 12px 15px;
  border-radius: 6px;
}
.notice {
  background: #dff3e8;
}
.alert,
.errors {
  background: #ffe7e4;
  color: #8b211b;
  padding: 12px;
}
.status {
  text-transform: capitalize;
  padding: 3px 8px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
}
.status.succeeded {
  background: #dff3e8;
  color: #145e35;
}
.status.failed {
  background: #ffe7e4;
  color: #8b211b;
}
.status.queued,
.status.running {
  background: #fff1ca;
  color: #77560d;
}
.list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.details {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 10px;
  margin-bottom: 25px;
}
.details span {
  color: var(--muted);
}
.log {
  white-space: pre-wrap;
  overflow: auto;
  background: #102521;
  color: #dceee8;
  padding: 18px;
  border-radius: 7px;
  min-height: 120px;
}
.form-inline {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.form-inline label {
  margin: 0;
  font-weight: 500;
}
.form-inline input[type="checkbox"] {
  width: auto;
}
.auth-form {
  max-width: 420px;
  margin: 40px auto;
}
.auth-form .field {
  margin-bottom: 18px;
}
.auth-form .actions {
  margin-top: 24px;
}
.auth-form .checks {
  margin: 16px 0;
}
@media (max-width: 650px) {
  nav {
    display: none;
  }
  .grid,
  .stats {
    grid-template-columns: 1fr;
  }
  .topbar {
    gap: 14px;
  }
  .details {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .checks {
    display: block;
  }
}
