/* Legible task states on opaque surfaces, above the photographic background. */
.design-note {
  margin:9px 0 18px;
  max-width:650px;
  padding:10px 14px;
  border:1px solid #425866;
  border-radius:9px;
  background:#111e27;
  color:#d6e0e6;
  font-size:15px;
  line-height:1.6;
}
.availability {
  padding:7px 10px;
  border:1px solid #506977;
  border-radius:8px;
  background:#101b23;
  color:#f5f8fb;
  font-size:14px;
}
.availability i {background:#8be9b0;box-shadow:0 0 5px #8be9b040}
.steps {
  display:flex;
  align-items:stretch;
  gap:6px;
  width:min(570px,100%);
  padding:6px;
  border:1px solid #506477;
  border-radius:11px;
  background:#0e1923;
  margin-block:18px 25px;
}
.steps li {
  display:flex;
  align-items:center;
  justify-content:center;
  flex:1;
  padding:8px 6px;
  gap:8px;
  border:1px solid transparent;
  border-radius:7px;
  color:#becbd5;
  font-size:16px;
}
.steps li span,.steps li.current span {
  display:grid;
  place-items:center;
  width:24px;
  height:24px;
  border:1px solid #71899a;
  border-radius:50%;
  color:#e2eaf1;
  background:#253440;
  font-size:14px;
}
.steps li.current {
  background:#2a3f4d;
  color:#fff;
  border-color:#88aabd;
  font-weight:500;
}
.steps li.current span {background:#d2e9ee;border-color:#d2e9ee;color:#122c36}
.selection .eyebrow {color:#cad7e0}
.selection h2 {color:#f6f8fb}
.mode-choices {margin-block:20px}
.mode-choices legend {font-size:17px;color:#e0e7ee;margin-bottom:12px}
.mode-choice {
  position:relative;
  min-height:110px;
  align-items:center;
  padding:20px;
  gap:16px;
  border:1px solid #698191;
  border-radius:12px;
  background:#182630;
  box-shadow:0 5px 12px #0003;
}
.mode-choice+.mode-choice {margin-top:13px}
.mode-choice:hover {background:#20343f;border-color:#adc6d1}
.mode-choice:has(:checked) {
  border:2px solid #a9e9d5;
  padding:19px;
  background:#213641;
  box-shadow:0 5px 14px #0003;
}
.mode-description strong {
  display:block;
  font-size:21px;
  font-weight:600;
  line-height:1.35;
  color:#fff;
}
.mode-description small {
  display:block;
  font-size:16px;
  font-weight:400;
  color:#c0cdd7;
  line-height:1.65;
  margin-top:8px;
}
.mode-icon {display:grid;place-items:center;padding:0;width:38px;height:38px;border-radius:9px;background:#304651;color:#ddf0f0;filter:none}
.mode-icon svg {width:22px;height:22px}
.choice-dot {
  width:21px;
  height:21px;
  margin-top:0;
  border:2px solid #91a6b5;
  border-radius:50%;
  background:#101d26;
}
.mode-choice:has(:checked) .choice-dot {
  border:5px solid #baf1de;
  background:#1d4d45;
  box-shadow:none;
}
.mode-choice:focus-within {outline-color:#effffb}
.scan-options {border:1px solid #4f6472;border-radius:10px;padding-inline:13px;background:#101e27}
.scan-options summary {min-height:46px}
.scan-explanation {color:#c0cdd6}
.scan-followup {background:#21333f}
.scan-options small {color:#c9e1ea}
.preview-file-help {padding:14px 16px;margin-top:15px;border:1px solid #8397a5;border-radius:10px;background:#192b37;font-size:16px;line-height:1.65;color:#f1f5fa}
.preview-file-help button {margin-top:12px;border-color:#88adb7;background:#304b58;color:#fff}
.scan-art {border:1px solid #405968;border-radius:14px;background:#101c27}
.scan-art::before {background:radial-gradient(ellipse,#66a3a51f,transparent 70%);inset:0}
.stage-status strong {color:#fff}
.stage-status p,.stage-count,.elapsed,.timeline {color:#ccd6e0}
.elapsed time {color:#f3f6f9}
.timeline li.now {color:#fff}
.timeline li span {background:#243744;border-color:#7a929f;color:#fff}
#processing {padding-bottom:40px}
@media(max-width:600px) {
  .masthead-end {display:contents}
  .availability {font-size:14px;padding:6px 9px}
  .design-note {font-size:14px;margin-block:10px 15px;padding:9px 11px}
  .first-look {min-height:790px;padding-top:11px}
  .steps {gap:3px;padding:5px}
  .steps li {gap:6px;padding:8px 3px;font-size:15px}
  .steps li span,.steps li.current span {width:22px;height:22px;font-size:13px}
  .mode-choice {padding:16px;min-height:112px;gap:12px}
  .mode-choice:has(:checked) {padding:15px}
  .mode-description strong {font-size:20px}
  .mode-description small {font-size:16px;line-height:1.6;margin-top:7px}
  .mode-icon {display:none}
  .choice-dot {width:20px;height:20px}
}
.selection .back {margin-bottom:6px}
@media(max-width:600px) {
  body:has(#scan-questions:not([hidden])) .world img {animation:none;opacity:.12;filter:blur(5px)}
  body:has(#scan-questions:not([hidden])) .world::after {background:#080e12aa}
  .steps {margin-block:12px 16px}
  .chosen-file {padding-block:11px;margin-block:12px 5px}
  .selection h2 {margin-top:0}
}

.mode-choices > #scan-questions {
  margin-inline-start: clamp(0px, 2vw, 20px);
}
.mode-choices > #scan-questions .scan-options {
  margin-block: .55rem .75rem;
}
