.resource-details {
  min-width: 0;
  color: #202522;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.resource-details a {
  color: #155f44;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.resource-details :focus-visible {
  outline: 3px solid #155f44;
  outline-offset: 4px;
}

.resource-details [id] {
  scroll-margin-top: 7rem;
}

.resource-details h2,
.resource-details h3,
.resource-details h4 {
  line-height: 1.35;
  font-weight: 700;
}

.resource-details h2 {
  margin: 0 0 1rem;
  font-size: 1.85rem;
}

.resource-details h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
}

.resource-details h4 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.1rem;
}

.resource-details p,
.resource-details ul,
.resource-details ol {
  margin: 0.75rem 0 1rem;
}

.resource-details ul,
.resource-details ol {
  padding-left: 1.5rem;
}

.resource-details li + li {
  margin-top: 0.4rem;
}

.resource-details .procedure-steps > li + li {
  margin-top: 1rem;
}

.resource-details .chapter,
.resource-details .guide-directory {
  margin-top: 2rem;
  padding: 2rem 0;
  border-top: 1px solid #e7e7e9;
}

.resource-details .notice {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid #155f44;
  background: #f3f7f5;
}

.resource-details .workflow,
.resource-details .chapter-toc {
  margin: 1rem 0;
  border-bottom: 1px solid #e7e7e9;
}

.resource-details summary {
  padding: 1rem 0;
  color: #155f44;
  font-weight: 600;
  cursor: pointer;
}

.resource-details .chapter-toc ul,
.resource-details .guide-directory ul {
  list-style: none;
  padding: 0;
}

.resource-details .chapter-toc a,
.resource-details .guide-directory a {
  display: block;
  padding: 0.5rem 0;
}

.resource-details .workflow-body {
  padding: 0.5rem 0 1.5rem;
}

.resource-details .flow,
.resource-details .step {
  display: flex;
  gap: 0.75rem;
}

.resource-details .flow {
  flex-direction: column;
  min-width: 0;
}

.resource-details .step {
  align-items: baseline;
}

.resource-details figure {
  margin: 1.5rem 0;
}

.resource-details img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid #e7e7e9;
  border-radius: 6px;
  background: #f3f7f5;
}

.resource-details figcaption,
.resource-details .chapter-footer {
  margin-top: 0.5rem;
  color: #565d59;
  font-size: 0.875rem;
}

.resource-details .table-scroll {
  max-width: 100%;
  overflow-x: auto;
  margin: 1.25rem 0;
}

.resource-details table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.resource-details th,
.resource-details td {
  min-width: 9rem;
  padding: 0.75rem;
  border: 1px solid #e7e7e9;
  overflow-wrap: normal;
  vertical-align: top;
}

.resource-details th {
  background: #f3f7f5;
}

.resource-details .role-comparison th:first-child {
  min-width: 12rem;
}

.resource-details hr {
  width: 100%;
  border: 0;
  border-top: 1px solid #e7e7e9;
}

@media print {
  .resource-details .chapter-toc,
  .resource-details .guide-directory,
  .resource-details .chapter-footer {
    display: none;
  }
}
