/* ==========================================================================
   MAXFIT · strength progress
   Loads on top of card/styles.css + workout/styles.css.
   ========================================================================== */

.progress {
  gap: 20px;
}

.progress__picker-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.progress__picker-row[hidden] {
  display: none;
}

.progress__select {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 15px;
  color: var(--white);
  background-color: var(--bg-card);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23999999' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 40px 14px 16px;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.progress__select:focus {
  outline: none;
  border-color: var(--red);
}

.progress__empty[hidden],
.progress__content[hidden],
.progress__chart-wrap[hidden],
.progress__headline-delta[hidden],
.progress__single-hint[hidden] {
  display: none;
}

.progress__empty-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--dim);
  text-align: center;
  margin: 12px 0;
}

.progress__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.progress__headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.progress__headline-value {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  color: var(--white);
}

.progress__headline-delta {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--grey);
}

.progress__headline-delta--up {
  color: var(--white);
}

.progress__headline-delta--up::before {
  content: "▲ ";
  color: var(--red);
}

.progress__headline-delta--down::before {
  content: "▼ ";
}

.progress__chart-wrap {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 12px 10px;
}

.progress__chart-wrap svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.progress__single-hint,
.progress__note {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--dim);
  text-align: center;
  margin: 0;
}
