/* Calibration Suite report gallery and full-screen viewer - v1.13.7 */

.reports-page {
  padding-top: 32px;
}

.reports-page .demo-heading {
  max-width: 820px;
  margin-inline: auto;
}

.bas-report-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  width: min(100%, 1220px);
  margin: 30px auto 0;
}

.bas-report-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #b8c8d7;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(6, 41, 76, .14);
}

.bas-report-card-open {
  display: block;
  width: 100%;
  padding: 0;
  color: inherit;
  text-align: inherit;
  cursor: pointer;
  background: #eef4f9;
  border: 0;
}

.bas-report-thumbnail {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 8.5 / 11;
  overflow: hidden;
  padding: 14px;
}

.bas-report-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  background: #fff;
  box-shadow: 0 5px 18px rgba(6, 41, 76, .14);
  transition: transform .18s ease, box-shadow .18s ease;
}

.bas-report-open-label {
  position: absolute;
  right: 24px;
  bottom: 24px;
  padding: 9px 13px;
  color: #fff;
  background: rgba(6, 31, 60, .94);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
}

.bas-report-card-open:hover img,
.bas-report-card-open:focus-visible img {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(6, 41, 76, .22);
}

.bas-report-card-open:focus-visible {
  outline: 3px solid #1697f0;
  outline-offset: -3px;
}

.bas-report-card figcaption {
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 15px 17px 17px;
  border-top: 1px solid #d5e0ea;
}

.bas-report-card figcaption strong {
  color: #082a50;
  font-size: 16px;
}

.bas-report-card figcaption span {
  color: #5c7086;
  font-size: 12px;
  line-height: 1.5;
}

.bas-report-gallery-note {
  width: min(100%, 1220px);
  margin: 18px auto 0;
  color: #5c7086;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}

.bas-report-viewer {
  width: min(1500px, calc(100vw - 32px));
  height: calc(100dvh - 32px);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  background: #eef4f9;
  border: 1px solid #7f96aa;
  border-radius: 9px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}

.bas-report-viewer::backdrop {
  background: rgba(1, 11, 24, .84);
}

.bas-report-viewer-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
}

.bas-report-viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 13px 16px;
  color: #fff;
  background: #06182f;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.bas-report-viewer-heading {
  min-width: 0;
}

.bas-report-viewer-heading p {
  margin: 0 0 3px;
  color: #7cc7fb;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 900;
}

.bas-report-viewer-heading h2 {
  margin: 0;
  overflow: hidden;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bas-report-viewer-heading span {
  display: block;
  margin-top: 3px;
  color: #b9d4e9;
  font-size: 10px;
}

.bas-report-viewer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.bas-report-viewer-button,
.bas-report-viewer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  color: #fff;
  cursor: pointer;
  background: #0a4f8d;
  border: 1px solid #4d86b7;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.bas-report-viewer-button:hover,
.bas-report-viewer-link:hover,
.bas-report-viewer-button:focus-visible,
.bas-report-viewer-link:focus-visible {
  background: #0878d1;
}

.bas-report-viewer-close {
  color: #082a50;
  background: #fff;
  border-color: #fff;
}

.bas-report-viewer-close:hover,
.bas-report-viewer-close:focus-visible {
  color: #fff;
  background: #0878d1;
}

.bas-report-viewer-stage {
  overflow: auto;
  padding: 24px;
  overscroll-behavior: contain;
  text-align: center;
  background: #dce6ef;
}

.bas-report-viewer-stage img {
  display: block;
  width: min(100%, 1380px);
  height: auto;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 12px 34px rgba(6, 41, 76, .24);
}

.bas-report-viewer-stage img.is-actual-size {
  width: 1582px;
  max-width: none;
}

.bas-report-viewer-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 11px 16px;
  background: #fff;
  border-top: 1px solid #b8c8d7;
}

.bas-report-viewer-nav .bas-report-viewer-button {
  color: #082a50;
  background: #fff;
  border-color: #9ab2c8;
}

.bas-report-viewer-nav .bas-report-viewer-button:hover,
.bas-report-viewer-nav .bas-report-viewer-button:focus-visible {
  color: #fff;
  background: #0878d1;
  border-color: #0878d1;
}

body.bas-report-viewer-open {
  overflow: hidden;
}

.reports-supporting-video {
  width: min(100%, 1040px);
  margin: 54px auto 0;
}

@media (max-width: 1180px) {
  .bas-report-gallery {
    grid-template-columns: 1fr;
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .bas-report-gallery {
    gap: 20px;
    margin-top: 24px;
  }

  .bas-report-thumbnail {
    padding: 9px;
  }

  .bas-report-open-label {
    right: 17px;
    bottom: 17px;
  }

  .bas-report-card figcaption {
    min-height: 0;
    padding: 13px 14px 15px;
  }

  .bas-report-viewer {
    width: 100vw;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .bas-report-viewer-header {
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
  }

  .bas-report-viewer-heading h2 {
    max-width: 46vw;
    font-size: 14px;
  }

  .bas-report-viewer-actions {
    gap: 6px;
  }

  .bas-report-viewer-link {
    display: none;
  }

  .bas-report-viewer-button {
    min-height: 34px;
    padding: 0 9px;
    font-size: 10px;
  }

  .bas-report-viewer-stage {
    padding: 12px;
  }

  .bas-report-viewer-nav {
    padding: 9px 12px;
  }
}
