:root {
  --esc31-ink: #20242a;
  --esc31-muted: #5f6875;
  --esc31-border: #d9dee7;
  --esc31-surface: #ffffff;
  --esc31-page: #f5f7fa;
  --esc31-blue: #1f4f82;
  --esc31-blue-soft: #e9f0f7;
  --esc31-green: #0f5132;
  --esc31-green-soft: #d1e7dd;
  --esc31-orange: #7a4100;
  --esc31-orange-soft: #fff3cd;
  --esc31-red: #842029;
  --esc31-red-soft: #f8d7da;
  --esc31-table-stripe: #f7f9fc;
  --esc31-content-width: 1720px;
}

body {
  color: var(--esc31-ink);
  background: var(--esc31-page);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.48;
}

.esc31-nav {
  align-items: center;
  background: var(--esc31-blue);
  box-shadow: 0 2px 10px rgba(20, 31, 45, 0.16);
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0 auto 1rem;
  max-width: var(--esc31-content-width);
  overflow: visible;
  padding: 0.55rem 0.75rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.esc31-nav a {
  border-radius: 4px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.35rem 0.4rem;
  text-decoration: none;
  white-space: nowrap;
}

.esc31-nav a:hover,
.esc31-nav a:focus {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.esc31-nav-more {
  align-items: center;
  display: flex;
  margin: 0;
  position: relative;
}

.esc31-nav-more summary {
  align-items: center;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 0.92rem;
  font-weight: 600;
  gap: 0.3rem;
  line-height: 1.48;
  list-style: none;
  margin: 0;
  padding: 0.35rem 0.4rem;
  white-space: nowrap;
}

.esc31-nav-more summary::-webkit-details-marker {
  display: none;
}

.esc31-nav-more summary::after {
  border-bottom: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  display: inline-block;
  content: "";
  height: 0.32rem;
  margin-top: -0.16rem;
  transition: transform 0.15s ease;
  transform: rotate(45deg);
  width: 0.32rem;
}

.esc31-nav-more[open] summary::after {
  margin-top: 0.16rem;
  transform: rotate(225deg);
}

.esc31-nav-more summary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.esc31-nav-more summary:focus {
  outline: none;
}

.esc31-nav-more summary:focus-visible {
  box-shadow: inset 0 -2px rgba(255, 255, 255, 0.9);
}

.esc31-nav-more-menu {
  background: var(--esc31-surface);
  border: 1px solid var(--esc31-border);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(20, 31, 45, 0.18);
  display: flex;
  flex-direction: column;
  left: 0;
  min-width: 14rem;
  padding: 0.3rem;
  position: absolute;
  top: calc(100% + 0.45rem);
  z-index: 1200;
}

.esc31-nav .esc31-nav-more-menu a {
  color: var(--esc31-blue);
  font-weight: 550;
  padding: 0.48rem 0.6rem;
}

.esc31-nav-more-heading {
  color: var(--esc31-muted);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.055em;
  margin: 0.2rem 0.35rem 0;
  padding: 0.52rem 0.25rem 0.18rem;
  text-transform: uppercase;
}

.esc31-nav-more-heading:not(:first-child) {
  border-top: 1px solid var(--esc31-border);
}

.esc31-nav .esc31-nav-more-menu a:hover,
.esc31-nav .esc31-nav-more-menu a:focus {
  background: var(--esc31-blue-soft);
  color: var(--esc31-blue);
}

.esc31-code-tools {
  display: flex;
  justify-content: flex-end;
  margin: -0.55rem auto 0.55rem;
  max-width: var(--esc31-content-width);
  padding: 0 0.75rem;
}

.esc31-code-toggle {
  background: var(--esc31-surface);
  border: 1px solid var(--esc31-blue);
  border-radius: 5px;
  color: var(--esc31-blue);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 650;
  padding: 0.32rem 0.65rem;
}

.esc31-code-toggle:hover,
.esc31-code-toggle:focus {
  background: var(--esc31-blue-soft);
}

.esc31-code-toggle:disabled {
  border-color: var(--esc31-border);
  color: var(--esc31-muted);
  cursor: not-allowed;
  opacity: 0.7;
}

#quarto-content {
  max-width: var(--esc31-content-width);
  margin: 0 auto;
  width: min(var(--esc31-content-width), 98vw);
}

.page-columns {
  max-width: var(--esc31-content-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: min(var(--esc31-content-width), 98vw) !important;
}

body .page-columns main.content {
  max-width: none;
}

main.content {
  background: var(--esc31-surface);
  border: 1px solid var(--esc31-border);
  border-radius: 8px;
  margin-top: 1rem;
  margin-bottom: 2rem;
  padding: 1.35rem 1.4rem;
}

#title-block-header {
  border-bottom: 1px solid var(--esc31-border);
  margin-bottom: 1.35rem;
  padding-bottom: 0.8rem;
}

h1.title {
  color: var(--esc31-blue);
  font-weight: 700;
}

h2 {
  border-bottom: 1px solid var(--esc31-border);
  color: var(--esc31-blue);
  margin-top: 2rem;
  padding-bottom: 0.25rem;
}

h3 {
  color: #2d3d50;
  margin-top: 1.45rem;
}

a {
  color: var(--esc31-blue);
}

figure,
.cell-output-display {
  margin: 1rem 0 1.35rem;
}

.cell-output-display {
  overflow-x: auto;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

.workflow-hero-art > a {
  display: block;
  margin-left: auto;
  width: min(100%, 336px);
}

.workflow-hero-art > a img {
  width: 100%;
}

.workflow-hero-art > a:focus-visible {
  outline: 3px solid var(--esc31-blue);
  outline-offset: 3px;
}

figcaption,
.figure-caption,
caption,
.table-caption {
  color: var(--esc31-muted);
  font-size: 0.92rem;
  margin-top: 0.35rem;
}

table {
  width: auto;
  max-width: 100%;
  font-size: 0.89rem;
}

thead {
  border-bottom: 2px solid var(--esc31-blue);
}

tbody tr:nth-child(even) {
  background: var(--esc31-table-stripe);
}

th {
  color: #27364a;
  font-weight: 650;
}

td,
th {
  vertical-align: top;
}

.wide-review-table {
  max-width: 100%;
  overflow-x: auto;
}

.wide-review-table table {
  font-size: 0.78rem;
  table-layout: fixed;
  width: 100%;
}

.wide-review-table th:nth-child(1),
.wide-review-table td:nth-child(1) {
  width: 20%;
}

.wide-review-table th:nth-child(2),
.wide-review-table td:nth-child(2) {
  overflow-wrap: anywhere;
  width: 60%;
}

.wide-review-table th:nth-child(3),
.wide-review-table td:nth-child(3) {
  overflow-wrap: anywhere;
  width: 20%;
}

.review-status-key {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  margin: 0.75rem 0 1rem;
}

.review-status {
  border: 1px solid;
  border-radius: 999px;
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.2rem 0.5rem;
}

.review-status--green {
  background: var(--esc31-green-soft);
  border-color: #a3cfbb;
  color: var(--esc31-green);
}

.review-status--orange {
  background: var(--esc31-orange-soft);
  border-color: #ffda6a;
  color: var(--esc31-orange);
}

.review-status--red {
  background: var(--esc31-red-soft);
  border-color: #f1aeb5;
  color: var(--esc31-red);
}

.wide-path-table {
  max-width: 100%;
  overflow-x: auto;
}

.wide-path-table table {
  font-size: 0.82rem;
  table-layout: fixed;
  width: 100%;
}

.wide-path-table th:nth-child(1),
.wide-path-table td:nth-child(1) {
  width: 27%;
}

.wide-path-table th:nth-child(2),
.wide-path-table td:nth-child(2) {
  overflow-wrap: anywhere;
  word-break: break-word;
  width: 73%;
}

pre,
code {
  font-size: 0.92em;
}

#TOC {
  border-left: 3px solid var(--esc31-blue-soft);
  padding-left: 0.7rem;
}

#TOC a {
  color: #334155;
}

.quarto-title-meta {
  color: var(--esc31-muted);
}

@media (max-width: 900px) {
  .esc31-nav {
    margin-bottom: 0;
  }

  main.content {
    border-radius: 0;
    margin-top: 0;
    padding: 1rem;
  }
}

@media (max-width: 700px) {
  #quarto-content,
  .page-columns {
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-columns,
  .page-columns > *,
  main.content,
  .cell,
  .cell-output,
  .cell-output-display,
  figure {
    min-width: 0;
    max-width: 100%;
  }

  main.content {
    padding: 0.8rem;
  }

  main.content p code,
  main.content li code,
  main.content td code {
    overflow-wrap: anywhere;
    white-space: normal;
    word-break: break-word;
  }

  div.sourceCode,
  pre,
  .cell-output-display {
    max-width: 100%;
    overflow-x: auto;
  }

  .esc31-nav-more {
    position: static;
  }

  .esc31-nav-more-menu {
    left: 0.5rem;
    right: 0.5rem;
    top: calc(100% + 0.25rem);
    min-width: 0;
  }

  .workflow-hero-art > a {
    margin-left: 0;
  }
}
