/* The PDF is a separate gallery action, never a carousel slide. */
.onyx-theme .pd-gal .p3-gal-thumbs.has-lab-report { gap: 10px; }
.onyx-theme .pd-gal .p3-gal-thumbs.has-lab-report > li {
  flex: 0 1 calc((100% - 40px) / 5);
  min-width: 0;
  max-width: 72px;
}
.onyx-theme .pd-gal .p3-gal-thumbs.has-lab-report > li[hidden] { display: none; }
.onyx-theme .pd-gal .p3-gal-report-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 72px;
  padding: 5px 3px;
  border: 1px solid rgba(101, 226, 235, .55);
  border-radius: 8px;
  background: rgba(45, 113, 121, .19);
  color: #c5f6f6;
  text-align: center;
  text-decoration: none;
  line-height: 1.05;
}
.onyx-theme .pd-gal .p3-gal-report-link:hover { border-color: #9af0f3; background: rgba(45, 113, 121, .3); }
.onyx-theme .pd-gal .p3-gal-report-link:focus-visible { outline: 2px solid #9af0f3; outline-offset: 3px; }
.onyx-theme .pd-gal .p3-gal-report-icon { width: 18px; height: 18px; flex: none; }
.onyx-theme .pd-gal .p3-gal-report-text { font-size: 10px; font-weight: 700; letter-spacing: .01em; }
.onyx-theme .pd-gal .p3-gal-report-strength { font-size: 9px; color: #a9d4d6; }
.onyx-theme .pd-gal .p3-gal-report-note { margin: 8px 0 0; color: #b9cbd0; font-size: 12px; line-height: 1.35; text-align: center; }
@media (max-width: 480px) {
  .onyx-theme .pd-gal .p3-gal-thumbs.has-lab-report { gap: 6px; }
  .onyx-theme .pd-gal .p3-gal-thumbs.has-lab-report > li { flex-basis: calc((100% - 24px) / 5); max-width: none; }
  .onyx-theme .pd-gal .p3-gal-report-link { min-height: 60px; padding: 3px 1px; }
  .onyx-theme .pd-gal .p3-gal-report-icon { width: 16px; height: 16px; }
  .onyx-theme .pd-gal .p3-gal-report-text { font-size: 9.5px; }
  .onyx-theme .pd-gal .p3-gal-report-strength { font-size: 8.5px; }
}
