.dozer-progress {
  margin: 26px 0 32px;
  padding: 25px 30px 23px;
  border: 1px solid #e1e9e4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 7px 24px -18px #163f2e26;
}

.dozer-progress .dozer-progress-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.dozer-progress h2 {
  margin: 7px 0 0;
  color: var(--ink, #182332);
  font: 500 23px/1.25 var(--serif, Georgia, serif);
  letter-spacing: -0.6px;
}

.dozer-progress-readout {
  flex-shrink: 0;
  padding: 7px 11px;
  border: 1px solid #d5e9dc;
  border-radius: 7px;
  background: #f3faf5;
}

.dozer-progress .dozer-progress-readout #overallProgress {
  font-size: 12px;
  font-weight: 500;
}

.dozer-progress #progressNote {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.dozer-progress #overallProgress {
  color: #18774f;
  font-size: 15px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.dozer-progress #progressNote {
  margin: 6px 0 0;
  color: #748178;
  font-size: 12px;
  line-height: 1.6;
}

#dozerMount {
  --dozer-half-width: 46px;
  position: relative;
  padding-top: 94px;
}

#dozerMount .dozer-track {
  position: relative;
  height: 9px;
  border-radius: 10px;
  background: #edf1ee;
}

#dozerMount .dozer-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #176b48, #2a9669);
  box-shadow: 0 2px 9px #21895b1f;
  transition: width 1.6s cubic-bezier(0.22, 0.7, 0.25, 1);
}

#dozerMount .dozer-vehicle {
  position: absolute;
  bottom: 14px;
  left: var(--dozer-half-width);
  width: calc(var(--dozer-half-width) * 2);
  transform: translateX(-50%);
  color: #182332;
  transition: left 1.6s cubic-bezier(0.22, 0.7, 0.25, 1);
}

#dozerMount .dozer-svg {
  display: block;
  width: 86px;
  height: auto;
  margin: 0 auto;
  overflow: visible;
  filter: drop-shadow(0 2px 3px #1823321f);
}

#dozerMount .dozer-value {
  display: block;
  margin-bottom: 5px;
  color: #18774f;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

#dozerMount .dozer-markers {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: #7a877f;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

#dozerMount .dozer-pending-note {
  margin: 10px 0 0;
  color: #748178;
  font-size: 11px;
  line-height: 1.6;
}

#dozerMount.is-pending .dozer-value {
  color: #63766b;
}

#dozerMount.is-pending .dozer-vehicle,
#dozerMount.is-pending .dozer-fill {
  transition: none;
}

#dozerMount.is-visible .dozer-vehicle.is-moving .dozer-body {
  animation: dozer-engine 0.24s ease-in-out infinite alternate;
}

#dozerMount.is-visible.is-pending .dozer-body {
  animation: dozer-idle 1.8s ease-in-out infinite;
}

@keyframes dozer-idle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.2px); }
}

@keyframes dozer-engine {
  from { transform: translateY(0); }
  to { transform: translateY(-1.3px); }
}

@media (max-width: 720px) {
  .dozer-progress {
    margin: 22px 0 26px;
    padding: 21px 20px 19px;
    border-radius: 14px;
  }

  .dozer-progress .dozer-progress-header {
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .dozer-progress h2 {
    font-size: 21px;
  }

  .dozer-progress #progressNote {
    font-size: 11px;
    max-width: 40ch;
  }

  #dozerMount {
    --dozer-half-width: 42px;
    padding-top: 94px;
  }

  #dozerMount .dozer-svg {
    width: 78px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #dozerMount .dozer-vehicle,
  #dozerMount .dozer-fill {
    transition: none;
  }

  #dozerMount .dozer-body {
    animation: none !important;
  }
}

@media print {
  .dozer-progress {
    break-inside: avoid;
    box-shadow: none;
  }

  #dozerMount .dozer-body {
    animation: none !important;
  }
}
