.xh-resource-pilot .xh-workflow-example { margin: 0; min-inline-size: 0; }
.xh-workflow-example img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #d8e0e1;
}

.xh-workflow-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(.8rem, 2.4vw, 1.5rem);
}
.xh-workflow-detail .resource-fields { margin-block-start: 0; }
.xh-receiving-detail { grid-template-areas: "details photo"; }
.xh-receiving-detail > .resource-fields { grid-area: details; }
.xh-receiving-detail .resource-fields div { grid-template-columns: 5.25rem minmax(0, 1fr); }
.xh-receiving-detail > figure { grid-area: photo; }
.xh-materials-examples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.6rem, 2vw, 1.4rem);
}
.xh-materials-examples > div {
  display: grid;
  grid-template-rows: 1fr auto;
}
.xh-workflow-example { border-block-end: 1px solid var(--xh-line); }
.xh-workflow-example img { aspect-ratio: 1.5; }
.xh-workflow-example figcaption {
  padding-block: .55rem .75rem;
  color: var(--xh-muted);
  font-size: .875rem;
  line-height: 1.55;
}
.xh-workflow-record table { width: 100%; border-collapse: collapse; font-size: .875rem; font-variant-numeric: tabular-nums; }
.xh-workflow-record caption {
  padding: .7rem .6rem;
  color: var(--xh-ink);
  background: #e1ebef;
  font-weight: 700;
  text-align: start;
}
.xh-workflow-record th, .xh-workflow-record td {
  padding: .45rem .4rem;
  border-block-end: 1px solid var(--xh-line);
  text-align: start;
}
.xh-workflow-record thead th { color: var(--xh-muted); font-weight: 650; }

@media (max-width: 820px) {
  .xh-workflow-detail, .xh-materials-examples { grid-template-columns: minmax(0, 1fr); }
  .xh-receiving-detail { grid-template-areas: "photo" "details"; }
  .xh-workflow-example { max-inline-size: 30rem; }
}
