/* The glass is lit by the same action, progress and reading colors as the
   form. Only the small specular highlights use white on every material. */
.diagnostic-helix-art {
  --helix-body: var(--editorial-surface, var(--surface));
  --helix-muted-ink: var(--editorial-muted, var(--muted));
  --helix-action-ink: var(--editorial-action, var(--accent));
  --helix-live-ink: var(--editorial-progress, var(--accent));
  --helix-etch: color-mix(in srgb, var(--editorial-base, var(--page)) 74%, var(--helix-muted-ink));
  --helix-guide: color-mix(in srgb, var(--helix-muted-ink) 52%, var(--editorial-line, var(--line)));
  --helix-specular: color-mix(in srgb, var(--helix-action-ink) 28%, white);
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.diagnostic-helix-art::before {
  position: absolute;
  z-index: -1;
  content: "";
  inset: 3% -4% 1%;
  background:
    radial-gradient(ellipse closest-side at 67% 32%, color-mix(in srgb, var(--helix-live-ink) 8%, transparent), transparent),
    radial-gradient(ellipse closest-side at 33% 67%, color-mix(in srgb, var(--helix-action-ink) 10%, transparent), transparent);
}
.diagnostic-helix {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.diagnostic-helix .helix-metal--live { --helix-metal: var(--helix-live-ink); }
.diagnostic-helix .helix-metal--saved {
  --helix-metal: color-mix(in srgb, var(--helix-action-ink) 76%, var(--editorial-accent, var(--accent)));
}
.diagnostic-helix .helix-stop-edge { stop-color: color-mix(in srgb, var(--helix-metal) 61%, var(--helix-etch)); }
.diagnostic-helix .helix-stop-mid { stop-color: var(--helix-metal); }
.diagnostic-helix .helix-stop-high { stop-color: color-mix(in srgb, var(--helix-metal) 44%, white); }
.diagnostic-helix .helix-guide {
  fill: none;
  stroke: var(--helix-guide);
  stroke-width: 1.45;
  stroke-linecap: round;
}
.diagnostic-helix .helix-link-guide {
  fill: none;
  stroke: var(--helix-guide);
  stroke-width: .8;
  stroke-opacity: .58;
}
.diagnostic-helix .helix-seed { display: none; }
.diagnostic-helix .helix-current { --helix-guide: var(--helix-live-ink);
  --helix-specular: color-mix(in srgb, var(--helix-live-ink) 23%, white);
}
.diagnostic-helix .helix-current .helix-guide { stroke-width: 2.65; }
.diagnostic-helix .helix-current .helix-seed {
  display: inline;
  fill: var(--helix-specular);
  stroke: var(--helix-live-ink);
  stroke-width: 1.1;
}
.diagnostic-helix .helix-current .helix-filled {
  filter: drop-shadow(0 0 2px color-mix(in srgb, var(--helix-live-ink) 48%, transparent));
}
.diagnostic-helix .helix-face {
  stroke: none;
}
.diagnostic-helix .helix-rim, .diagnostic-helix .helix-link-rim {
  fill: none;
  stroke: var(--helix-specular);
  stroke-width: 1.15;
  stroke-linecap: round;
  opacity: .88;
}
.diagnostic-helix .helix-link-body {
  fill: none;
  stroke-width: 3.5;
  stroke-linecap: round;
}
.diagnostic-helix .helix-link-rim { transform: translateY(-.85px); stroke-width: .72; }
.diagnostic-helix .helix-far { opacity: .79; }
.diagnostic-helix .helix-links { opacity: .88; }
@media (prefers-reduced-motion: no-preference) {
  .diagnostic-helix clipPath rect { transition: height .38s ease-out; }
}
.motion-paused .diagnostic-helix clipPath rect { transition: none; }
@media (max-width: 720px) {
  .diagnostic-helix .helix-guide, .diagnostic-helix .helix-link-guide {
    vector-effect: non-scaling-stroke;
  }
  .diagnostic-helix .helix-guide { stroke-width: 1.05; }
  .diagnostic-helix .helix-current .helix-guide { stroke-width: 1.65; }
  .diagnostic-helix .helix-link-guide { stroke-width: .65; }
}
@media (forced-colors: active) {
  .diagnostic-helix-art { forced-color-adjust: none; --helix-guide: GrayText; --helix-etch: Canvas; --helix-specular: Canvas; }
  .diagnostic-helix-art::before { display: none; }
  .diagnostic-helix .helix-current { --helix-guide: Highlight; --helix-specular: Canvas; }
  .diagnostic-helix .helix-face { fill: CanvasText; }
  .diagnostic-helix .helix-link-body { stroke: CanvasText; }
  .diagnostic-helix .helix-current .helix-face, .diagnostic-helix .helix-current .helix-seed { fill: Highlight; }
  .diagnostic-helix .helix-current .helix-link-body { stroke: Highlight; }
  .diagnostic-helix .helix-current .helix-filled { filter: none; }
}
@media print {
  .diagnostic-helix-art { display: none; }
}
