/* The workflow uses one panel, sized by the longest stage at each viewport. */
.opening-depth #process { display: block; padding-inline: 0; }
.opening-depth #process .process-heading,
.opening-depth #process .process-summary,
.opening-depth #process .vit-workflow {
  width: min(calc(100% - 2 * var(--flow-gutter)), var(--flow-frame));
  margin-inline: auto;
}
.opening-depth #process .process-summary {
  position: relative;
  margin-block: 10px var(--flow-group);
}
.opening-depth #process .process-summary h2 { position: relative; max-width: 26ch; }
.opening-depth #process .vit-report-art {
  position: absolute;
  right: 0;
  top: -20px;
  width: min(36%, 420px);
  height: auto;
  color: #1689bf;
  opacity: .42;
  pointer-events: none;
}
.opening-depth #process .vit-workflow { position: relative; z-index: 1; }
.vit-stage-controls:not([hidden]) {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.vit-stage-controls button {
  min-height: 44px;
  padding: 8px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--panel);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.vit-stage-controls button:is(:hover, :active) { background: color-mix(in srgb, var(--blue) 16%, var(--panel)); }
.vit-stage-controls button[aria-pressed="true"] {
  border-color: var(--vit-accent);
  background: color-mix(in srgb, var(--vit-accent) 12%, var(--panel));
  box-shadow: inset 0 -3px var(--vit-accent);
  font-weight: 700;
}
.vit-stage-controls button:focus-visible {
  z-index: 1;
  outline: 2px solid #a8d9fa;
  outline-offset: 3px;
}
.vit-network {
  display: grid;
  gap: 12px;
}
.vit-node {
  min-width: 0;
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--panel);
}
.vit-network.is-interactive .vit-node { grid-area: 1 / 1; }
.vit-network.is-interactive .vit-node[aria-hidden="true"] { visibility: hidden; }
.vit-node-top { float: right; color: var(--vit-accent); margin: 0 0 8px 12px; }
.vit-icon { display: block; width: 28px; height: 28px; }
.vit-icon svg { display: block; width: 100%; height: 100%; }
.vit-node h3 { margin: 0 0 8px; font-size: 1.15rem; color: var(--vit-accent); }
.opening-depth #process .vit-node p { margin: 0 0 8px; font-size: 1rem; line-height: 1.55; }
.vit-outcome {
  clear: both;
  border-top: 1px solid var(--line-strong);
  padding-top: 12px;
  margin-top: 12px;
}
.vit-outcome span { font-size: .85rem; font-weight: 650; color: #c0cbd4; }
.opening-depth #process .vit-outcome p { margin: 4px 0 0; color: var(--text); }
@media (max-width: 820px) {
  .opening-depth #process .vit-report-art { display: none; }
  .vit-stage-controls:not([hidden]) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: no-preference) {
  .vit-stage-controls button { transition: border-color .18s ease, background-color .18s ease; }
}

