/* Illustrative reconciliation. Compare a reference without entering account data. */
.record-check {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 1px solid #344d6b;
  border-radius: 8px;
  background: #172b45;
  color: var(--night-text);
}
.record-check > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 21px clamp(16px, 3vw, 38px);
  list-style: none;
}
.record-check > summary::marker,
.record-check > summary::-webkit-details-marker {
  display: none;
}
.record-check > summary::after {
  content: none;
}
.record-check > summary:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 4px;
}
.record-check strong,
.record-check small {
  display: block;
}
.record-check small {
  margin-top: 6px;
  font: 400 .9rem/1.4 var(--body);
  color: var(--night-muted);
}
.record-toggle {
  display: grid;
  flex: 0 0 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--brass);
  color: var(--brass);
}
.record-toggle::before {
  content: "+";
}
.record-check[open] .record-toggle::before {
  content: "−";
}
.record-pair {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
  padding: 6px clamp(16px, 3vw, 38px) 0;
}
.record-pair::after {
  content: "";
  position: absolute;
  left: calc(50% - 19px);
  top: 70%;
  width: 38px;
  height: 2px;
  transform-origin: left;
  background: var(--brass);
}
.record-slip {
  min-width: 0;
  padding: 16px clamp(12px, 2vw, 23px);
  border-top: 3px solid var(--brass-edge);
  background: #faf9f6;
  color: #101f35;
}
.record-slip > p {
  margin: 0;
  font-weight: 650;
}
.record-slip dl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
  margin: 8px 0 1px;
  font-size: .93rem;
}
.record-slip dd {
  margin: 0;
}
.record-slip code {
  padding: 2px 5px;
  background: #f0dbb1;
  color: #172b45;
  white-space: nowrap;
}
.record-explanation {
  margin: 0;
  padding: 13px clamp(16px, 3vw, 38px) 20px;
  color: var(--night-muted);
  font-size: .95rem;
}
@media (max-width: 620px) {
  .record-pair {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .record-pair::after {
    top: calc(50% - 10px);
    left: 50%;
    width: 2px;
    height: 26px;
    transform-origin: top;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .record-check[open] .record-slip {
    animation: record-align .56s cubic-bezier(.22,.68,.21,1) both;
  }
  .record-check[open] .record-slip:first-child { --record-offset: -13px; --record-angle: -3deg; }
  .record-check[open] .record-slip:last-child { --record-offset: 13px; --record-angle: 3deg; animation-delay: 90ms; }
  .record-check[open] .record-pair::after {
    animation: record-link .32s .43s ease-out both;
  }
  @keyframes record-align {
    from { opacity: .45; transform: translate(var(--record-offset), 9px) rotate(var(--record-angle)); }
    to { opacity: 1; transform: none; }
  }
  @keyframes record-link {
    from { transform: scale(0); }
    to { transform: scale(1); }
  }
}
