/* OptiMED Elite DNA helix: fixed left strip that twists with scroll and
   doubles as a scroll bar (drag or click it to move through the page). */
.dna-helix {
  position: fixed;
  top: 0;
  left: 0;
  width: 64px;
  height: 100vh;
  height: 100lvh;
  z-index: 40;              /* below the sticky nav (z-index 100) */
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.dna-helix.is-dragging { cursor: grabbing; }
.dna-helix canvas { display: block; width: 100%; height: 100%; }
/* label that appears beside a section tick */
.dna-helix__tip {
  position: absolute; left: calc(100% + 6px); transform: translateY(-50%);
  padding: 0.35rem 0.65rem; border-radius: 3px; white-space: nowrap;
  background: #0d2440; color: #eef4fb; font: 500 0.75rem/1.2 var(--sans, system-ui);
  letter-spacing: 0.04em; pointer-events: none;
}
.dna-helix__tip[hidden] { display: none; }
/* scroll percentage that rides beside the marker */
.dna-helix__name { display: inline-block; max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; vertical-align: bottom; margin-right: 0; transition: max-width 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.35s, margin 0.35s; }
.dna-helix__pct.show .dna-helix__name { max-width: 13rem; opacity: 1; margin-right: 0.55rem; }
.dna-helix__pct b { font-weight: 500; }
.dna-helix__pct { white-space: nowrap; position: absolute; left: calc(100% + 4px); top: 0; padding: 0.2rem 0.45rem; border-radius: 3px; background: rgba(13, 36, 64, 0.88); color: #eef4fb; font: 500 0.68rem/1.3 var(--sans, system-ui); letter-spacing: 0.06em; font-variant-numeric: tabular-nums; pointer-events: none; will-change: transform; }
@media (max-width: 1279px) { .dna-helix { width: 44px; } }
/* Phones and small tablets: the content gutter is too narrow, native scrolling only */
@media (max-width: 1023px) { .dna-helix { display: none; } }
@media print { .dna-helix { display: none; } }
