/* Cataract and night vision (DEC-056): only what the shared tool styles don't already have. */
.q-progress {
  color: var(--color-muted);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.choice-list button {
  font-size: 1.125rem;
}
.choice-list button[aria-pressed='true'] {
  background: #fff;
  box-shadow: inset 0 0 0 2.5px var(--color-graphite);
}
.advice-box b:focus {
  outline: none;
}
.advice-box span + span {
  margin-top: 12px;
  font-weight: 600;
}
.always {
  color: var(--color-muted);
}
.doctor-card {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 2px solid var(--color-graphite);
  border-radius: 20px;
}
.card-from {
  font-size: 0.9375rem;
}
.night,
.beta-offer {
  display: grid;
  gap: 12px;
}
.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.segmented button {
  flex: 1 1 9rem;
  min-height: 48px;
  padding: 8px 14px;
  border: 2px solid var(--color-graphite);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--color-graphite);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.segmented button[aria-pressed='true'] {
  background: var(--color-graphite);
  color: #fff;
}
.night-canvas {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  background: #101318;
}
.photo-credit a {
  display: inline-flex;
  align-items: center;
  min-height: var(--target-min);
  font-weight: 400;
}
.beta-tag {
  display: inline-block;
  padding: 2px 10px;
  border: 1.5px dashed var(--color-graphite);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0;
  vertical-align: middle;
  white-space: nowrap;
}
.step h1 .beta-tag {
  font-size: 1rem;
}
.calib-box {
  display: grid;
  place-items: center;
}
.calib-canvas {
  display: block;
  image-rendering: pixelated;
  border-radius: 12px;
}
/* The test ground is the background grey (screen value 235), so the canvas edge never shows. */
.contrast-stage {
  background: rgb(235 235 235);
}
.ring-canvas {
  display: block;
  image-rendering: pixelated;
}

@media print {
  .top,
  .no-print,
  .preview {
    display: none !important;
  }
  .vc {
    padding: 0;
  }
  .advice-box,
  .doctor-card {
    break-inside: avoid;
  }
  .advice-box {
    background: none !important;
    color: #000 !important;
    border: 2px solid #000;
  }
}
