#mismatch .rt-figure {
  max-width: 1040px;
  margin: 30px auto 0;
  overflow: hidden;
  border: 1px solid #dce6e9;
  border-radius: 10px;
  background: #fff;
}
#mismatch .rt-canvas {
  display: block;
  width: 100%;
  height: auto;
  background: linear-gradient(
    180deg,
    #fff 0%,
    #fbfdfc 43%,
    #fff 58%,
    #fffaf8 100%
  );
}
#mismatch .rt-section-title {
  font: 600 19px var(--display);
  fill: #37586a;
  letter-spacing: -0.2px;
}
#mismatch .rt-stage-label {
  font: 400 12px var(--body);
  fill: #62798a;
}
#mismatch .rt-small-label {
  font: 400 12px var(--body);
  fill: #577080;
}
#mismatch .rt-field-caption {
  font: 400 10px var(--body);
  fill: #587184;
}
#mismatch .rt-wire {
  fill: none;
  stroke: #b5c8d0;
  stroke-width: 1.4;
  marker-end: url(#rt-arrow);
}
#mismatch .rt-green-wire {
  stroke: #8cb99f;
}
#mismatch .rt-blue-wire {
  stroke: #8caecf;
}
#mismatch .rt-amber-wire {
  stroke: #c7ab7e;
}
#mismatch .rt-red-wire {
  stroke: #ce9290;
}
#mismatch .rt-flow {
  stroke: #4e9b70;
  stroke-width: 2;
}
#mismatch .rt-hidden-cell {
  fill: #eef8f2;
  stroke: #99bfa8;
  stroke-width: 1.2;
}
#mismatch .rt-token-cell {
  fill: #fff;
  stroke: #c1cfd8;
  stroke-width: 1.2;
}
#mismatch .rt-value {
  font: 500 23px var(--display);
  fill: #3d6253;
}
#mismatch .rt-bundle[data-origin="target"] .rt-hidden-cell {
  fill: #eaf3ff;
  stroke: #91b1d4;
}
#mismatch .rt-bundle[data-origin="target"] [data-field="h"] {
  fill: #3e6e9d;
}
#mismatch .rt-bundle[data-hidden-mismatch="true"] .rt-hidden-cell {
  fill: #fdebe8;
  stroke: #bc716c;
  stroke-width: 1.6;
}
#mismatch .rt-bundle[data-hidden-mismatch="true"] [data-field="h"] {
  fill: #a04742;
}
#mismatch .rt-wire.rt-hidden-mismatch {
  stroke: #bc716c;
}
#mismatch .rt-bundle[data-token="replacement"] .rt-token-cell {
  fill: #fff4df;
  stroke: #c9a568;
}
#mismatch .rt-bundle[data-token="replacement"] [data-field="d"] {
  fill: #956329;
}
#mismatch #rt-tf-output .rt-token-cell {
  fill: #edf7f5;
  stroke: #94bfb2;
}
#mismatch .rt-module > rect {
  fill: #f1f9f4;
  stroke: #86b69b;
  stroke-width: 1.5;
}
#mismatch .rt-module-title {
  font: 600 21px var(--display);
  fill: #366f4c;
}
#mismatch .rt-phi {
  font:
    italic 28px Georgia,
    serif;
  fill: #4b8962;
}
#mismatch .rt-module.rt-computing > rect {
  fill: #ddf1e5;
  stroke: #3d8f5d;
  stroke-width: 2;
}
#mismatch .rt-tile > rect {
  fill: #fafcfd;
  stroke: #c9d6de;
  stroke-width: 1.2;
  stroke-dasharray: 3 3;
}
#mismatch .rt-tile > text {
  font:
    16px Georgia,
    serif;
  fill: #546e80;
}
#mismatch .rt-prefix-tile > rect {
  fill: #eef4fa;
  stroke: #c0d2e3;
  stroke-dasharray: none;
}
#mismatch .rt-prefix-tile > text {
  font: 12px var(--display);
  fill: #4a6c8a;
}
#mismatch .rt-written > rect {
  stroke-dasharray: none;
}
#mismatch .rt-written.rt-kv-target > rect {
  fill: #e6f0fd;
  stroke: #8aaed6;
}
#mismatch .rt-written.rt-kv-target > text {
  fill: #396b9d;
}
#mismatch .rt-written.rt-kv-draft > rect {
  fill: #e8f5ed;
  stroke: #86b59b;
}
#mismatch .rt-written.rt-kv-draft > text {
  fill: #36744f;
}
#mismatch .rt-written.rt-kv-error > rect {
  fill: #fdebe8;
  stroke: #bc716c;
  stroke-width: 1.6;
}
#mismatch .rt-written.rt-kv-error > text {
  fill: #a04742;
}
#mismatch .rt-kv-reference > rect {
  stroke: #467fba;
  stroke-width: 2.4;
}
#mismatch .rt-commit-token.rt-filled > rect {
  fill: #eaf6ee;
  stroke: #91bda2;
  stroke-dasharray: none;
}
#mismatch .rt-commit-token.rt-replacement > rect {
  fill: #fff0d5;
  stroke: #d2af75;
  stroke-dasharray: none;
}
#mismatch .rt-commit-token.rt-replacement > text {
  fill: #8d6028;
}
#mismatch .rt-source-selected > rect {
  stroke: #b37f32;
  stroke-width: 2.4;
}
#mismatch .rt-draft > rect {
  fill: #fafcfb;
  stroke: #c8d8cf;
  stroke-width: 1.2;
  stroke-dasharray: 3 3;
}
#mismatch .rt-draft .rt-value {
  font-size: 23px;
}
#mismatch .rt-draft.rt-produced > rect {
  fill: #edf7f1;
  stroke: #96bea6;
  stroke-dasharray: none;
}
#mismatch .rt-draft.rt-rejected > rect {
  fill: #fff0e9;
  stroke: #c18a6e;
  stroke-dasharray: none;
}
#mismatch .rt-draft.rt-rejected .rt-value {
  fill: #9d6042;
}
#mismatch .rt-draft.rt-discarded > rect {
  fill: #f8fafb;
  stroke: #c6d1d9;
  stroke-dasharray: 3 3;
}
#mismatch .rt-draft.rt-discarded .rt-value {
  fill: #627889;
}
#mismatch .rt-verdict {
  font: 500 18px var(--body);
  fill: #4f8865;
}
#mismatch .rt-rejected .rt-verdict {
  fill: #ac6a48;
}
#mismatch .rt-discarded .rt-verdict {
  fill: #718596;
}
#mismatch .rt-probability {
  font:
    15px Georgia,
    serif;
  fill: #547eaa;
}
#mismatch .rt-target > rect {
  fill: #f1f6fc;
  stroke: #9fbad7;
  stroke-width: 1.3;
}
#mismatch .rt-target-title {
  font: 600 21px var(--display);
  fill: #4775a1;
}
#mismatch .rt-target-active > rect {
  fill: #e4effb;
  stroke: #6c96c1;
  stroke-width: 1.8;
}
#mismatch #rt-commit-bg {
  fill: #f5f8f6;
  stroke: #dbe6df;
  stroke-width: 1;
}
#mismatch .rt-committed-label {
  font: 500 13px var(--display);
  fill: #4d7160;
}
#mismatch .rt-q-circle {
  fill: #edf7f2;
  stroke: #8db8a0;
  stroke-width: 1.2;
}
#mismatch .rt-p-circle {
  fill: #ecf3fe;
  stroke: #a3bde0;
  stroke-width: 1.2;
}
#mismatch .rt-q-value {
  font:
    17px Georgia,
    serif;
  fill: #427a5d;
}
#mismatch .rt-p-value {
  font:
    15px Georgia,
    serif;
  fill: #4b70a0;
}
#mismatch .rt-pair-mark {
  font: 9px var(--body);
  fill: #819aa8;
}
#mismatch .rt-packet > rect {
  fill: #f0f7f3;
  stroke: #81ac93;
  stroke-width: 1.5;
}
#mismatch .rt-packet-text {
  font: 16px var(--display);
  fill: #426c56;
}
#mismatch .rt-packet.rt-target-data > rect {
  fill: #e6f0fe;
  stroke: #88aace;
}
#mismatch .rt-packet.rt-target-data .rt-packet-text {
  fill: #3f6c9c;
}
#mismatch .rt-packet.rt-replacement-data > rect {
  fill: #fff0d6;
  stroke: #c39854;
}
#mismatch .rt-packet.rt-replacement-data .rt-packet-text {
  fill: #8a612c;
}
#mismatch .rt-packet.rt-error-data > rect {
  fill: #fde6e3;
  stroke: #b96763;
}
#mismatch .rt-packet.rt-error-data .rt-packet-text {
  fill: #a44743;
}
#mismatch .rt-hidden-error-data .rt-packet-hidden {
  fill: #a44743;
}
#mismatch .rt-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 22px 14px;
  border-top: 1px solid #e4e9e7;
}
#mismatch #rt-caption {
  font: 500 14px/1.65 var(--display);
  color: #476270;
}
#mismatch .rt-buttons {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}
#mismatch .rt-buttons button,
#mismatch #rt-speed {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #cadbd1;
  border-radius: 5px;
  min-height: 34px;
  padding: 6px 9px;
  background: #fff;
  color: #407253;
  font: 500 11px var(--body);
}
#mismatch #rt-speed {
  cursor: pointer;
  min-width: 64px;
}
#mismatch .rt-buttons button:hover {
  background: #f0f8f3;
  border-color: #96baa3;
}
#mismatch .rt-buttons svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#mismatch #rt-play-icon {
  fill: currentColor;
  stroke: none;
}
#mismatch .rt-timeline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 22px 10px;
}
#mismatch #rt-progress {
  --rt-progress: 0%;
  appearance: none;
  -webkit-appearance: none;
  flex: 1;
  min-width: 0;
  height: 28px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  accent-color: #407c59;
}
#mismatch #rt-progress::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(
    to right,
    #4b9065 var(--rt-progress),
    #dce8e1 var(--rt-progress)
  );
}
#mismatch #rt-progress::-moz-range-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(
    to right,
    #4b9065 var(--rt-progress),
    #dce8e1 var(--rt-progress)
  );
}
#mismatch #rt-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -5px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #407c59;
  box-shadow: 0 0 0 1px #407c59;
}
#mismatch #rt-progress::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #407c59;
  box-shadow: 0 0 0 1px #407c59;
}
#mismatch #rt-time {
  min-width: 92px;
  text-align: right;
  color: #536f66;
  font: 11px/1.5 var(--body);
  font-variant-numeric: tabular-nums;
}
#mismatch #rt-figure-caption {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 12px 18px;
  font-size: 10px;
  line-height: 1.6;
  color: #607686;
}
#mismatch #rt-figure-caption > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
#mismatch #rt-figure-caption i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
}
#mismatch .rt-key-prefix {
  background: #85aace;
}
#mismatch .rt-key-draft {
  background: #7bac8f;
}
#mismatch .rt-key-error {
  background: #bf7770;
}
#mismatch #rt-figure-caption a {
  color: #536f89;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 700px) {
  #mismatch .rt-figure {
    margin-top: 25px;
    border-radius: 9px;
  }
  #mismatch .rt-section-title {
    font-size: 21px;
  }
  #mismatch .rt-stage-label {
    font-size: 14px;
  }
  #mismatch .rt-small-label {
    font-size: 15px;
  }
  #mismatch .rt-field-caption {
    font-size: 13px;
  }
  #mismatch .rt-value {
    font-size: 25px;
  }
  #mismatch .rt-module-title {
    font-size: 22px;
  }
  #mismatch .rt-phi {
    font-size: 30px;
  }
  #mismatch .rt-tile > text {
    font-size: 19px;
  }
  #mismatch .rt-prefix-tile > text {
    font-size: 15px;
  }
  #mismatch .rt-draft .rt-value {
    font-size: 26px;
  }
  #mismatch .rt-verdict {
    font-size: 22px;
  }
  #mismatch .rt-probability {
    font-size: 18px;
  }
  #mismatch .rt-target-title {
    font-size: 24px;
  }
  #mismatch .rt-committed-label {
    font-size: 16px;
  }
  #mismatch .rt-q-value {
    font-size: 21px;
  }
  #mismatch .rt-p-value {
    font-size: 18px;
  }
  #mismatch .rt-pair-mark {
    font-size: 11px;
  }
  #mismatch .rt-packet-text {
    font-size: 16px;
  }
  #mismatch .rt-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 13px 14px;
  }
  #mismatch #rt-caption {
    font-size: 12px;
    line-height: 1.7;
    min-height: 42px;
  }
  #mismatch .rt-buttons {
    gap: 7px;
  }
  #mismatch #rt-play {
    margin-right: auto;
  }
  #mismatch .rt-buttons button {
    padding-inline: 7px;
    min-height: 34px;
    gap: 5px;
    font-size: 10px;
  }
  #mismatch .rt-buttons svg {
    width: 14px;
    height: 14px;
  }
  #mismatch .rt-timeline {
    padding: 0 14px 7px;
    gap: 12px;
  }
  #mismatch #rt-time {
    min-width: 84px;
    font-size: 10px;
  }
  #mismatch #rt-figure-caption {
    font-size: 9px;
    padding: 12px 14px;
    gap: 8px 14px;
    justify-content: start;
  }
}
@media print {
  #mismatch .rt-buttons,
  #mismatch .rt-timeline {
    display: none;
  }
  #mismatch .rt-figure {
    break-inside: avoid;
  }
}
