/* A product demonstration, progressively enhanced from four readable articles. */
.walkthrough-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 48px;
}
.walkthrough-heading .eyebrow {
  margin-bottom: 24px;
  color: var(--accent);
}
.walkthrough-heading > p {
  max-width: 370px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
}
.walkthrough {
  position: relative;
  padding: 28px;
  color: #e8edf0;
  background: #111719;
  border: 1px solid #2a3438;
  border-radius: 8px;
  overflow: hidden;
  isolation: isolate;
}
.walkthrough:before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 90%;
  height: 700px;
  top: -200px;
  left: 5%;
  background: radial-gradient(ellipse, #498b9650, transparent 65%);
  pointer-events: none;
}
.walkthrough-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: #96a5aa;
  margin: 0 4px 24px;
}
.walkthrough-topline > span:first-child {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #e3eaed;
}
.walkthrough-topline i {
  width: 6px;
  height: 6px;
  background: #a8d3df;
  border-radius: 50%;
  box-shadow: 0 0 16px #9bcfdf70;
}
.demo-window {
  color: #1d272c;
  background: #f7f8f9;
  border-radius: 6px;
  border: 1px solid #ffffff75;
  box-shadow:
    0 30px 70px #0005,
    0 0 0 5px #ffffff04;
  overflow: hidden;
}
.demo-toolbar {
  display: flex;
  gap: 36px;
  align-items: center;
  min-height: 62px;
  padding: 16px 24px;
  border-bottom: 1px solid #dce0e3;
  font-size: 11px;
  color: #67737b;
}
.demo-toolbar > span > span {
  margin: 0 12px;
  color: #a4afb6;
}
.demo-toolbar .demo-draft {
  margin-left: auto;
  font-size: 10px;
  padding: 5px 8px;
  border: 1px solid #dce0e3;
  border-radius: 4px;
  color: #626d75;
  white-space: nowrap;
}
.demo-scene {
  position: relative;
}
.demo-panel {
  padding: 32px;
  border-bottom: 1px solid #dce0e3;
}
.walkthrough-ready .demo-scene {
  min-height: 490px;
}
.walkthrough-ready .demo-panel {
  position: absolute;
  inset: 0;
  border: 0;
}
.demo-panel[hidden] {
  display: none;
}
.demo-panel-heading {
  margin-bottom: 28px;
}
.demo-overline {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #637b86;
}
.demo-panel h3 {
  font-family: flywheel1, Suisse, sans-serif;
  font-size: clamp(26px, 2.4vw, 36px);
  letter-spacing: -0.035em;
  margin: 10px 0;
  line-height: 1.1;
}
.demo-panel-heading p {
  color: #67747b;
  font-size: 13px;
  line-height: 1.5;
}
.source-composition {
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: 28px;
  align-items: center;
}
.document-stack {
  display: grid;
  gap: 12px;
  perspective: 900px;
}
.source-document {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #dce1e4;
  border-radius: 5px;
  padding: 15px 12px;
  background: #fff;
  box-shadow: 0 3px 7px #1b354406;
}
.file-glyph {
  display: grid;
  place-items: center;
  width: 30px;
  height: 35px;
  border: 1px solid #d5dde1;
  border-radius: 3px;
  color: #4f7788;
  flex-shrink: 0;
}
.source-document strong,
.source-document div > span {
  display: block;
  font-size: 11px;
  font-weight: 400;
}
.source-document div > span {
  color: #7c888f;
  font-size: 10px;
  margin-top: 4px;
}
.document-state {
  margin-left: auto;
  color: #89969d;
  font: 9px monospace;
}
.context-note {
  display: flex;
  gap: 10px;
  color: #6c7b83;
  font-size: 11px;
  line-height: 1.5;
  padding: 8px 12px;
}
.context-note > span {
  color: #005f7f;
  font-size: 20px;
}
.drawing-sheet {
  border: 1px solid #d8dfe3;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 8px 25px #0d2f4010;
  overflow: hidden;
}
.process-drawing {
  width: 100%;
  height: auto;
  display: block;
  color: #3b5562;
}
.sheet-heading,
.sheet-footer {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 10px;
  color: #7b888f;
}
.sheet-heading {
  border-bottom: 1px solid #e8edef;
}
.sheet-footer {
  border-top: 1px solid #e8edef;
}
.node-composition {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 28px;
  align-items: center;
}
.node-card h4 {
  margin: 10px 0;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.025em;
}
.node-card p {
  color: #76828a;
  font-size: 12px;
  line-height: 1.5;
}
.parameter-row {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #dae1e5;
  margin-top: 20px;
  padding: 16px 0;
  font-size: 11px;
}
.parameter-row strong {
  font-weight: 400;
}
.guidewords {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.guidewords span {
  padding: 7px 11px;
  border: 1px solid #d9e0e4;
  border-radius: 4px;
  font-size: 10px;
  color: #74828a;
}
.guidewords .selected-guideword {
  background: #e7f0f4;
  color: #005f7f;
  border-color: #96b8c5;
}
.deviation-result {
  padding-top: 18px;
  font-size: 12px;
}
.deviation-result > span {
  margin-right: 8px;
  color: #005f7f;
}
.deviation-result strong {
  font-weight: 500;
}
.worksheet-card {
  background: white;
  border: 1px solid #dce2e6;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 8px 24px #1c384c08;
}
.worksheet-title {
  padding: 17px 20px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.worksheet-title strong {
  font-weight: 500;
}
.worksheet-title > span {
  color: #73808a;
  font-size: 10px;
}
.worksheet-row {
  display: grid;
  grid-template-columns: 24% 1fr 20%;
  border-top: 1px solid #e1e6e9;
  align-items: center;
  font-size: 11px;
  line-height: 1.5;
}
.worksheet-row > span {
  padding: 15px 20px;
}
.worksheet-row > span + span {
  border-left: 1px solid #edf0f2;
}
.worksheet-row strong {
  font-weight: 500;
}
.worksheet-row small {
  display: block;
  font-size: 9px;
  color: #83919a;
  margin-top: 4px;
}
.worksheet-labels {
  background: #f5f7f8;
  color: #74838d;
  font-size: 9px;
}
.worksheet-labels > span {
  padding: 9px 20px;
}
.citation {
  color: #005f7f;
  font-weight: 400;
  background: #edf4f7;
  padding: 2px 5px;
  border-radius: 3px;
  white-space: nowrap;
}
.neutral-status {
  color: #687680;
  font-size: 10px;
}
.worksheet-source {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  border-top: 1px solid #e1e6e9;
  font-size: 10px;
  color: #677f8a;
}
.worksheet-source > span:last-child {
  margin-left: auto;
  color: #8c98a0;
  font-size: 9px;
}
.review-composition {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.review-source {
  background: white;
  border: 1px solid #dbe2e6;
  border-radius: 5px;
  overflow: hidden;
}
.review-source-header {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid #e2e7ea;
  font-size: 10px;
  color: #7b8992;
}
.review-source-body {
  padding: 24px;
}
.review-source h4 {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin: 16px 0 10px;
}
.review-source p {
  font-size: 12px;
  line-height: 1.55;
  color: #76848c;
  max-width: 280px;
}
.evidence-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  margin: 20px 0;
  color: #617f8f;
}
.review-source .neutral-status {
  display: inline-block;
  border: 1px solid #dfe5e9;
  border-radius: 4px;
  padding: 7px;
}
.conversation {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.conversation-message {
  display: flex;
  gap: 12px;
  padding: 14px;
  font-size: 12px;
}
.message-avatar {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: #e8eef1;
  border: 1px solid #d8e1e6;
  border-radius: 7px;
  font-size: 11px;
  color: #567888;
}
.conversation-message strong {
  display: block;
  font-size: 10px;
  font-weight: 500;
  margin: 3px 0 8px;
}
.conversation-message p {
  line-height: 1.6;
  color: #687c86;
}
.assistant-message {
  background: #fff;
  border: 1px solid #dce3e7;
  border-radius: 6px;
  box-shadow: 0 6px 20px #1c384c06;
}
.review-check {
  display: block;
  margin-top: 12px;
  font-size: 10px;
  color: #507887;
}
.revision-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  font-size: 10px;
  color: #7b909b;
}
.revision-line i {
  height: 1px;
  flex: 1;
  background: #d3dfe5;
}
.revision-line strong {
  font-weight: 400;
  color: #005f7f;
}
.demo-statusbar {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  min-height: 40px;
  align-items: center;
  border-top: 1px solid #dce3e7;
  padding: 12px 24px;
  font-size: 9px;
  color: #88959c;
}
.demo-status {
  color: #658292;
}
.walkthrough-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 24px 4px 0;
}
.walkthrough-controls[hidden] {
  display: none;
}
.stage-navigation {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  flex: 1;
}
.stage-navigation button {
  position: relative;
  padding: 0 0 18px;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #839297;
  font-size: 12px;
  background: none;
  border: 0;
  text-align: left;
  transition: color 0.25s;
}
.stage-navigation button:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: #435056;
}
.stage-navigation button:hover,
.stage-navigation button[aria-pressed="true"] {
  color: #f6fbfd;
}
.stage-number {
  font: 10px monospace;
  color: #637a84;
}
.stage-navigation button[aria-pressed="true"] .stage-number {
  color: #b0dce8;
}
.stage-meter {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #b1d7e2;
  transform: scaleX(0);
  transform-origin: left;
}
.stage-navigation button[aria-pressed="true"] .stage-meter {
  transform: scaleX(1);
}
.walkthrough :focus-visible {
  outline-color: #70b6ce;
  outline-offset: 4px;
}
.walkthrough-disclaimer {
  max-width: 660px;
  margin: 24px auto 0;
  text-align: center;
  color: #94a5ad;
  font-size: 11px;
  line-height: 1.6;
}
@media (min-width: 1600px) {
  .walkthrough-ready .demo-scene {
    min-height: 570px;
  }
  .demo-panel {
    padding: 40px;
  }
  .demo-panel-heading {
    margin-bottom: 40px;
  }
}
@media (max-width: 1000px) {
  .walkthrough-heading {
    gap: 30px;
  }
  .walkthrough-heading > p {
    max-width: 270px;
    font-size: 16px;
  }
  .walkthrough {
    padding: 18px;
  }
  .demo-panel {
    padding: 24px;
  }
  .demo-toolbar {
    gap: 24px;
  }
  .source-composition {
    gap: 16px;
    grid-template-columns: 35% 1fr;
  }
  .node-composition {
    gap: 18px;
    grid-template-columns: 1.4fr 1fr;
  }
  .worksheet-row > span {
    padding: 13px;
  }
  .review-composition {
    gap: 18px;
  }
  .review-source-body {
    padding: 18px;
  }
  .stage-navigation {
    gap: 14px;
  }
  .stage-navigation button {
    gap: 7px;
    font-size: 11px;
  }
}
@media (max-width: 760px) {
  .walkthrough-heading {
    display: block;
    margin-bottom: 32px;
  }
  .walkthrough-heading > p {
    max-width: 430px;
    font-size: 17px;
    margin-top: 24px;
  }
  .walkthrough {
    padding: 12px;
    margin: 0 -8px;
    border-radius: 6px;
  }
  .walkthrough-topline {
    font-size: 9px;
    margin: 6px 2px 18px;
    gap: 10px;
  }
  .demo-toolbar {
    min-height: 48px;
    padding: 12px;
    gap: 10px;
  }
  .demo-toolbar img {
    width: 98px;
    height: auto;
  }
  .demo-toolbar > span:not(.demo-draft) {
    display: none;
  }
  .demo-toolbar .demo-draft {
    font-size: 8px;
  }
  .demo-panel {
    padding: 20px 14px;
  }
  .walkthrough-ready .demo-scene {
    min-height: 580px;
  }
  .demo-panel h3 {
    font-size: 26px;
  }
  .demo-panel-heading {
    margin-bottom: 22px;
  }
  .demo-panel-heading p {
    font-size: 11px;
    max-width: 330px;
  }
  .source-composition,
  .node-composition,
  .review-composition {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .document-stack {
    gap: 7px;
  }
  .source-document {
    padding: 8px 10px;
  }
  .source-document strong {
    font-size: 10px;
  }
  .file-glyph {
    width: 22px;
    height: 27px;
    font-size: 12px;
  }
  .context-note {
    display: none;
  }
  .sheet-heading,
  .sheet-footer {
    padding: 8px 12px;
    font-size: 9px;
  }
  .node-sheet .process-drawing {
    min-height: 0;
  }
  .node-card h4 {
    font-size: 18px;
    margin: 6px 0;
  }
  .node-card p {
    font-size: 10px;
  }
  .node-card p br {
    display: none;
  }
  .parameter-row {
    margin-top: 12px;
    padding: 10px 0;
  }
  .deviation-result {
    padding-top: 12px;
  }
  .worksheet-title {
    padding: 14px 10px;
    font-size: 11px;
  }
  .worksheet-title > span {
    font-size: 8px;
  }
  .worksheet-row {
    grid-template-columns: 31% 1fr;
    font-size: 10px;
  }
  .worksheet-row > span {
    padding: 12px 10px;
  }
  .worksheet-row > span:nth-child(3) {
    grid-column: 2;
    border: 0;
    padding-top: 0;
    font-size: 9px;
  }
  .worksheet-labels > span:nth-child(3) {
    display: none;
  }
  .worksheet-labels {
    font-size: 8px;
  }
  .worksheet-source {
    flex-wrap: wrap;
    padding: 12px 10px;
    font-size: 9px;
  }
  .worksheet-source > span:last-child {
    margin-left: 0;
    font-size: 8px;
  }
  .review-source-header {
    padding: 10px 12px;
    font-size: 9px;
  }
  .review-source-body {
    padding: 14px;
  }
  .review-source h4 {
    font-size: 20px;
    margin: 10px 0 6px;
  }
  .review-source p {
    font-size: 10px;
  }
  .evidence-line {
    margin: 12px 0;
    font-size: 9px;
  }
  .review-source .neutral-status {
    font-size: 8px;
    padding: 5px;
  }
  .conversation {
    gap: 8px;
  }
  .conversation-message {
    padding: 9px;
    gap: 9px;
    font-size: 10px;
  }
  .conversation-message strong {
    margin: 0 0 4px;
  }
  .message-avatar {
    width: 22px;
    height: 22px;
    font-size: 9px;
  }
  .review-check {
    font-size: 9px;
    margin-top: 7px;
  }
  .revision-line {
    font-size: 9px;
    padding: 4px 10px;
  }
  .demo-statusbar {
    padding: 10px 12px;
    min-height: 45px;
  }
  .demo-statusbar > span:last-child {
    display: none;
  }
  .walkthrough-controls {
    gap: 12px;
    margin: 18px 2px 0;
  }
  .stage-navigation {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .stage-navigation button {
    padding-bottom: 10px;
    font-size: 10px;
  }
  .walkthrough-disclaimer {
    font-size: 10px;
    margin: 18px 2px 6px;
  }
}
@media (max-width: 360px) {
  .demo-panel {
    padding: 18px 10px;
  }
  .demo-panel h3 {
    font-size: 23px;
  }
  .walkthrough-ready .demo-scene {
    min-height: 600px;
  }
  .stage-navigation button {
    gap: 5px;
    font-size: 9px;
  }
}
/* Keep every scene in the sizing grid: no clipped copy or layout jump at a
   breakpoint, while hidden scenes remain absent from the accessibility tree. */
.walkthrough-ready .demo-scene {
  display: grid;
}
.walkthrough-ready .demo-panel {
  position: relative;
  inset: auto;
  grid-area: 1 / 1;
  align-self: start;
}
.walkthrough-ready .demo-panel[hidden] {
  display: block;
  visibility: hidden;
  pointer-events: none;
}
.walkthrough-heading .eyebrow {
  text-align: left;
}
.workflow .walkthrough-heading h2 {
  margin-bottom: 0;
}

/* The source stays visible while a short signal traces the illustrated path. */
.flow-signal {
  opacity: 0;
  stroke-dasharray: 0.045 0.955;
  stroke-linecap: round;
}

/* A consistent technical sheet in both document and node views. */
.source-composition > *,
.node-composition > * {
  min-width: 0;
}
.sheet-heading {
  color: #425965;
  background: #fbfcfd;
  letter-spacing: 0.02em;
}
.sheet-footer {
  gap: 12px;
  color: #607580;
  font-size: 9px;
}
.sheet-footer > span:last-child {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.drawing-legend,
.drawing-legend > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.drawing-legend > span {
  margin-left: 10px;
}
.drawing-legend::before,
.drawing-legend > span::before {
  content: "";
  width: 16px;
  border-top: 2px solid #357f91;
}
.drawing-legend > span::before {
  border-top: 1px dashed #6e8490;
}
.drawing-frame {
  fill: none;
  stroke: #c9d7df;
  stroke-width: 1;
}
.process-pipe,
.flow-trace,
.flow-signal {
  fill: none;
  stroke: #357f91;
  stroke-width: 2;
  stroke-linejoin: round;
}
.flow-signal {
  stroke: #8dcddd;
  stroke-width: 3;
}
.equipment-symbols {
  fill: #fff;
  stroke: #3b5562;
  stroke-width: 1.6;
  stroke-linejoin: round;
}
.instrument-lines {
  fill: none;
  stroke: #6e8490;
  stroke-width: 1.2;
  stroke-dasharray: 4 3;
}
.instrument-symbols {
  fill: #fff;
  stroke: #3b5562;
  stroke-width: 1.4;
}
.instrument-labels,
.drawing-labels,
.node-tag {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  fill: #304b59;
}
.instrument-labels {
  font-size: 11px;
}
.drawing-notes {
  fill: #647d89;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.03em;
}
.flow-arrows {
  fill: #357f91;
}
.node-area {
  fill: #005f7f08;
  stroke: #6e9fae;
  stroke-width: 1;
  stroke-dasharray: 5 4;
}
.node-tag {
  fill: white;
  font-size: 11px;
}
.node-limit {
  stroke: #005f7f;
  stroke-width: 3;
}
@media (max-width: 760px) {
  .sheet-footer {
    font-size: 8px;
    gap: 6px;
  }
  .drawing-legend > span {
    display: none;
  }
  .drawing-labels {
    font-size: 20px;
  }
  .drawing-notes {
    font-size: 16px;
  }
  .drawing-notes > text:last-child {
    display: none;
  }
  .instrument-labels,
  .node-tag {
    font-size: 14px;
  }
}
