:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #172e36;
  background: #f3f5f4;
  font-synthesis: none;
  --ink: #122d36;
  --teal: #12625c;
  --muted: #60757b;
  --line: #dce4e3;
  --orange: #9b4c11;
  --green: #28644f;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
summary {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #42a89c;
}
button {
  cursor: pointer;
  border: 1px solid #c9d6d4;
  background: #fff;
  border-radius: 6px;
  padding: 11px 17px;
  font-weight: 650;
  color: var(--ink);
  transition: background 0.15s;
}
button:hover:not(:disabled) {
  background: #e5eeeb;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
button.primary {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
button.primary:hover:not(:disabled) {
  background: #094c47;
}
button.quiet {
  border-color: transparent;
  background: transparent;
}
header {
  height: 80px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  color: #fff;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: 3px;
  text-decoration: none;
  color: #fff;
}
.brandmark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #7caaa5;
  font-family: Georgia, serif;
  font-size: 27px;
  letter-spacing: 0;
}
.brand-sub {
  font-size: 10px;
  letter-spacing: 1.6px;
  font-weight: 500;
  border-left: 1px solid #527079;
  margin-left: 10px;
  padding-left: 22px;
  color: #bcd1d3;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.environment {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.4px;
  color: #bed8d3;
}
header button {
  color: #fff !important;
}
.login {
  max-width: 520px;
  margin: 8vh auto 16vh;
  padding: 34px;
}
.login h1 {
  font-size: 40px;
  line-height: 1.12;
}
.login form {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}
.login p {
  line-height: 1.6;
}
#workspace {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: calc(100vh - 130px);
}
[hidden] {
  display: none !important;
}
nav {
  background: #fafcfb;
  border-right: 1px solid var(--line);
  padding: 32px 18px;
}
.nav-label {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 700;
  color: #78908e;
  margin: 0 12px 23px;
}
nav button {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 0;
  width: 100%;
  background: transparent;
  text-align: left;
  font-size: 13px;
  padding: 15px 13px;
  margin: 4px 0;
  font-weight: 550;
}
nav button span {
  font-family: ui-monospace, monospace;
  color: #859793;
  font-size: 11px;
}
nav button.active {
  background: #e3efea;
  color: #19554b;
  font-weight: 700;
}
nav button.active span {
  color: #19554b;
}
.nav-note {
  margin: 64px 12px 0;
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}
.nav-note b {
  display: block;
  color: #3d615d;
  margin-top: 10px;
}
.small-dot {
  display: block;
  width: 8px;
  height: 8px;
  background: #44796e;
  border-radius: 100%;
}
main {
  padding: 40px 44px 64px;
  max-width: 1580px;
  width: 100%;
  margin: 0 auto;
  min-width: 0;
}
.eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.8px;
  color: #527a70;
  margin: 0 0 13px;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  letter-spacing: -1.3px;
  margin: 0 0 13px;
  font-weight: 650;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.5px;
  margin: 0 0 14px;
  font-weight: 650;
}
h3 {
  font-size: 14px;
  margin: 0 0 10px;
}
p {
  line-height: 1.65;
}
p.lead {
  max-width: 700px;
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 28px;
}
.topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
.pill {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 4px;
  background: #e5efeb;
  color: #31594e;
  font-size: 10px;
  letter-spacing: 0.6px;
  font-weight: 750;
  vertical-align: middle;
}
.pill.hold,
.pill.review,
.pill.unconnected,
.pill.unavailable {
  background: #fff0de;
  color: #934b14;
}
.pill.failed,
.pill.refused,
.pill.rejected {
  background: #f8e2df;
  color: #9b352f;
}
.pill.running,
.pill.started {
  background: #dcebed;
  color: #236170;
}
.notice {
  display: flex;
  gap: 14px;
  border: 1px solid #e4cba7;
  background: #fff8eb;
  padding: 15px 18px;
  border-radius: 6px;
  margin-bottom: 24px;
  font-size: 12px;
  line-height: 1.6;
}
.notice strong {
  font-weight: 700;
}
.notice div {
  flex: 1;
}
.notice .pill {
  align-self: flex-start;
  white-space: nowrap;
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  margin-bottom: 22px;
}
.card-body {
  padding: 25px;
}
.card-label {
  font-size: 10px;
  letter-spacing: 1.4px;
  color: #607a73;
  text-transform: uppercase;
  font-weight: 700;
}
.part-view {
  width: 100%;
  height: 260px;
  display: block;
  background: #e9f0ee;
}
.part-caption {
  font-family: ui-monospace, monospace;
  font-size: 10px;
  color: #60776f;
  background: #e9f0ee;
  padding: 0 22px 14px;
}
.task-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 18px 0 24px;
}
.task-meta div {
  font-size: 12px;
  color: var(--muted);
}
.task-meta b {
  display: block;
  color: #183f37;
  margin-top: 5px;
  font-size: 14px;
}
.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.link {
  color: var(--teal);
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
.small {
  font-size: 11px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin: 28px 0;
}
.steps div {
  border-top: 2px solid #c7d7d1;
  padding: 15px 0;
  font-size: 11px;
  line-height: 1.5;
}
.steps b {
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
}
.service {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid #edf0ef;
}
.service:last-child {
  border: 0;
}
.service b {
  font-size: 12px;
  font-weight: 650;
}
.service p {
  grid-column: 1/-1;
  font-size: 11px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.service .pill {
  font-size: 8px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0;
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
  font-weight: 650;
  color: #45635a;
}
input,
select,
textarea {
  padding: 10px;
  border: 1px solid #c8d7d2;
  background: #fff;
  border-radius: 5px;
  color: var(--ink);
  min-width: 0;
  width: 100%;
}
input[type="checkbox"] {
  width: auto;
  align-self: start;
}
label.check {
  flex-direction: row;
  align-items: center;
}
.bore-row {
  display: grid;
  grid-template-columns: 35px repeat(3, 1fr);
  gap: 12px;
  align-items: center;
  margin: 12px 0;
}
.bore-row > b {
  font-size: 12px;
  color: var(--muted);
}
code {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 11px;
  overflow-wrap: anywhere;
  color: #486460;
}
pre {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f2f6f4;
  border: 1px solid #dee8e3;
  padding: 15px;
  border-radius: 5px;
  max-height: 440px;
  overflow: auto;
}
details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
  font-size: 12px;
}
summary {
  cursor: pointer;
  font-weight: 600;
  color: #395d52;
}
details p {
  font-size: 12px;
}
.fields {
  margin: 8px 0 18px;
  padding-left: 18px;
  font-size: 12px;
  line-height: 1.85;
}
.protected {
  border-left: 3px solid #b08042;
  padding-left: 15px;
}
.permitted {
  border-left: 3px solid #59897b;
  padding-left: 15px;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.table th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  text-align: left;
}
.table td,
.table th {
  padding: 12px 8px;
  border-bottom: 1px solid #e6ece8;
}
.table td:last-child {
  text-align: right;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}
.metric {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.metric small {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.metric b {
  display: block;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -1px;
  margin: 10px 0;
}
.metric span {
  font-size: 11px;
  color: var(--muted);
}
.event {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid #e3eae7;
}
.event .number {
  font-size: 11px;
  font-family: ui-monospace, monospace;
  color: #79968b;
  padding-top: 4px;
}
.event b {
  font-size: 13px;
}
.event p {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0;
}
.event .pill {
  align-self: start;
}
.event details {
  border: 0;
  padding: 4px 0;
}
.hash {
  display: block;
  padding: 8px;
  background: #f5f8f6;
  border-radius: 4px;
  font-size: 10px;
  margin: 10px 0;
}
.explanation {
  border-left: 2px solid #6d9b8a;
  padding: 0 0 0 13px;
  margin: 13px 0;
  font-size: 12px;
}
.empty {
  padding: 50px 20px;
  text-align: center;
  color: var(--muted);
}
#error {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 550px;
  background: #fff2ed;
  border: 1px solid #ba6651;
  color: #792a1c;
  padding: 18px 24px;
  border-radius: 8px;
  z-index: 5;
  box-shadow: 0 8px 30px #182d3622;
  font-size: 13px;
}
footer {
  padding: 16px 32px;
  border-top: 1px solid var(--line);
  color: #6a8079;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.skip {
  position: absolute;
  left: 10px;
  top: -100px;
  background: white;
  padding: 12px;
  z-index: 9;
}
.skip:focus {
  top: 10px;
}
a.download {
  display: inline-flex;
  border: 1px solid #c9d6d4;
  border-radius: 5px;
  padding: 10px 13px;
  color: var(--teal);
  text-decoration: none;
  font-size: 12px;
  margin: 4px;
}
.history {
  margin-top: 24px;
}
.history button {
  font-size: 11px;
  margin: 5px;
}
select.challenge-type {
  max-width: 280px;
  margin-bottom: 16px;
}
@media (max-width: 1100px) {
  main {
    padding: 28px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .brand-sub {
    display: none;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 17px;
  }
}
@media (max-width: 760px) {
  header {
    padding: 16px;
    height: auto;
  }
  .brand {
    font-size: 15px;
  }
  .environment {
    display: none;
  }
  #workspace {
    display: block;
  }
  nav {
    display: flex;
    overflow: auto;
    padding: 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  nav button {
    white-space: nowrap;
    width: auto;
    font-size: 11px;
    padding: 10px;
    gap: 6px;
  }
  .nav-label,
  .nav-note {
    display: none;
  }
  main {
    padding: 24px 17px;
  }
  .topline {
    display: block;
  }
  .topline > .pill {
    margin: 0 0 20px;
  }
  .metrics {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-body {
    padding: 20px;
  }
  .event {
    grid-template-columns: 22px 1fr;
  }
  .event > .pill {
    grid-column: 2;
  }
  .login {
    margin: 4vh auto;
  }
  footer span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
