.progress-panel {
  position: relative;
  min-width: 0;
  margin: 31px 25px 31px 0;
  padding: 31px 27px 28px;
  border: 1px solid color-mix(in srgb, var(--blue) 10%, var(--line));
  border-radius: 15px;
  background: var(--surface);
  box-shadow: 0 18px 40px color-mix(in srgb, var(--blue) 12%, transparent);
}

.progress-panel::before,
.progress-panel::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.progress-panel::before {
  top: 205px;
  left: -14px;
  width: 9px;
  height: 9px;
  background: var(--coral);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--coral) 8%, transparent);
}

.progress-panel::after {
  right: -13px;
  bottom: 73px;
  width: 18px;
  height: 18px;
  background: var(--blue);
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--blue) 7%, transparent);
}

.flow-heading {
  justify-content: space-between;
  gap: 14px;
}

.flow-heading > span {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
}

.flow-heading strong {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 400;
}

.flow-heading em {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-style: normal;
}

.progress-copy {
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
}

.progress-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  height: 8px;
  margin-top: 12px;
  overflow: hidden;
}

.progress-track > span {
  display: block;
  opacity: .18;
}

.progress-track > span:nth-child(1),
.progress-value span:nth-child(1) {
  background: var(--coral);
}

.progress-track > span:nth-child(2),
.progress-value span:nth-child(2) {
  background: var(--teal);
}

.progress-track > span:nth-child(3),
.progress-value span:nth-child(3) {
  background: var(--yellow);
}

.progress-track > span:nth-child(4),
.progress-value span:nth-child(4) {
  background: var(--blue);
}

.progress-value {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  transition: clip-path 180ms ease;
}

.progress-rule {
  height: 1px;
  margin: 31px 0 23px;
  background: color-mix(in srgb, var(--blue) 20%, transparent);
}

.nav-heading {
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
}

.question-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 15px;
}

.nav-dot {
  min-width: 0;
  height: 34px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--muted);
  background: var(--nav-bg);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--surface) 34%, transparent);
  cursor: pointer;
  font-size: 11px;
}

.nav-dot.tone-coral {
  --nav-bg: var(--coral-soft);
  --nav-accent: var(--coral);
}

.nav-dot.tone-teal {
  --nav-bg: var(--teal-soft);
  --nav-accent: var(--teal);
}

.nav-dot.tone-yellow {
  --nav-bg: var(--yellow-soft);
  --nav-accent: var(--yellow);
}

.nav-dot.tone-blue {
  --nav-bg: var(--blue-soft);
  --nav-accent: var(--blue);
}

.nav-dot.answered {
  color: var(--body);
  box-shadow: inset 0 -2px 0 var(--nav-accent);
}

.nav-dot.current {
  border-color: var(--blue);
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 7px 15px color-mix(in srgb, var(--blue) 22%, transparent);
}

.nav-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 15px;
  margin-top: 27px;
}

.nav-legend span {
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
}

.nav-legend i {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 2px;
}

.nav-legend .coral { background: var(--coral); }
.nav-legend .teal { background: var(--teal); }
.nav-legend .yellow { background: var(--yellow); }
.nav-legend .blue { background: var(--blue); }
