.progress-exercises-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.progress-card,
.progress-card * {
  box-sizing: border-box;
}

.progress-card {
  --pc: 1;
  --pc-best: 45%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  min-width: 0;
  background: #f5f5f5;
  border-radius: 16px;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.progress-card--has-best {
  grid-template-columns: minmax(0, 1fr) minmax(0, var(--pc-best));
}

.progress-card[hidden] {
  display: none !important;
}

.progress-card__main {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: space-between;
  gap: calc(16px * var(--pc));
  min-width: 0;
  overflow: hidden;
  background: #f5f5f5;
  padding: calc(24px * var(--pc)) calc(28px * var(--pc));
}

.progress-card__head {
  flex: 1 1 0;
  min-width: 0;
  align-self: flex-start;
}

.progress-card h2.progress-card__subject {
  margin: 0;
  color: #000;
  font-size: calc(20px * var(--pc));
  font-weight: 700;
  line-height: 1.15;
  overflow-wrap: break-word;
}

.progress-card__title {
  margin: calc(12px * var(--pc)) 0 0;
  color: #8a8a8a;
  font-size: calc(16px * var(--pc));
  font-weight: 400;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.progress-card__metrics {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  flex-shrink: 0;
  align-self: flex-end;
}

.progress-card__result-label {
  margin: 0;
  color: #8a8a8a;
  font-size: calc(14px * var(--pc));
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
}

.progress-card__stats {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  column-gap: calc(28px * var(--pc));
  margin-top: calc(6px * var(--pc));
}

.progress-card__stat-value {
  color: #000;
  font-size: calc(22px * var(--pc));
  font-weight: 700;
  line-height: 1.05;
  white-space: nowrap;
}

.progress-card__stat-label {
  margin-top: calc(4px * var(--pc));
  color: #8a8a8a;
  font-size: calc(13px * var(--pc));
  line-height: 1.2;
  white-space: nowrap;
}

.progress-card__best {
  display: flex;
  min-width: 0;
  margin: 0;
  flex-direction: column;
  justify-content: center;
  gap: calc(16px * var(--pc));
  padding: calc(18px * var(--pc)) calc(24px * var(--pc));
  background: #000;
  color: #fff;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.progress-card__best-top {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: calc(12px * var(--pc));
  min-width: 0;
}

.progress-card__photo {
  display: block;
  width: calc(48px * var(--pc));
  height: calc(48px * var(--pc));
  max-width: calc(48px * var(--pc));
  border-radius: 50%;
  object-fit: cover;
  background: #2a2a2a;
  border: 2px solid #89cf4e;
  flex-shrink: 0;
}

.progress-card__photo--empty {
  background: #3a3a3a;
}

.progress-card__player-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
}

.progress-card__player-name {
  color: #fff;
  font-size: calc(16px * var(--pc));
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.progress-card__best-result {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: calc(8px * var(--pc));
  min-width: 0;
}

.progress-card__best-number {
  color: #89cf4e;
  font-size: calc(26px * var(--pc));
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.progress-card__best-caption {
  display: block;
  width: 5.6em;
  flex-shrink: 0;
  color: #fff;
  font-size: calc(12px * var(--pc));
  font-weight: 400;
  line-height: 1.15;
}

.progress-card__comment-title {
  margin-bottom: calc(6px * var(--pc));
  color: rgba(255, 255, 255, 0.72);
  font-size: calc(13px * var(--pc));
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}

.progress-card__comment-text {
  color: #fff;
  font-size: calc(14px * var(--pc));
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: break-word;
}

@media (max-width: 780px) {
  .progress-card {
    --pc: 1;
  }

  .progress-card__main {
    flex-direction: column;
    justify-content: flex-start;
  }

  .progress-card__head {
    min-width: 0;
  }

  .progress-card__metrics {
    align-self: flex-start;
    min-width: 0;
  }
}

@media (max-width: 700px) {
  .progress-card,
  .progress-card--has-best {
    --pc: 0.9;
    --pc-best: 100%;
    display: flex;
    flex-direction: column;
  }

  .progress-card__main {
    flex-direction: column;
  }

  .progress-card__head {
    min-width: 0;
  }

  .progress-card__metrics {
    align-self: flex-start;
    min-width: 0;
  }

  .progress-card__best {
    width: 100%;
    max-width: none;
  }
}

.progress-app-banner {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  height: 164px;
  padding: 30px;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(37.59deg, #01a4ff 7%, #1be194 42.48%, #99fd07 78.71%);
}

.progress-app-banner__inner {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
  min-height: 0;
  height: 100%;
}

.progress-app-banner__main {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.progress-app-banner__logo {
  display: block;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  border-radius: 20px;
  background: #fff;
}

.progress-app-banner__copy {
  min-width: 0;
  max-width: 344px;
}

.progress-app-banner__side {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.progress-app-banner__phones {
  display: block;
  flex-shrink: 0;
  width: 194px;
  height: 164px;
  margin: -30px 0;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
}

.progress-app-banner__title {
  margin: 0;
  color: #141414;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
}

.progress-app-banner__text {
  margin: 5px 0 0;
  color: #141414;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.progress-app-banner__btns {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  justify-content: center;
  gap: 10px;
  width: 190px;
}

.progress-app-banner__btn {
  display: flex;
  align-items: center;
  gap: 15px;
  box-sizing: border-box;
  width: 190px;
  height: 47px;
  padding: 5px 15px;
  border-radius: 5px;
  background: #fff;
  color: #141414;
  text-decoration: none;
}

.progress-app-banner__icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
}

.progress-app-banner__btn-note {
  display: block;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.progress-app-banner__btn-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

@media (max-width: 840px) {
  .progress-app-banner {
    height: auto;
    min-height: 0;
    padding: 24px 20px;
  }

  .progress-app-banner__inner {
    flex-direction: column;
    align-items: stretch;
    height: auto;
  }

  .progress-app-banner__copy {
    max-width: none;
  }

  .progress-app-banner__side {
    justify-content: space-between;
    align-items: flex-end;
    flex-direction: row-reverse;
    width: 100%;
    gap: 16px;
  }

  .progress-app-banner__phones {
    display: block;
    width: 160px;
    height: 136px;
    margin: 0 -20px -24px 0;
    object-position: right bottom;
  }

  .progress-app-banner__logo {
    width: 88px;
    height: 88px;
  }

  .progress-app-banner__title {
    font-size: 22px;
  }

  .progress-app-banner__text {
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  .progress-app-banner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "copy copy"
      "btns logo";
    align-items: end;
    gap: 20px 16px;
  }

  .progress-app-banner__inner,
  .progress-app-banner__main,
  .progress-app-banner__side {
    display: contents;
  }

  .progress-app-banner__copy {
    grid-area: copy;
  }

  .progress-app-banner__phones {
    display: none;
  }

  .progress-app-banner__logo {
    grid-area: logo;
  }

  .progress-app-banner__btns {
    grid-area: btns;
  }
}

.form--sidebar .button,
.form--sidebar .button:hover:not(:disabled) {
  background: linear-gradient(90deg, #01A4FF -11.36%, #1BE194 53.63%, #99FD07 120%);
}

.form--sidebar .button:hover:not(:disabled) {
  filter: brightness(0.96);
}

.form--sidebar .form__tooltip-trigger,
.form--sidebar .form__tooltip-trigger:hover {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #1BE194;
  -webkit-text-fill-color: #1BE194;
  text-decoration-color: #1BE194;
  -webkit-text-decoration-color: #1BE194;
}
