.viewer-journey .sten-screen-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.15rem 0;
}
.viewer-journey .sten-wallet-screen {
  display: flex;
  flex-direction: column;
  margin: .8rem 0 1.2rem;
  min-width: 0;
  color: #253a58;
}
.viewer-journey .sten-screen-pair > figure {
  margin: 0;
  padding: 1rem;
  background: #fff;
  border: 1px solid #c9d6e7;
  border-radius: 11px;
}
.sten-wallet-screen > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 18.5rem;
  object-fit: contain;
  background: #f1f4fa;
  border: 1px solid #d7e0ef;
  border-radius: 8px;
}
.sten-wallet-screen.is-zoomable > img { cursor: zoom-in; }
.sten-wallet-screen figcaption { margin-top: .65rem; }
.sten-screen-wallet { display: block; color: #192e4e; font-size: 1rem; }
.viewer-journey .sten-wallet-screen .sten-screen-explanation {
  color: #2f405b;
  font-size: .97rem;
  line-height: 1.55;
  margin: .3rem 0 .5rem;
}
.sten-screen-tools { display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: center; }
.viewer-journey .sten-screen-tools a, .viewer-journey .sten-screen-tools button {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0;
  color: #24477f;
  background: transparent;
  border: 0;
  font: 600 .87rem/1.5 system-ui, sans-serif;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
.viewer-journey .sten-screen-tools button[hidden] { display: none; }
.sten-screen-tools :focus-visible, .sten-screen-dialog button:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
.sten-screen-dialog {
  box-sizing: border-box; width: min(42rem, calc(100% - 1.5rem)); max-width: 100%;
  max-height: 92vh; margin: auto; padding: 1rem;
  color: #142443; background: white; border: 0; border-radius: 12px;
}
.sten-screen-dialog::backdrop { background: rgb(10 19 37 / 78%); }
.sten-screen-dialog .sten-screen-heading { display: flex; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.sten-screen-dialog h2 { margin: 0; font: 700 1.25rem/1.2 system-ui, sans-serif; color: #142443; }
.sten-screen-dialog button { padding: .45rem .8rem; min-height: 42px; border: 1px solid #92a2bd; border-radius: 6px; color: #142443; background: #fff; cursor: pointer; }
.sten-screen-dialog img { display: block; width: 100%; max-height: 62vh; object-fit: contain; background: #f1f4fa; border-radius: 6px; }
.sten-screen-dialog p { margin: .75rem 0 0; color: #2f405b; line-height: 1.55; }
@media (max-width: 720px) { .viewer-journey .sten-screen-pair { grid-template-columns: minmax(0, 1fr); } .viewer-journey .sten-screen-tools a, .viewer-journey .sten-screen-tools button { min-height: 44px; } }
