.data-protection :is(.tx-start,.tx-values) {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px clamp(8px, 3vw, 26px);
}
.data-protection .tx-start {
  width: fit-content;
  margin-inline: auto;
  border-bottom: 2px solid var(--ink);
  padding: 4px 9px;
  background: var(--white);
}
.data-protection .tx-start > b { padding-inline: 4px; background: var(--yellow); }
.data-protection .down-pointer {
  position: relative;
  width: 2px;
  height: 17px;
  margin: 0 auto 5px;
  background: currentColor;
  color: var(--teal);
}
.data-protection .down-pointer::after {
  content: "";
  position: absolute;
  right: -3px;
  bottom: 0;
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.data-protection .tx-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(12px, 4vw, 40px) minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  border: 1px solid var(--ink);
  padding: 6px clamp(5px, 2vw, 20px);
  background: var(--white);
}
.data-protection .tx-pair > div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  line-height: 1.45;
}
.data-protection .tx-pair img { display: block; width: clamp(58px, 10vw, 90px); height: auto; }
.data-protection .tx-pair p { color: var(--teal); font-size: .9rem; }
.data-protection .tx-fork {
  --gap: clamp(8px, 2vw, 18px);
  width: calc(50% + var(--gap) / 2);
  height: 12px;
  margin: 0 auto;
  border-bottom: 1px solid var(--ink);
  background: linear-gradient(var(--ink), var(--ink)) center / 1px 100% no-repeat;
}
.data-protection .tx-outcomes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 2vw, 18px); }
.data-protection .tx-outcomes section {
  min-width: 0;
  padding: 0 6px 8px;
  border-bottom: 2px solid var(--teal);
  background: var(--mint);
  text-align: center;
}
.data-protection .tx-outcomes section:first-child { border-bottom-color: var(--wine); background: var(--pink); }
.data-protection .tx-outcomes section:first-child .down-pointer { color: var(--wine); }
.data-protection .tx-outcomes h3 { margin-block: 5px; font-size: clamp(.97rem, 2.4vw, 1.35rem); }
.data-protection .tx-outcomes h3 span { display: block; font-size: .84rem; }
.data-protection .tx-values { gap: 3px 10px; margin-bottom: 4px; padding-block: 2px; background: var(--white); font-size: .86rem; }
.data-protection .tx-values b { font-size: clamp(.98rem, 2vw, 1.22rem); }
.data-protection .tx-outcomes p { font-size: .9rem; }

.backup-compare table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: center; line-height: 1.3; }
.backup-compare .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.backup-compare :is(th, td) { padding: 9px 4px; border: 1px solid var(--line); }
.backup-compare thead th { background: var(--stock); }
.backup-compare thead th:first-child { width: 23%; }
.backup-compare thead th:last-child { width: 24%; }
.backup-compare tbody th { background: var(--white); }
.backup-compare tbody th span { display: block; margin-top: 3px; font-size: .94rem; font-weight: 500; }
.backup-live td { background: var(--white); }
.backup-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; margin-top: 3px; }
.backup-tiles span {
  display: grid;
  min-width: 28px;
  min-height: 31px;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--ink);
  border-top-width: 4px;
  font-weight: bold;
}
.backup-tiles .backup-tue { background: var(--yellow); }
.backup-tiles .backup-wed { background: var(--pink); }
.backup-compare .backup-use { background: var(--cyan); }
.backup-compare .backup-skip { background: var(--stock); color: var(--muted); }
.backup-skip .backup-tiles span { border-style: dashed; }
.backup-compare .backup-merged { background: var(--mint); border-left: 2px solid var(--teal); }
@media (max-width: 650px) {
  .backup-compare :is(th, td) { padding: 5px 2px; font-size: .82rem; }
  .backup-compare tbody th span { font-size: .82rem; }
  .backup-tiles span { min-width: 19px; min-height: 22px; }
}

.replica-timeline { --replica-track: minmax(0, 1.15fr) minmax(0, .93fr) minmax(0, 1.15fr) minmax(0, 1fr); }
.replica-times, .replica-row {
  display: grid;
  grid-template-columns: var(--replica-track);
  gap: 9px;
  align-items: center;
  line-height: 1.45;
}
.replica-times { padding: 5px 6px; background: var(--stock); text-align: center; }
.replica-row { padding: 10px 6px; background: var(--white); border-top: 1px solid var(--line); }
.replica-live { border-top: 2px solid var(--teal); background: var(--mint); }
.replica-stored { border-block: 1px solid var(--line); background: var(--stock); }
.replica-row h3 { display: flex; align-items: center; gap: 5px; margin: 0; font-size: 1rem; }
.replica-row h3 img { width: clamp(36px, 6vw, 62px); height: auto; }
.replica-row h3 small { display: block; font-weight: 500; font-size: .94rem; }
.replica-before, .replica-after, .replica-route { text-align: center; }
.replica-after > span { display: block; font-size: .92rem; margin-top: 3px; }
.replica-route b { display: block; line-height: 1.4; font-size: .945rem; }
.replica-route .flow-arrow { margin: 6px 4px 0; }
.data-protection .receipt-ticket {
  display: inline-block;
  border: 1px solid var(--ink);
  border-left: 4px dotted var(--teal);
  padding: 3px clamp(4px, 1.6vw, 14px);
  background: var(--cyan);
  font-weight: 800;
}
.data-protection .saved-ticket { border-left-color: var(--ink); background: var(--yellow); }
.data-protection .receipt-missing { color: var(--wine); font-weight: 800; }
.data-protection .replica-uses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 15px;
  margin-top: 12px;
  font-size: .94rem;
}
.data-protection .replica-uses p { margin: 0; padding: 5px 9px; border-inline-start: 3px solid var(--teal); background: var(--mint); }
.data-protection .replica-uses p + p { border-inline-start-color: #a87a0e; background: var(--yellow); }
.data-protection .replica-uses b { display: block; line-height: 1.4; }
@media (max-width: 650px) {
  .replica-timeline { --replica-track: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr); }
  .replica-times > b:first-child { display: none; }
  .replica-row h3 { grid-column: 1 / -1; }
  .replica-times, .replica-row { gap: 4px; }
  .replica-route b { font-size: .87rem; }
}

.data-protection .risk-origin {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: max-content;
  margin: 0 auto;
  padding-inline: 2px 12px;
  border-block: 1px solid var(--ink);
  background: var(--white);
}
.data-protection .risk-origin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: 16px;
  background: var(--ink);
}
.data-protection .risk-origin img { display: block; width: clamp(56px, 10vw, 84px); height: auto; }
.data-protection .risk-origin b { color: var(--wine); }
.data-protection .risk-rain {
  background: repeating-linear-gradient(119deg, transparent 0 12px, #2887a1 13px 15px, transparent 16px 24px);
  background-size: 100% 54%;
  background-repeat: no-repeat;
}
.data-protection .risk-spread {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(7px, 1.6vw, 16px);
  margin-top: 15px;
  border-top: 1px solid var(--ink);
}
.data-protection .risk-spread section { position: relative; }
.data-protection .risk-spread section::before {
  content: "";
  display: block;
  width: 1px;
  height: 10px;
  margin-inline: auto;
  background: var(--ink);
}
.data-protection .risk-spread h3 {
  margin-bottom: 4px;
  text-align: center;
  font-size: clamp(.98rem, 2.2vw, 1.25rem);
}
.data-protection .risk-scene {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  min-height: clamp(55px, 9vw, 90px);
  margin-bottom: 5px;
  border-bottom: 2px solid var(--ink);
}
.data-protection .risk-scene img { z-index: 1; display: block; width: 47%; max-width: 105px; height: auto; }
.data-protection .risk-inside::before {
  content: "";
  position: absolute;
  inset: 5px 17% 0;
  border: solid var(--ink);
  border-width: 2px 2px 0;
  border-radius: 28% 28% 0 0;
  background: var(--mint);
}
.data-protection .risk-cover img {
  border: 2px solid var(--teal);
  border-radius: 8px;
  background: var(--cyan);
}
.data-protection .risk-cover {
  padding-bottom: 3px;
  background-size: 100% 48%;
}
.data-protection .risk-insurance { align-items: center; }
.data-protection .risk-insurance img { width: 39%; }
.data-protection .risk-insurance .flow-arrow { width: 16%; }
.data-protection .risk-spread p { font-size: .88rem; line-height: 1.4; }
.data-protection .risk-spread p b { display: block; margin-block: 1px 3px; font-size: .98rem; }
.data-protection .risk-spread p > span { display: block; color: var(--muted); }

@media (max-width: 620px) {
  .data-protection .tx-pair > div { display: grid; justify-items: center; text-align: center; font-size: .93rem; }
  .data-protection .risk-spread { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
  .data-protection .risk-spread section:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.study-figure .archive-path { --archive-gap: clamp(14px, 4vw, 50px); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: center; gap: var(--archive-gap); max-width: 51rem; margin: 15px auto; padding: 0; list-style: none; text-align: center; }
.archive-path li { position: relative; }
.archive-path h3 { margin: 0 0 7px; font-size: 1rem; }
.archive-path p { margin: 4px 0 0; }
.archive-path li:not(:last-child)::after { content: ""; position: absolute; top: 50%; left: calc(100% + var(--archive-gap) / 2); translate: -50% -50%; width: min(30px, calc(var(--archive-gap) - 4px)); height: 19px; background: var(--teal); clip-path: var(--step-arrow); }
.archive-files { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.archive-files span { border: 1px solid var(--ink); padding: 3px 6px; background: var(--stock); }
.archive-files span:last-child { background: var(--mint); }
.archive-bundle { padding: 3px 4px 6px; background: var(--lemon); border: 1px solid var(--ink); border-radius: 6px; }
.archive-bundle img { display: block; width: 76px; height: auto; margin: auto; }
.archive-bundle b { display: block; margin-top: 4px; }
.study-figure .archive-difference { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; max-width: 51rem; margin: 15px auto 0; }
.archive-difference div { padding: 6px 8px; background: var(--stock); border-top: 3px solid var(--teal); }
.archive-difference dt { font-weight: 750; }
.archive-difference dd { margin: 0; }
