.blueprint-trigger {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 11px;
  white-space: nowrap;
}

.blueprint-trigger[aria-pressed="true"],
.blueprint-trigger:hover {
  color: #166fab;
}

.blueprint-trigger svg {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
}

.blueprint-trigger[hidden],
.blueprint-lens[hidden],
.blueprint-lens-guides[hidden] {
  display: none;
}

.blueprint-lens {
  position: fixed;
  z-index: 35;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.blueprint-lens-field {
  position: absolute;
  inset: 0;
  clip-path: circle(0);
  background-image:
    linear-gradient(to right, #75a9e322 1px, transparent 1px),
    linear-gradient(to bottom, #75a9e322 1px, transparent 1px),
    linear-gradient(to right, #75a9e331 1px, transparent 1px),
    linear-gradient(to bottom, #75a9e331 1px, transparent 1px);
  background-size: 32px 32px, 32px 32px, 160px 160px, 160px 160px;
  background-color: rgb(4 43 120 / .52);
  -webkit-backdrop-filter: grayscale(1) invert(1) contrast(1.15);
  backdrop-filter: grayscale(1) invert(1) contrast(1.15);
}

@supports (backdrop-filter: url("#blueprint-lens-palette")) {
  .blueprint-lens-field {
    background-color: transparent;
    backdrop-filter: url("#blueprint-lens-palette");
  }
}

.blueprint-lens-definitions {
  position: absolute;
  pointer-events: none;
}

.blueprint-lens-guides {
  position: absolute;
  overflow: hidden;
}

.blueprint-lens-guide-image {
  position: absolute;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transform-origin: 0 0;
  opacity: .66;
}

.blueprint-work {
  position: absolute;
  inset: 0 auto auto 0;
  max-width: none;
  overflow: visible;
  transform-origin: 0 0;
  fill: none;
  stroke: #e4f5ff;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.blueprint-work :is(path, circle, ellipse, rect, line) {
  vector-effect: non-scaling-stroke;
}

.blueprint-work [data-trace] {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.blueprint-work .work-guide {
  stroke: #83c3f3;
  opacity: .56;
}

.blueprint-work .work-face {
  fill: rgb(5 31 79 / .9);
}

.blueprint-work .work-accent,
.blueprint-work .work-resolved {
  stroke: #96dfff;
}

.blueprint-lens-reticle {
  position: absolute;
  display: block;
  max-width: none;
  overflow: visible;
  transform: translate(-50%, -50%);
  fill: none;
}

.blueprint-lens-active :is(.qualityms-pointer, .inspection-frame, .hover-brackets) {
  visibility: hidden;
}

.blueprint-lens-held .experience-page {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

@media (max-width: 760px) {
  .experience-page .header-inner:has(.blueprint-trigger:not([hidden])) { gap: 12px; }
}

@media (max-width: 420px) {
  .blueprint-trigger { justify-content: center; width: 30px; }
  .blueprint-trigger span { display: none; }
}

@media print {
  .blueprint-trigger, .blueprint-lens { display: none !important; }
}
