/* One persistent evidence-to-report composition; static first, motion optional. */
.visual-workflow {
  --story-ink: #103b3f;
  --story-cyan: #2d8590;
  --story-pale: #edf5f4;
  --story-line: #bed2d2;
  --story-amber: #f4e8c9;
  background: #fff;
  color: var(--story-ink);
}
.visual-intro {
  max-width: 1280px;
  margin: auto;
  padding: 38px 32px 28px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: end;
  gap: 10px 48px;
}
.visual-intro .eyebrow {
  grid-column: 1/-1;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  margin: 0;
}
.visual-intro h1 {
  font-size: clamp(2rem, 3.3vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 400;
  margin: 0;
  max-width: 20ch;
}
.visual-intro > p:last-child {
  font-size: 0.94rem;
  line-height: 1.65;
  margin: 0;
  max-width: 38ch;
}
.visual-story {
  max-width: 1344px;
  margin: auto;
  position: relative;
  padding-inline: 24px;
}
.story-stage {
  padding: 20px 24px 18px;
  background: #f2f6f5;
  border-top: 1px solid var(--story-ink);
  border-bottom: 1px solid var(--story-line);
  position: relative;
  isolation: isolate;
}
.story-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font:
    10px/1.4 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #42676a;
}
.story-position {
  display: none;
}
.story-stage > h2 {
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  margin: 15px 0 22px;
}
.story-canvas {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 250px) minmax(0, 430px) minmax(0, 250px);
  gap: 28px;
  justify-content: center;
  align-items: center;
  grid-template-areas: "evidence record holding" "evidence report review";
  padding: 14px 0;
}
.story-threads {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: -1;
}
.story-threads path {
  fill: none;
  stroke: #71a1a5;
  stroke-width: 1.5;
  stroke-dasharray: 5 5;
}
.story-threads .field-thread {
  stroke: #a5926a;
}
.story-threads .review-thread {
  stroke: #103b3f;
}
.evidence-group {
  grid-area: evidence;
}
.report-paper {
  grid-area: report;
}
.review-panel {
  grid-area: review;
}
.result-holding {
  grid-area: holding;
}
.evidence-group,
.organized-record,
.report-paper,
.review-panel {
  scroll-margin-top: calc(var(--site-header-height, 76px) + 18px);
  min-width: 0;
}
.region-label {
  font:
    10px/1.5 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0 0 10px;
}
.source-sheet {
  background: #fff;
  border: 1px solid var(--story-line);
  padding: 17px;
  box-shadow: 0 5px 15px #103b3f08;
}
.source-sheet header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font:
    10px/1.4 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  text-transform: uppercase;
  border-bottom: 1px solid var(--story-line);
  padding-bottom: 11px;
}
.source-sheet header strong {
  font-weight: 400;
}
.field-notes {
  transform: rotate(-2deg);
}
.source-location {
  font-size: 0.75rem;
  line-height: 1.6;
  margin: 12px 0;
}
.source-location b {
  font-weight: 500;
}
.source-material {
  min-height: 54px;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
}
.source-material:has(.moving-sample) .source-copy {
  display: none;
}
.source-image-target {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.image-placeholder {
  width: 112px;
  height: 86px;
  border: 1px dashed #a5bdbf;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font:
    9px ui-monospace,
    monospace;
  color: #42676a;
  gap: 6px;
}
.image-placeholder svg {
  width: 28px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.source-image-target:has(.moving-image) .image-placeholder {
  display: none;
}
.source-sheet footer {
  font-size: 0.625rem;
  line-height: 1.5;
  color: #42676a;
  margin-top: 12px;
}
.lab-source {
  margin-top: 18px;
  border-top: 3px solid var(--story-cyan);
  transform: rotate(2deg);
}
.lab-source > p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.625rem;
  margin: 12px 0 8px;
}
.source-result {
  min-height: 49px;
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  background: #dcefee;
  padding: 6px;
}
.source-result:has(.moving-result) .source-result-copy {
  display: none;
}
.source-result-copy b {
  font-weight: 500;
}
.organized-record {
  display: block;
  grid-area: record;
  background: #0a2e30;
  color: #fff;
  padding: 20px;
  border-top: 3px solid #70c3ca;
  box-shadow: 0 15px 30px #103b3f12;
}
.organized-record h3 {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin: 0 0 6px;
}
.send-label {
  font:
    9px/1.5 ui-monospace,
    monospace;
  color: #b6d6d7;
}
.record-sample-target {
  min-height: 75px;
  margin-top: 13px;
  border-block: 1px solid #406365;
  display: flex;
  align-items: center;
}
.record-result-target {
  min-height: 53px;
  display: flex;
  align-items: center;
}
.organized-record > p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font:
    10px/1.5 ui-monospace,
    monospace;
  color: #cee4e5;
  margin: 12px 0 0;
}
.report-paper {
  background: #fff;
  border: 1px solid #b9cccc;
  box-shadow: 0 18px 45px #123b3f13;
  padding: 24px;
  position: relative;
}
.report-heading {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: start;
  font:
    9px/1.5 ui-monospace,
    monospace;
  color: #42676a;
  text-transform: uppercase;
}
.report-heading strong {
  font-weight: 400;
  text-align: right;
  color: #806224;
}
.report-paper h3 {
  font-size: 1.875rem;
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-weight: 400;
  margin: 17px 0 7px;
}
.report-project {
  font-size: 0.625rem;
  line-height: 1.6;
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.report-rule {
  height: 2px;
  background: #0a2e30;
  margin: 15px 0;
}
.report-paper h4 {
  font-size: 0.75rem;
  font-weight: 600;
  margin: 15px 0 8px;
}
.report-material-target {
  min-height: 54px;
  display: flex;
  align-items: center;
}
.report-field-fragment > p {
  font-size: 0.6875rem;
  margin: 4px 0 0;
  color: #42676a;
}
.report-result-target {
  border-block: 1px solid #cbdada;
  min-height: 40px;
  display: flex;
  align-items: center;
  font-size: 0.75rem;
}
[data-held-result] {
  color: #7a622e;
  font-style: italic;
}
.report-source-ref {
  font:
    9px/1.5 ui-monospace,
    monospace;
  color: #42676a;
  display: block;
  margin-top: 6px;
}
.report-image-target {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.report-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font:
    8px/1.6 ui-monospace,
    monospace;
  color: #42676a;
  border-top: 1px solid #cbdada;
  padding-top: 12px;
  margin-top: 12px;
}
.report-footer > span {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.report-footer span:last-child {
  text-align: right;
}
.moving-sample {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: #f5ebd5;
  color: #654c1e;
  padding: 9px 12px;
  border-left: 2px solid #a2843b;
  font-size: 0.8125rem;
  line-height: 1.3;
  width: max-content;
  max-width: 100%;
}
.moving-sample strong {
  font:
    10px/1.4 ui-monospace,
    monospace;
  font-weight: 400;
}
.moving-result {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: #103b3f;
  background: #dbefef;
  border-left: 2px solid #2d8590;
  padding: 9px 11px;
  width: max-content;
  max-width: 100%;
  line-height: 1.3;
}
.moving-result b {
  font-size: 0.8125rem;
  font-weight: 500;
}
.moving-result small {
  font:
    8px/1.4 ui-monospace,
    monospace;
  text-transform: uppercase;
}
.report-result-target .moving-result {
  padding: 3px 0;
  border: 0;
  background: transparent;
}
.report-result-target .moving-result small {
  display: none;
}
.moving-image {
  position: relative;
  z-index: 4;
  width: 126px;
  margin: 0;
  background: white;
  border: 4px solid white;
  box-shadow: 0 3px 12px #123b3f23;
}
.moving-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 10/7;
  object-fit: cover;
}
.moving-image figcaption {
  font:
    8px/1.5 ui-monospace,
    monospace;
  padding: 3px 2px 0;
  color: #42676a;
}
.result-holding {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px dashed #9ebdc0;
  padding: 12px;
  background: #edf5f4;
}
.holding-label {
  font:
    10px/1.5 ui-monospace,
    monospace;
  color: #42676a;
  max-width: 13ch;
}
.review-panel {
  background: #0a2e30;
  color: #fff;
  padding: 22px;
}
.review-mark {
  width: 38px;
  height: 38px;
  color: #9dd6d9;
  margin-bottom: 13px;
}
.review-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.review-panel h3 {
  font-size: 1.4375rem;
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 400;
  margin: 0 0 19px;
}
.review-source {
  font:
    10px/1.6 ui-monospace,
    monospace;
  color: #c7e4e5;
  margin: 0 0 12px;
}
.review-source span {
  display: block;
  color: #a9cdd0;
}
.review-static p {
  font-size: 0.75rem;
  margin: 12px 0;
  padding-left: 18px;
  position: relative;
}
.review-static p:before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid #8dc3c6;
  position: absolute;
  left: 0;
  top: 4px;
}
.review-controls label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.75rem;
  line-height: 1.4;
  min-height: 42px;
  border-top: 1px solid #365d60;
  cursor: pointer;
}
.review-controls input {
  width: 17px;
  height: 17px;
  accent-color: #9dd6d9;
  flex: 0 0 auto;
  margin: 0;
}
.review-controls input:focus-visible {
  outline: 2px solid #f0cf83;
  outline-offset: 4px;
}
.review-controls input:disabled + span {
  color: #aac2c3;
}
.review-status {
  font:
    9px/1.6 ui-monospace,
    monospace;
  color: #e6d5a8;
  min-height: 28px;
  margin: 12px 0 0;
}
.review-reset {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #8ebcbe;
  color: #fff;
  padding: 5px 0;
  font: inherit;
  font-size: 0.625rem;
  line-height: 1.5;
  cursor: pointer;
}
.review-ownership {
  font-size: 0.6875rem;
  line-height: 1.6;
  color: #c3dddd;
  margin: 18px 0 0;
}
.story-controls {
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding-top: 14px;
}
.story-controls:not([hidden]) {
  display: flex;
}
.story-controls > button {
  border: 1px solid #a8c2c4;
  background: white;
  color: #103b3f;
  width: 42px;
  height: 36px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.story-controls > button:disabled {
  opacity: 0.35;
  cursor: default;
}
.story-controls nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.story-controls nav button {
  width: 34px;
  height: 34px;
  padding: 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.story-controls nav button span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid #527d80;
  background: transparent;
}
.story-controls nav button[aria-current] span {
  background: #103b3f;
  border-color: #103b3f;
}
.story-controls button:focus-visible,
.visual-close a:focus-visible {
  outline: 2px solid #8b6c24;
  outline-offset: 4px;
}
.story-controls > span {
  position: absolute;
  right: 26px;
  font:
    9px/1.4 ui-monospace,
    monospace;
  color: #42676a;
}
.story-static-note {
  font-size: 0.6875rem;
  line-height: 1.6;
  text-align: center;
  margin: 18px 0 0;
  color: #42676a;
}
.visual-close {
  max-width: 1280px;
  margin: 0 auto;
  padding: 45px 32px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.visual-close h2 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.035em;
  max-width: 19ch;
  margin: 0;
}
.visual-close > div {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.visual-close > div > a:last-child {
  font-size: 0.8rem;
  text-decoration: none;
  border-bottom: 1px solid #7b9a9c;
  padding-block: 7px;
}
.visual-story[data-story-mode="scroll"] {
  height: calc(var(--canvas-height) + var(--beat-distance) * 3);
}
[data-story-mode="scroll"] .story-stage {
  position: sticky;
  top: calc(var(--site-header-height, 76px) + 8px);
  height: var(--canvas-height);
  z-index: 2;
  overflow: visible;
}
[data-story-mode="scroll"] .story-topline {
  font-size: 9px;
}
[data-story-mode="scroll"] .story-position {
  display: inline;
}
[data-story-mode="scroll"] .story-stage > h2 {
  margin: 12px 0;
  font-size: 1.3rem;
}
[data-story-mode="scroll"] .story-canvas {
  display: block;
  padding: 0;
  height: calc(var(--canvas-height) - 125px);
  min-height: 0;
}
[data-story-mode="scroll"] .story-static-note {
  display: none;
}
[data-story-mode="scroll"] .evidence-group {
  position: absolute;
  width: 236px;
  left: 2%;
  top: 2%;
  z-index: 2;
  transform-origin: top left;
  transition:
    opacity 0.65s,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-story-mode="scroll"] .field-notes {
  padding: 13px;
}
[data-story-mode="scroll"] .source-location {
  margin: 9px 0;
}
[data-story-mode="scroll"] .source-material {
  min-height: 50px;
}
[data-story-mode="scroll"] .source-image-target {
  height: 92px;
}
[data-story-mode="scroll"] .source-sheet footer {
  margin-top: 8px;
}
[data-story-mode="scroll"] .lab-source {
  margin-top: 11px;
  padding: 13px;
}
[data-story-mode="scroll"] .organized-record {
  display: block;
  position: absolute;
  width: 270px;
  left: 32%;
  top: 10%;
  z-index: 3;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition:
    opacity 0.65s,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-story-mode="scroll"] .report-paper {
  position: absolute;
  width: 400px;
  left: 45%;
  top: 0;
  z-index: 2;
  opacity: 0.22;
  transform: translateX(13%) scale(0.9);
  transform-origin: top center;
  transition:
    opacity 0.65s,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-story-mode="scroll"] .report-image-target {
  min-height: 82px;
}
[data-story-mode="scroll"] .report-paper .moving-image {
  width: 106px;
}
[data-story-mode="scroll"] .report-paper h4 {
  margin-top: 12px;
}
[data-story-mode="scroll"] .review-panel {
  position: absolute;
  width: 216px;
  right: 0;
  top: 27%;
  z-index: 4;
  opacity: 0;
  visibility: hidden;
  transform: translateX(12px);
  transition:
    opacity 0.65s,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.65s;
}
[data-story-mode="scroll"] .result-holding {
  position: absolute;
  width: 245px;
  left: 5%;
  bottom: 9%;
  z-index: 3;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.65s,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-story-mode="scroll"] .story-threads path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1.1s ease;
}
[data-story-mode="scroll"][data-frame="1"] .evidence-group {
  opacity: 0.45;
  transform: translate(-15px, 16px) scale(0.82);
}
[data-story-mode="scroll"][data-frame="1"] .organized-record {
  opacity: 1;
  transform: none;
}
[data-story-mode="scroll"][data-frame="1"] .report-paper {
  opacity: 0.36;
}
[data-story-mode="scroll"][data-frame="1"] .field-thread,
[data-story-mode="scroll"][data-frame="1"] .lab-thread {
  stroke-dashoffset: 0;
}
[data-story-mode="scroll"][data-frame="2"] .evidence-group,
[data-story-mode="scroll"][data-frame="3"] .evidence-group {
  opacity: 0.25;
  transform: translate(-10px, 15px) scale(0.73);
}
[data-story-mode="scroll"][data-frame="2"] .organized-record,
[data-story-mode="scroll"][data-frame="3"] .organized-record {
  opacity: 0.14;
  transform: translate(-35%, 0) scale(0.7);
}
[data-story-mode="scroll"][data-frame="2"] .report-paper,
[data-story-mode="scroll"][data-frame="3"] .report-paper {
  opacity: 1;
  transform: translateX(-12%);
}
[data-story-mode="scroll"][data-frame="2"] .result-holding,
[data-story-mode="scroll"][data-frame="3"] .result-holding {
  opacity: 1;
  transform: none;
}
[data-story-mode="scroll"][data-frame="2"] .field-thread,
[data-story-mode="scroll"][data-frame="2"] .lab-thread,
[data-story-mode="scroll"][data-frame="3"] .story-threads path {
  stroke-dashoffset: 0;
}
[data-story-mode="scroll"][data-frame="3"] .review-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}
[data-story-mode="scroll"][data-lab-reviewed="true"] .result-holding {
  opacity: 0;
}
.story-markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.story-marker {
  position: absolute;
  height: 1px;
  width: 100%;
  scroll-margin-top: calc(var(--site-header-height, 76px) + 8px);
}
@media (max-width: 1120px) {
  .story-canvas {
    grid-template-columns: minmax(0, 240px) minmax(0, 430px);
    grid-template-areas: "evidence record" "holding report" "review review";
  }
  .review-panel {
    grid-column: 1/-1;
    width: min(100%, 430px);
    justify-self: end;
  }

  [data-story-mode="scroll"] .report-paper {
    width: 360px;
    left: 43%;
    padding: 20px;
  }
  [data-story-mode="scroll"] .review-panel {
    width: 204px;
    right: 0;
    top: 28%;
  }
  [data-story-mode="scroll"][data-frame="3"] .report-paper {
    transform: translateX(-28%);
  }
  [data-story-mode="scroll"] .evidence-group {
    width: 214px;
  }
  [data-story-mode="scroll"] .organized-record {
    left: 30%;
    width: 250px;
  }
}
@media (max-width: 760px) {
  .visual-intro {
    padding: 25px 20px 22px;
    display: block;
  }
  .visual-intro .eyebrow {
    font-size: 0.59rem;
    margin-bottom: 12px;
  }
  .visual-intro h1 {
    font-size: 1.9rem;
    line-height: 1.08;
    max-width: 17ch;
  }
  .visual-intro > p:last-child {
    font-size: 0.8rem;
    line-height: 1.5;
    margin-top: 12px;
    max-width: 33ch;
  }
  .visual-story {
    padding-inline: 12px;
  }
  .story-stage {
    padding: 15px 12px 18px;
  }
  .story-topline {
    font-size: 9px;
    gap: 10px;
  }
  .story-stage > h2 {
    font-size: 1.15rem;
    margin: 14px 0 20px;
  }
  .story-canvas {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 26px;
  }
  .evidence-group {
    width: min(100%, 360px);
    align-self: center;
  }
  .source-sheet {
    padding: 18px;
  }
  .source-location {
    font-size: 0.85rem;
  }
  .source-material {
    font-size: 0.9rem;
  }
  .source-sheet header {
    font-size: 0.65rem;
  }
  .source-sheet footer {
    font-size: 0.65rem;
  }
  .lab-source > p {
    font-size: 0.7rem;
  }
  .source-result {
    font-size: 0.8rem;
  }
  .report-paper {
    width: min(100%, 400px);
    align-self: center;
    padding: 22px;
  }
  .report-heading {
    font-size: 0.65rem;
  }
  .report-paper h3 {
    font-size: 1.9rem;
  }
  .report-project {
    font-size: 0.72rem;
    flex-wrap: wrap;
  }
  .report-paper h4 {
    font-size: 0.85rem;
  }
  .report-field-fragment > p {
    font-size: 0.75rem;
  }
  .report-source-ref,
  .report-footer {
    font-size: 0.65rem;
  }
  .report-result-target {
    font-size: 0.85rem;
  }
  .moving-sample {
    font-size: 0.9rem;
  }
  .moving-sample strong {
    font-size: 0.7rem;
  }
  .moving-result b {
    font-size: 0.9rem;
  }
  .result-holding {
    align-self: center;
    width: min(100%, 400px);
  }
  .review-panel {
    width: min(100%, 400px);
    align-self: center;
  }
  .review-panel h3 {
    font-size: 1.5rem;
  }
  .review-controls label {
    font-size: 0.88rem;
    min-height: 48px;
  }
  .review-ownership {
    font-size: 0.75rem;
  }
  .story-threads {
    display: none;
  }
  .story-static-note {
    font-size: 0.7rem;
  }
  .visual-close {
    display: block;
    padding: 30px 20px 40px;
  }
  .visual-close h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  .visual-close > div {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }
  [data-story-mode="scroll"] .story-stage {
    padding: 13px 12px 10px;
  }
  [data-story-mode="scroll"] .story-stage > h2 {
    font-size: 1.08rem;
    margin: 12px 0;
  }
  [data-story-mode="scroll"] .story-topline {
    font-size: 8px;
  }
  [data-story-mode="scroll"] .story-canvas {
    height: calc(var(--canvas-height) - 113px);
  }
  [data-story-mode="scroll"] .evidence-group {
    left: 50%;
    top: 0;
    width: 255px;
    transform: translateX(-50%);
    transform-origin: center top;
  }
  [data-story-mode="scroll"] .field-notes {
    padding: 14px;
    transform: rotate(-2deg);
  }
  [data-story-mode="scroll"] .source-image-target {
    height: 84px;
  }
  [data-story-mode="scroll"] .source-location {
    font-size: 12px;
  }
  [data-story-mode="scroll"] .source-sheet header {
    font-size: 10px;
  }
  [data-story-mode="scroll"] .source-sheet footer {
    font-size: 10px;
  }
  [data-story-mode="scroll"] .source-material {
    min-height: 50px;
  }
  [data-story-mode="scroll"] .lab-source {
    width: 255px;
    margin-top: 15px;
  }
  [data-story-mode="scroll"] .lab-source > p {
    font-size: 10px;
  }
  [data-story-mode="scroll"] .source-result {
    font-size: 12px;
  }
  [data-story-mode="scroll"] .organized-record {
    width: 275px;
    top: 24%;
    left: 50%;
    transform: translate(-50%, 20px) scale(0.9);
  }
  [data-story-mode="scroll"] .report-paper {
    width: calc(100% - 4px);
    left: 50%;
    top: 0;
    padding: 19px;
    opacity: 0.08;
    transform: translateX(-50%) scale(0.9);
  }
  [data-story-mode="scroll"] .report-heading {
    font-size: 8px;
  }
  [data-story-mode="scroll"] .report-paper h3 {
    font-size: 27px;
    margin-top: 14px;
  }
  [data-story-mode="scroll"] .report-project {
    font-size: 9px;
  }
  [data-story-mode="scroll"] .report-paper h4 {
    font-size: 11px;
    margin: 12px 0 8px;
  }
  [data-story-mode="scroll"] .report-material-target {
    min-height: 50px;
  }
  [data-story-mode="scroll"] .report-field-fragment > p {
    font-size: 10px;
  }
  [data-story-mode="scroll"] .report-source-ref {
    font-size: 8px;
  }
  [data-story-mode="scroll"] .report-footer {
    font-size: 8px;
  }
  [data-story-mode="scroll"] .report-result-target {
    font-size: 11px;
    min-height: 35px;
  }
  [data-story-mode="scroll"] .report-image-target {
    min-height: 81px;
  }
  [data-story-mode="scroll"] .moving-sample {
    font-size: 13px;
  }
  [data-story-mode="scroll"] .moving-sample strong {
    font-size: 10px;
  }
  [data-story-mode="scroll"] .moving-result b {
    font-size: 13px;
  }
  [data-story-mode="scroll"] .review-panel {
    width: calc(100% - 4px);
    left: 50%;
    right: auto;
    top: 62%;
    padding: 16px;
    transform: translateX(-50%);
  }
  [data-story-mode="scroll"] .review-mark {
    float: right;
    width: 28px;
    height: 28px;
    margin: 0;
  }
  [data-story-mode="scroll"] .review-panel h3 {
    font-size: 18px;
    margin-bottom: 9px;
  }
  [data-story-mode="scroll"] .review-controls label {
    min-height: 35px;
    font-size: 11px;
  }
  [data-story-mode="scroll"] .review-status {
    font-size: 8px;
    min-height: 15px;
    margin: 6px 0;
  }
  [data-story-mode="scroll"] .review-reset {
    font-size: 9px;
  }
  [data-story-mode="scroll"] .review-ownership {
    font-size: 10px;
    margin: 7px 0 0;
  }
  [data-story-mode="scroll"] .result-holding {
    width: calc(100% - 4px);
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    padding: 9px;
  }
  [data-story-mode="scroll"] .holding-label {
    font-size: 9px;
    max-width: 14ch;
  }
  [data-story-mode="scroll"] .story-controls {
    gap: 10px;
    padding-top: 10px;
  }
  [data-story-mode="scroll"] .story-controls > span {
    display: none;
  }
  [data-story-mode="scroll"] .story-controls > button {
    height: 34px;
    width: 40px;
  }
  [data-story-mode="scroll"][data-frame="1"] .evidence-group {
    opacity: 0.25;
    transform: translate(-80%, 0) scale(0.6);
  }
  [data-story-mode="scroll"][data-frame="1"] .organized-record {
    opacity: 1;
    transform: translateX(-50%);
  }
  [data-story-mode="scroll"][data-frame="1"] .report-paper {
    opacity: 0.16;
  }
  [data-story-mode="scroll"][data-frame="2"] .evidence-group,
  [data-story-mode="scroll"][data-frame="3"] .evidence-group {
    opacity: 0;
    transform: translate(-100%, 0) scale(0.4);
    pointer-events: none;
  }
  [data-story-mode="scroll"][data-frame="2"] .organized-record,
  [data-story-mode="scroll"][data-frame="3"] .organized-record {
    opacity: 0;
    transform: translate(-50%, -20px) scale(0.7);
  }
  [data-story-mode="scroll"][data-frame="2"] .report-paper,
  [data-story-mode="scroll"][data-frame="3"] .report-paper {
    opacity: 1;
    transform: translateX(-50%);
  }
  [data-story-mode="scroll"][data-frame="2"] .result-holding {
    opacity: 1;
    transform: translateX(-50%);
  }
  [data-story-mode="scroll"][data-frame="3"] .report-paper {
    max-height: 310px;
    overflow: hidden;
  }
  [data-story-mode="scroll"][data-frame="3"] .review-panel {
    top: 59%;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%);
  }
  [data-story-mode="scroll"][data-frame="3"] .result-holding {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .visual-workflow * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 760px) {
  [data-story-mode="scroll"] .review-source {
    font-size: 9px;
    line-height: 1.4;
    margin: 0 0 5px;
  }
  [data-story-mode="scroll"] .review-source span {
    display: inline;
  }
  [data-story-mode="scroll"] .review-panel h3 {
    font-size: 16px;
  }
  [data-story-mode="scroll"] .review-ownership {
    font-size: 9px;
    margin-top: 5px;
  }
}

/* The inactive destination is an outline on small screens, not faint reading material. */
@media (max-width: 760px) {
  [data-story-mode="scroll"][data-frame="0"] .report-paper {
    opacity: 0;
  }
}
[data-booting="true"] *,
[data-booting="true"] *:before,
[data-booting="true"] *:after {
  transition: none !important;
}

.record-static-copy {
  font-size: 0.75rem;
  line-height: 1.5;
  color: #eef9f9;
}
[data-story-mode="scroll"] .record-static-copy {
  display: none;
}
[data-story-mode="static"] .record-sample-target {
  min-height: 34px;
}
[data-story-mode="static"] .record-result-target {
  min-height: 34px;
}
@media (max-width: 760px) {
  [data-story-mode="scroll"][data-frame="3"] .result-holding {
    transform: translateX(-50%);
  }
  .record-static-copy {
    font-size: 0.85rem;
  }
}

/* Reserve space for the controls; the paper is a cutaway, not a full document. */
@media (min-width: 761px) {
  [data-story-mode="scroll"] .story-canvas {
    height: calc(var(--canvas-height) - 133px);
  }
  [data-story-mode="scroll"] .report-paper {
    padding: 20px;
  }
  [data-story-mode="scroll"] .report-paper h3 {
    margin-top: 14px;
  }
  [data-story-mode="scroll"] .report-rule {
    margin-block: 12px;
  }
  [data-story-mode="scroll"] .report-footer {
    padding-top: 8px;
  }
}

@media (min-width: 761px) and (max-width: 1120px) {
  [data-story-mode="scroll"][data-frame="3"] .report-paper {
    left: 0;
    transform: none;
  }
}

@media (max-width: 760px) {
  [data-story-mode="scroll"][data-frame="1"] .report-paper {
    opacity: 0;
  }
}

@media (min-width: 761px) and (max-width: 1120px) {
  [data-story-mode="scroll"][data-frame="2"] .organized-record,
  [data-story-mode="scroll"][data-frame="3"] .organized-record {
    opacity: 0;
  }
  [data-story-mode="scroll"][data-frame="3"] .result-holding {
    left: auto;
    right: 0;
    top: 1%;
    bottom: auto;
  }
}
