/* Editorial depth: application stages, reference walkthroughs and resource galleries. */
.depth-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.5;
  width: fit-content;
}
.depth-link svg {
  width: 19px;
  height: 19px;
  flex: none;
  transition: transform 0.2s;
}
.depth-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.depth-link:hover svg {
  transform: translate(2px, -2px);
}
.depth-tabs {
  display: flex;
  border-top: 1px solid var(--line);
  gap: 0;
}
.depth-tabs > a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 20px;
  flex: 1;
  color: var(--mid);
  border-bottom: 2px solid transparent;
  text-decoration: none;
  min-width: 0;
  line-height: 1.4;
}
.depth-tabs > a:first-child {
  padding-left: 0;
}
.depth-tabs > a:hover {
  color: var(--ink);
}
.depth-tabs > a[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.depth-tabs svg {
  width: 18px;
  height: 18px;
  margin-left: auto;
  flex: none;
}
.tab-number {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.application-stage {
  margin-bottom: 10px;
}
.application-stage .depth-tabs {
  border-top: 0;
}
.stage-panel {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  background: #161616;
  color: #fff;
  margin-top: 24px;
}
.application-stage[data-ready="true"] .stage-panel {
  margin-top: 0;
}
.stage-photo {
  overflow: hidden;
  min-width: 0;
}
.stage-photo img {
  width: 100%;
  height: 100%;
  min-height: 515px;
  object-fit: cover;
  display: block;
}
.stage-copy {
  padding: 38px 34px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.stage-copy .stage-status {
  font-size: 12px;
  letter-spacing: 0.025em;
  color: #d0d0d0;
  margin: 0 0 35px;
}
.stage-copy h2 {
  font-size: clamp(26px, 2.8vw, 41px);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -0.04em;
  margin: 0 0 22px;
}
.stage-copy > p:not(.stage-status) {
  font-size: 15px;
  line-height: 1.6;
  color: #d0d0d0;
  max-width: 390px;
  margin: 0 0 23px;
}
.stage-copy .depth-link {
  color: #fff;
  margin-bottom: 35px;
}
.stage-sources {
  margin-top: auto;
  width: 100%;
  border-top: 1px solid #414141;
  padding-top: 17px;
}
.stage-sources > span {
  font-size: 11px;
  color: #bdbdbd;
  display: block;
  margin-bottom: 10px;
}
.stage-sources > a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: #fff;
  font-size: 13px;
}
.stage-sources img {
  object-fit: contain;
  background: #fff;
  padding: 3px;
  width: 26px;
  height: 26px;
}
.stage-sources svg {
  width: 16px;
  height: 16px;
  margin-left: auto;
}
.stage-sources a:hover span {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.application-stage > .visual-credit {
  margin-top: 12px;
}

.operator-walkthrough.architecture {
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
}
.walkthrough-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.walkthrough-top > span:last-child {
  color: var(--mid);
  font-size: 12px;
}
.walkthrough-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
}
.walkthrough-layout > .depth-tabs {
  display: flex;
  flex-direction: column;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--paper2);
  padding: 22px 0;
}
.walkthrough-layout > .depth-tabs > a {
  padding: 24px 22px;
  flex: 0 1 auto;
  border: 0;
  border-left: 3px solid transparent;
  align-items: flex-start;
  min-height: 108px;
}
.walkthrough-layout > .depth-tabs > a[aria-selected="true"] {
  border-left-color: var(--ink);
  background: var(--paper);
}
.walkthrough-layout .depth-tabs a > span:nth-child(2) {
  font-size: 15px;
  font-weight: 500;
}
.walkthrough-layout .depth-tabs small {
  display: block;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 8px;
  color: var(--mid);
  max-width: 170px;
}
.walkthrough-layout .depth-tabs .tab-number {
  padding-top: 3px;
}
.walkthrough-layout .depth-tabs svg {
  display: none;
}
.walkthrough-panels {
  min-width: 0;
  padding: 32px;
}
.walkthrough-panel + .walkthrough-panel {
  margin-top: 40px;
}
[data-ready="true"] .walkthrough-panel + .walkthrough-panel {
  margin: 0;
}
.walkthrough-visual {
  background: #181818;
  color: white;
  padding: 24px 32px;
  position: relative;
  min-height: 304px;
}
.record-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 20px;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.record-heading > svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.3;
}
.walkthrough-visual dl {
  margin: 0;
  border-top: 1px solid #484848;
}
.walkthrough-visual dl > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #383838;
  font-size: 13px;
  line-height: 1.4;
}
.walkthrough-visual dt {
  color: #b9b9b9;
}
.walkthrough-visual dd {
  margin: 0;
  font-weight: 400;
  color: #f0f0f0;
}
.walkthrough-visual .record-aside {
  font-size: 11px;
  color: #b9b9b9;
  margin: 20px 0 0;
  line-height: 1.5;
}
.walkthrough-caption {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 28px;
  margin-top: 28px;
  min-height: 185px;
}
.walkthrough-caption h3 {
  font-size: 29px;
  letter-spacing: -0.035em;
  line-height: 1.14;
  font-weight: 400;
  margin: 0;
}
.walkthrough-caption p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mid);
  margin: 0 0 18px;
}
.walkthrough-caption .depth-link {
  font-size: 13px;
}

.source-explorer {
  margin-top: 40px;
}
.source-explorer-panel {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 8%;
  padding: 38px 0;
}
.source-explorer-panel > div:first-child {
  padding-top: 14px;
}
.source-explorer-panel h3 {
  font-size: 30px;
  letter-spacing: -0.035em;
  line-height: 1.15;
  font-weight: 400;
  margin: 0 0 22px;
}
.source-explorer-panel p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--mid);
  margin: 0 0 25px;
  max-width: 380px;
}
.source-explorer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  align-self: start;
  min-height: 300px;
}
.source-explorer-grid > a {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  padding: 24px 18px 18px;
  min-width: 0;
  position: relative;
  min-height: 155px;
  text-decoration: none;
  transition: background 0.2s;
}
.source-explorer-grid > a:hover {
  background: var(--paper2);
}
.source-explorer-grid img {
  width: 44px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 23px;
}
.source-explorer-grid strong {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  padding-right: 15px;
}
.source-explorer-grid a > span {
  font-size: 10px;
  line-height: 1.45;
  color: var(--mid);
  margin-top: 7px;
}
.source-explorer-grid a > svg {
  position: absolute;
  right: 12px;
  bottom: 17px;
  width: 15px;
  height: 15px;
}
[data-theme="dark"] .source-explorer-grid img {
  background: #fff;
  padding: 5px;
}

.depth-gallery {
  overflow: hidden;
}
.gallery-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 35px;
}
.gallery-heading h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.13;
  letter-spacing: -0.04em;
  font-weight: 400;
  margin: 0;
}
.gallery-controls {
  display: flex;
  align-items: center;
  gap: 9px;
}
.gallery-controls > span {
  font-size: 12px;
  color: var(--mid);
  font-variant-numeric: tabular-nums;
  margin-right: 15px;
  white-space: nowrap;
}
.gallery-controls button {
  display: grid;
  place-items: center;
  background: var(--paper2);
  border: 1px solid var(--line);
  width: 44px;
  height: 44px;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.2s;
}
.gallery-controls button:hover:enabled {
  background: var(--paper3);
}
.gallery-controls button:disabled {
  opacity: 0.35;
  cursor: default;
}
.gallery-controls button svg {
  width: 20px;
  height: 20px;
}
.gallery-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
[data-gallery][data-ready="true"] .gallery-viewport {
  overflow: hidden;
  scroll-snap-type: none;
}
.gallery-container {
  display: flex;
  gap: 24px;
  touch-action: auto;
}
.gallery-slide {
  flex: 0 0 42%;
  min-width: 0;
  scroll-snap-align: start;
  transform: translateZ(0);
}
.gallery-card {
  display: block;
  text-decoration: none;
  color: var(--ink);
}
.resource-art {
  height: 310px;
  overflow: hidden;
  position: relative;
  padding: 26px;
  background: #ebe8e2;
  color: #252421;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.art-eyebrow {
  font-size: 12px;
  display: block;
}
.art-signature {
  font-size: 11px;
  display: block;
  line-height: 1.4;
}
.art-connections > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 80%;
  margin: 20px auto;
  gap: 12px;
}
.art-connections > div > span {
  display: grid;
  place-items: center;
  height: 70px;
  background: #fff;
}
.art-connections img {
  max-width: 45px;
  max-height: 42px;
  object-fit: contain;
}
.art-operators {
  background: #202020;
  color: #fff;
}
.art-operators > div {
  display: flex;
  flex-direction: column;
  margin: 22px 0;
}
.art-operators > div > span {
  padding: 10px 0;
  border-bottom: 1px solid #505050;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.art-operators small {
  font-size: 10px;
  color: #ccc;
}
.art-operators svg {
  width: 16px;
  height: 16px;
  margin-left: auto;
}
.art-control {
  background: #e2e8e4;
  color: #172f24;
}
.art-control > div {
  display: flex;
  align-items: center;
  justify-content: center;
}
.art-control > div > span {
  width: 80px;
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  background: #f5f8f5;
}
.art-control svg {
  height: 30px;
  width: 30px;
  stroke-width: 1.2;
}
.art-control b {
  font-size: 12px;
  font-weight: 500;
}
.art-control i {
  width: 30px;
  height: 1px;
  background: #668274;
}
.art-tenancy {
  background: #e6e9ed;
  color: #1d2937;
}
.art-tenancy > div {
  display: flex;
  gap: 14px;
  margin: 20px auto;
  width: 88%;
}
.art-tenancy > div > span {
  display: flex;
  flex-direction: column;
  padding: 18px;
  flex: 1;
  border: 1px solid #87909c;
  background: #f7f9fb;
  gap: 7px;
}
.art-tenancy b {
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 8px;
}
.art-tenancy i {
  font-style: normal;
  background: #e0e6ed;
  font-size: 11px;
  padding: 7px;
}
.gallery-photo {
  padding: 0;
}
.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-card-copy {
  padding: 24px 38px 18px 0;
  position: relative;
}
.gallery-card-copy > span {
  font-size: 12px;
  color: var(--mid);
  display: block;
  margin-bottom: 13px;
}
.gallery-card-copy h3 {
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin: 0 0 12px;
}
.gallery-card-copy p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mid);
  margin: 0;
}
.gallery-card-copy > svg {
  position: absolute;
  right: 2px;
  top: 25px;
  width: 22px;
  height: 22px;
  transition: transform 0.2s;
}
.gallery-card:hover h3 {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.gallery-card:hover .gallery-card-copy > svg {
  transform: translate(2px, -2px);
}
.gallery-progress {
  height: 1px;
  background: var(--line);
  margin-top: 30px;
}
.gallery-progress > span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(var(--gallery-progress, 1));
  transform-origin: left;
  transition: transform 0.3s;
}
.business-photo {
  overflow: hidden;
}

@media (min-width: 1500px) {
  .stage-photo img {
    min-height: 580px;
  }
  .stage-copy {
    padding: 48px 44px 30px;
  }
  .stage-copy h2 {
    font-size: 43px;
  }
}
@media (max-width: 1050px) {
  .stage-copy {
    padding: 26px;
  }
  .stage-photo img {
    min-height: 500px;
  }
  .stage-copy .stage-status {
    margin-bottom: 28px;
  }
  .stage-copy h2 {
    font-size: 31px;
  }
  .stage-copy > p:not(.stage-status) {
    font-size: 14px;
  }
  .stage-copy .depth-link {
    font-size: 13px;
  }
  .walkthrough-layout {
    grid-template-columns: 245px minmax(0, 1fr);
  }
  .walkthrough-panels {
    padding: 24px;
  }
  .walkthrough-caption {
    grid-template-columns: 1fr;
    gap: 15px;
    min-height: 220px;
  }
  .walkthrough-caption h3 br {
    display: none;
  }
  .walkthrough-caption h3 {
    font-size: 26px;
  }
  .source-explorer-panel {
    grid-template-columns: 1fr 1.3fr;
    gap: 5%;
  }
  .source-explorer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-slide {
    flex-basis: 48%;
  }
  .resource-art {
    height: 285px;
    padding: 22px;
  }
  .art-connections > div {
    width: 90%;
  }
  .art-operators > div > span {
    font-size: 17px;
  }
  .gallery-photo {
    padding: 0;
  }
}
@media (max-width: 760px) {
  .depth-tabs > a {
    font-size: 12px;
    padding: 16px 12px;
    gap: 9px;
    align-items: flex-start;
  }
  .depth-tabs > a:first-child {
    padding-left: 0;
  }
  .depth-tabs svg {
    display: none;
  }
  .tab-number {
    font-size: 10px;
    padding-top: 2px;
  }
  .application-stage {
    margin-top: 4px;
  }
  .stage-panel {
    grid-template-columns: 1fr;
  }
  .stage-photo img {
    min-height: 0;
    height: 280px;
  }
  .stage-copy {
    padding: 25px 23px 22px;
    min-height: 408px;
  }
  .stage-copy .stage-status {
    font-size: 11px;
    margin-bottom: 20px;
  }
  .stage-copy h2 {
    font-size: 34px;
    max-width: 500px;
  }
  .stage-copy h2 br {
    display: none;
  }
  .stage-copy > p:not(.stage-status) {
    max-width: 480px;
    font-size: 14px;
  }
  .stage-copy .depth-link {
    margin-bottom: 28px;
    font-size: 14px;
  }
  .stage-sources {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
  }
  .stage-sources > span {
    grid-column: 1/-1;
  }
  .stage-sources > a {
    font-size: 11px;
    gap: 8px;
  }
  .stage-sources svg {
    display: none;
  }
  .stage-sources img {
    width: 23px;
    height: 23px;
  }
  .application-stage > .visual-credit {
    font-size: 10px;
    line-height: 1.5;
  }
  .walkthrough-top {
    padding: 17px 18px;
    flex-direction: column;
    gap: 6px;
  }
  .walkthrough-top > span:last-child {
    font-size: 10px;
  }
  .walkthrough-layout {
    grid-template-columns: 1fr;
  }
  .walkthrough-layout > .depth-tabs {
    flex-direction: row;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0;
  }
  .walkthrough-layout > .depth-tabs > a {
    padding: 15px 12px;
    min-height: 66px;
    border-left: 0;
    border-bottom: 2px solid transparent;
  }
  .walkthrough-layout > .depth-tabs > a[aria-selected="true"] {
    border-bottom-color: var(--ink);
  }
  .walkthrough-layout .depth-tabs a > span:nth-child(2) {
    font-size: 12px;
  }
  .walkthrough-layout .depth-tabs small {
    display: none;
  }
  .walkthrough-layout .depth-tabs .tab-number {
    padding-top: 2px;
    font-size: 10px;
  }
  .walkthrough-panels {
    padding: 18px;
  }
  .walkthrough-visual {
    padding: 20px 18px;
    min-height: 310px;
  }
  .record-heading {
    font-size: 18px;
  }
  .walkthrough-visual dl > div {
    grid-template-columns: 78px 1fr;
    font-size: 11px;
    gap: 10px;
    min-height: 40px;
  }
  .walkthrough-visual .record-aside {
    font-size: 10px;
  }
  .walkthrough-caption {
    min-height: 235px;
    gap: 15px;
    margin-top: 24px;
  }
  .walkthrough-caption h3 {
    font-size: 28px;
  }
  .walkthrough-caption p {
    font-size: 13px;
  }
  .walkthrough-caption .depth-link {
    font-size: 12px;
  }
  .source-explorer {
    margin-top: 30px;
  }
  .source-explorer-panel {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 0;
  }
  .source-explorer-panel > div:first-child {
    padding: 0;
  }
  .source-explorer-panel h3 {
    font-size: 29px;
    margin-bottom: 17px;
  }
  .source-explorer-panel p {
    font-size: 14px;
    max-width: 480px;
  }
  .source-explorer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
  }
  .source-explorer-grid > a {
    padding: 22px 17px 18px;
  }
  .source-explorer-grid img {
    width: 40px;
    height: 36px;
    margin-bottom: 19px;
  }
  .gallery-heading {
    margin-bottom: 25px;
    align-items: flex-start;
  }
  .gallery-heading h2 {
    font-size: 34px;
  }
  .gallery-controls {
    gap: 6px;
  }
  .gallery-controls > span {
    display: none;
  }
  .gallery-controls button {
    width: 40px;
    height: 40px;
  }
  .gallery-slide {
    flex-basis: 88%;
  }
  .gallery-container {
    gap: 18px;
  }
  .resource-art {
    height: 280px;
    padding: 22px;
  }
  .gallery-photo {
    padding: 0;
  }
  .art-connections > div {
    width: 90%;
    gap: 8px;
  }
  .art-connections > div > span {
    height: 65px;
  }
  .art-operators > div > span {
    font-size: 17px;
  }
  .art-control > div > span {
    width: 65px;
    height: 95px;
  }
  .art-control i {
    width: 20px;
  }
  .art-tenancy > div {
    width: 100%;
    gap: 10px;
  }
  .art-tenancy > div > span {
    padding: 15px;
  }
  .gallery-card-copy h3 {
    font-size: 25px;
  }
  .gallery-card-copy p {
    font-size: 13px;
  }
  .art-signature {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .depth-link svg,
  .gallery-card-copy > svg,
  .gallery-progress > span {
    transition: none;
  }
}

.source-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 40px;
  background: var(--paper2);
  color: var(--ink);
  margin-bottom: 23px;
}
.source-mark svg {
  width: 27px;
  height: 27px;
  stroke-width: 1.4;
}
.stage-sources .source-mark {
  width: 26px;
  height: 26px;
  background: #fff;
  color: #171717;
  margin: 0;
  flex: none;
}
.stage-sources .source-mark svg {
  display: block;
  width: 18px;
  height: 18px;
  margin: 0;
}
.art-connections .source-mark {
  margin: 0;
  background: none;
  color: #222;
}
/* Purpose-built architecture plates. These illustrate contracts, not a customer UI. */
.workflow-art {
  height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.workflow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border: 1px solid #606060;
  background: #222;
  width: 110px;
  height: 112px;
  flex: none;
}
.workflow-node > svg {
  width: 29px;
  height: 29px;
  stroke-width: 1.3;
}
.workflow-node b {
  font-size: 12px;
  font-weight: 400;
}
.diagram-line {
  height: 1px;
  background: #777;
  min-width: 22px;
  flex: 1;
  max-width: 55px;
}
.workflow-context {
  flex-direction: column;
  padding: 8px 25px 0;
}
.context-inputs {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 480px;
}
.context-inputs .workflow-node {
  width: 100px;
  height: 98px;
}
.context-lines {
  height: 35px;
  display: flex;
  justify-content: space-between;
  width: calc(100% - 100px);
  max-width: 380px;
  border-bottom: 1px solid #777;
}
.context-lines i {
  height: 100%;
  width: 1px;
  background: #777;
}
.context-envelope {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid #858585;
  background: #f0f0f0;
  color: #1c1c1c;
  padding: 18px 23px;
  margin-top: 24px;
  width: 100%;
  max-width: 480px;
}
.context-envelope:before {
  content: "";
  height: 24px;
  width: 1px;
  background: #777;
  position: absolute;
  left: 50%;
  bottom: 100%;
}
.context-envelope > span {
  font-size: 17px;
  letter-spacing: -0.025em;
}
.context-envelope > div {
  display: flex;
  gap: 7px;
}
.context-envelope b {
  font-weight: 400;
  font-size: 10px;
  padding: 7px 9px;
  border: 1px solid #b6b6b6;
}
.plan-input {
  width: 120px;
  background: #303030;
  border: 1px solid #626262;
  padding: 17px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.plan-input > span {
  font-size: 12px;
}
.plan-input i {
  display: block;
  height: 2px;
  background: #777;
}
.plan-input i:last-child {
  width: 60%;
}
.plan-output {
  width: 145px;
  padding: 18px;
  background: #f0f0f0;
  color: #202020;
  border: 1px solid #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-output > span {
  font-size: 15px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.plan-output > b {
  font-size: 11px;
  font-weight: 400;
  border-bottom: 1px solid #bbb;
  padding-bottom: 9px;
}
.authority-start {
  display: flex;
  align-items: center;
  width: 145px;
  flex: none;
}
.authority-start .workflow-node {
  width: 105px;
}
.authority-gate {
  border: 1px solid #aaa;
  background: #f0f0f0;
  color: #202020;
  width: 185px;
  min-height: 155px;
  padding: 20px 15px;
  text-align: center;
}
.authority-gate > svg {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto 14px;
  stroke-width: 1.3;
}
.authority-gate > span {
  display: block;
  font-size: 17px;
  letter-spacing: -0.025em;
}
.authority-gate > small {
  display: block;
  line-height: 1.6;
  color: #555;
  font-size: 10px;
  margin-top: 10px;
}
.authority-outcomes {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 170px;
}
.authority-outcomes > span {
  position: relative;
  border: 1px solid #686868;
  background: #242424;
  padding: 16px;
  margin-left: 30px;
}
.authority-outcomes i {
  height: 1px;
  width: 30px;
  background: #888;
  position: absolute;
  right: 100%;
  top: 50%;
}
.authority-outcomes b {
  font-weight: 400;
  font-size: 12px;
  display: block;
}
.authority-outcomes small {
  font-size: 10px;
  color: #ccc;
  display: block;
  margin-top: 5px;
}
.receipt-back {
  position: absolute;
  width: 290px;
  height: 220px;
  background: #555;
  transform: translate(15px, -6px);
}
.receipt-sheet {
  position: relative;
  width: 290px;
  background: #f0f0f0;
  color: #222;
  padding: 20px 24px;
  transform: translate(-6px, 5px);
}
.receipt-sheet > div {
  display: flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid #aaa;
  padding-bottom: 15px;
  margin-bottom: 15px;
  font-size: 16px;
}
.receipt-sheet > div > svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.3;
}
.receipt-sheet > p {
  display: flex;
  align-items: center;
  font-size: 11px;
  margin: 14px 0;
  gap: 20px;
}
.receipt-sheet > p > i {
  height: 2px;
  background: #aaa;
  flex: 1;
}
.receipt-sheet > footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  border-top: 1px solid #aaa;
  margin-top: 18px;
  padding-top: 13px;
}
.receipt-sheet footer svg {
  width: 15px;
  height: 15px;
}
.walkthrough-details {
  border-top: 1px solid var(--line);
  font-size: 13px;
  margin-top: 10px;
}
.walkthrough-details summary {
  padding: 15px 0;
  cursor: pointer;
  color: var(--mid);
}
.walkthrough-details dl {
  margin: 0 0 15px;
}
.walkthrough-details dl > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.walkthrough-details dt {
  color: var(--mid);
}
.walkthrough-details dd {
  margin: 0;
}
.application-directory > div:last-child {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.application-directory > div:last-child > a {
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 27px;
  padding: 30px 15px 24px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.application-directory a > svg:first-child {
  width: 30px;
  height: 30px;
  stroke-width: 1.2;
}
.application-directory a > svg:last-child {
  width: 17px;
  height: 17px;
  position: absolute;
  right: 24px;
  bottom: 27px;
}
.application-directory a > span {
  font-size: 14px;
}
.application-directory a:hover > span {
  text-decoration: underline;
  text-underline-offset: 5px;
}
@media (max-width: 1050px) {
  .workflow-art {
    height: 270px;
  }
  .workflow-node {
    width: 85px;
    height: 95px;
  }
  .context-inputs .workflow-node {
    width: 90px;
  }
  .workflow-context {
    padding-inline: 0;
  }
  .context-envelope {
    padding: 17px;
    gap: 15px;
  }
  .context-envelope > span {
    font-size: 15px;
  }
  .context-envelope b {
    padding: 5px;
    font-size: 9px;
  }
  .plan-input {
    width: 90px;
    padding: 12px;
  }
  .plan-output {
    width: 115px;
    padding: 14px;
  }
  .plan-output > span {
    font-size: 13px;
  }
  .diagram-line {
    min-width: 12px;
  }
  .authority-start {
    width: 105px;
  }
  .authority-start .workflow-node {
    width: 82px;
    font-size: 11px;
  }
  .authority-gate {
    width: 140px;
  }
  .authority-gate > span {
    font-size: 14px;
  }
  .authority-outcomes {
    width: 135px;
  }
  .authority-outcomes > span {
    padding: 13px 10px;
    margin-left: 18px;
  }
  .authority-outcomes i {
    width: 18px;
  }
}
@media (max-width: 760px) {
  .workflow-art {
    height: 270px;
  }
  .context-inputs {
    gap: 8px;
  }
  .context-inputs .workflow-node {
    width: 74px;
    height: 86px;
  }
  .workflow-node b {
    font-size: 10px;
  }
  .context-lines {
    width: calc(100% - 74px);
  }
  .context-envelope {
    padding: 15px 12px;
    flex-direction: column;
    gap: 12px;
  }
  .context-envelope b {
    padding: 5px 10px;
    font-size: 10px;
  }
  .context-envelope > span {
    font-size: 16px;
  }
  .walkthrough-visual {
    padding: 15px 12px;
  }
  .workflow-plan {
    gap: 0;
  }
  .workflow-plan > .workflow-node {
    width: 72px;
    height: 90px;
  }
  .plan-input {
    width: 70px;
    padding: 10px;
    gap: 13px;
  }
  .plan-input > span {
    font-size: 10px;
  }
  .plan-output {
    width: 91px;
    padding: 12px;
  }
  .plan-output > span {
    font-size: 12px;
  }
  .plan-output > b {
    font-size: 10px;
  }
  .diagram-line {
    min-width: 8px;
  }
  .authority-start {
    width: 70px;
  }
  .authority-start .workflow-node {
    width: 62px;
    height: 100px;
    padding: 8px;
    text-align: center;
  }
  .authority-gate {
    width: 100px;
    padding: 15px 7px;
  }
  .authority-gate > span {
    font-size: 12px;
  }
  .authority-gate > small {
    font-size: 8px;
  }
  .authority-outcomes {
    width: 97px;
  }
  .authority-outcomes > span {
    padding: 11px 6px;
    margin-left: 12px;
  }
  .authority-outcomes i {
    width: 12px;
  }
  .authority-outcomes b {
    font-size: 10px;
  }
  .authority-outcomes small {
    font-size: 8px;
  }
  .receipt-back,
  .receipt-sheet {
    width: 230px;
  }
  .receipt-sheet {
    padding: 17px 20px;
  }
  .receipt-back {
    height: 215px;
  }
  .receipt-sheet > div {
    font-size: 14px;
  }
  .receipt-sheet > footer {
    font-size: 9px;
  }
  .application-directory > div:last-child {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .application-directory a > span {
    font-size: 13px;
    padding-right: 24px;
  }
  .application-directory a > svg:last-child {
    right: 18px;
  }
  .walkthrough-details {
    font-size: 12px;
  }
  .walkthrough-details dl > div {
    grid-template-columns: 80px 1fr;
    font-size: 11px;
    gap: 10px;
  }
}

[data-gallery][data-ready="true"] .gallery-container {
  touch-action: pan-y pinch-zoom;
}
