/* Same navy product stage and typography as the approved product family. */
.product-inspection {
  width: 100%;
  min-width: 0;
  display: grid;
  justify-items: center;
  color: #edf6fb;
}

.inspection-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 100%;
}

.product-inspection[data-enhanced] .inspection-stage {
  touch-action: pan-y pinch-zoom;
}

.product-inspection[data-mode="live"] .inspection-stage > a {
  opacity: 0;
  pointer-events: none;
}

.inspection-model {
  position: absolute;
  display: block;
  inset: -4% 0;
  opacity: 0;
  pointer-events: none;
}

.product-inspection[data-mode="live"] .inspection-model {
  opacity: 1;
  pointer-events: auto;
  animation: inspection-ready .16s ease-out;
}

@keyframes inspection-ready {
  from { opacity: .84; }
}

.inspection-tools {
  position: relative;
  z-index: 1;
  min-height: 44px;
  margin-top: 6px;
  max-width: 100%;
  font-size: .8125rem;
  line-height: 1.3;
  text-align: center;
}

.inspection-tools [hidden],
.inspection-tools[hidden] {
  display: none !important;
}

.inspection-entry,
.inspection-views {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.inspection-tools button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 9px;
  min-height: 44px;
  min-width: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #c0d1dc;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: .34em;
  transition: color .15s ease-out, text-decoration-color .15s ease-out;
}

.inspection-tools button[data-inspection-open],
.inspection-tools button[aria-pressed="true"],
.inspection-tools button:hover {
  color: #f0f8ff;
}

.inspection-tools button[aria-pressed="true"],
.inspection-tools button:hover {
  text-decoration-color: currentColor;
}

.inspection-tools button:focus-visible {
  outline: 2px solid #b6e8f7;
  outline-offset: -3px;
}

.inspection-tools button:disabled {
  opacity: .8;
  cursor: wait;
}

.inspection-tools svg {
  width: 19px;
  height: 19px;
}

.inspection-hint,
.inspection-status {
  color: #b5c9d6;
}

.inspection-status:empty,
.inspection-mouse {
  display: none;
}

.inspection-status:not(:empty) {
  display: block;
  margin-top: 5px;
}

@media (hover: hover) and (pointer: fine) {
  .inspection-mouse { display: inline; }
  .inspection-touch { display: none; }
}

@media (max-width: 419px) {
  .inspection-views { gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .inspection-hint { display: none; }
  .inspection-model { animation: none !important; }
}

@media print {
  .inspection-model,
  .inspection-tools { display: none !important; }
  .product-inspection .inspection-stage > a { opacity: 1 !important; }
}

@media (max-width: 749px) and (orientation: portrait) {
  body#mp-site:is(.xr-page,.pr-page) main#main :is(.xr-product,.pr-product):has(.product-inspection) {
    padding-block: 14px 14px;
  }
}
