.enrichment-lab {
  background: #f5f7f4;
  color: #173c32;
  min-height: 100vh;
  font-family: Inter, Arial, sans-serif;
}
.enrichment-lab header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px max(24px, calc((100vw - 1200px) / 2));
  border-bottom: 1px solid #d9e2dc;
  background: white;
}
.enrichment-lab header a {
  font-weight: 750;
}
.enrichment-lab main {
  max-width: 1200px;
  margin: auto;
  padding: 40px 24px 80px;
}
.lab-heading {
  margin-bottom: 32px;
}
.lab-heading h1 {
  font-size: clamp(30px, 4vw, 48px);
  margin: 12px 0;
  letter-spacing: -1.5px;
}
.lab-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.enrichment-lab form,
.lab-output {
  background: white;
  border: 1px solid #d9e2dc;
  border-radius: 12px;
  padding: 24px;
  min-width: 0;
}
.enrichment-lab h2 {
  font-size: 22px;
  margin: 0 0 20px;
}
.enrichment-lab form label {
  display: grid;
  gap: 7px;
  margin: 16px 0;
  font-size: 14px;
  font-weight: 600;
}
.enrichment-lab input,
.enrichment-lab select,
.enrichment-lab textarea {
  width: 100%;
  box-sizing: border-box;
  background: white;
  color: #182d25;
  border: 1px solid #bbc9bf;
  border-radius: 6px;
  padding: 12px;
  font: inherit;
}
.enrichment-lab .button {
  margin: 5px 5px 5px 0;
}
.lab-note,
.lab-result-heading small {
  font-size: 12px;
  color: #56675d;
  line-height: 1.6;
}
#lab-status {
  padding: 12px 16px;
  background: #edf3ed;
  border-radius: 6px;
  margin-bottom: 24px;
  line-height: 1.6;
}
.lab-result-heading h2 {
  margin: 12px 0 4px;
  font-size: 30px;
}
.lab-section {
  border-top: 1px solid #dfe7e0;
  padding: 22px 0;
}
.lab-section h3 {
  font-size: 19px;
  margin: 0 0 12px;
}
.lab-finding {
  margin: 18px 0;
}
.lab-finding p,
.lab-result-heading p,
.lab-output p {
  line-height: 1.65;
}
.lab-sources {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
}
.lab-sources a {
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.lab-unknown {
  padding: 14px;
  background: #f7f7f3;
  font-size: 13px;
  line-height: 1.6;
}
.lab-unknown ul {
  padding-left: 20px;
}
.lab-contact-status {
  margin: 20px 0;
  padding: 14px;
  border: 1px solid #dfe7e0;
  border-radius: 6px;
}
.lab-contact-status p {
  margin: 5px 0 0;
}
.lab-output {
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .lab-layout {
    grid-template-columns: 1fr;
  }
  .enrichment-lab header {
    font-size: 12px;
    padding: 20px;
  }
  .enrichment-lab main {
    padding: 28px 16px;
  }
}
@media print {
  .enrichment-lab header,
  .lab-heading,
  #enrichment-form,
  #lab-status,
  .lab-actions {
    display: none;
  }
  .lab-layout {
    display: block;
  }
  .lab-output {
    border: 0;
    padding: 0;
  }
  .enrichment-lab main {
    padding: 0;
  }
  .lab-sources a::after {
    content: " (" attr(href) ")";
  }
}

.enrichment-lab textarea {
  resize: vertical;
}
.lab-contact-item + .lab-contact-item {
  border-top: 1px solid #dfe7e0;
  margin-top: 16px;
  padding-top: 12px;
}
.lab-contact-item h4 {
  margin: 12px 0 6px;
}
.lab-context {
  white-space: pre-wrap;
}
