/* Keep document geometry stable while a cold request is in flight. */
[data-spets-documents] .t-slds__img {
  display: block;
  width: auto;
  height: calc(100svh - 160px);
  max-width: 100%;
  max-height: calc(100svh - 160px);
  object-fit: contain;
  margin: auto;
}
[data-spets-documents] .t746__imgwrapper {
  max-height: calc(100svh - 160px);
  aspect-ratio: 1 / 1;
  margin: auto;
}
.spets-document-toolbar {
  position: fixed;
  z-index: 12;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 10px 16px;
  border-radius: 8px;
  background: #242424;
  color: #fff;
  font: 14px/1.4 Montserrat, Arial, sans-serif;
  text-align: center;
  box-sizing: border-box;
}
.spets-document-toolbar a { color: #fff !important; text-decoration: underline !important; }
.spets-document-toolbar a:focus-visible { outline: 2px solid #ff9f00; outline-offset: 4px; }
.spets-media-status:empty { display: none; }
/* The desktop trigger was at negative top, underneath the preceding section. */
@media (min-width: 1200px) {
  #rec537885924 [data-elem-id="1678622232899"] { top: 455px !important; }
}
@media (min-width: 960px) and (max-width: 1199px) {
  #rec537885924 [data-elem-id="1678622232899"] { top: 435px !important; }
}
