.graph-indicator-block {
  position: relative;
  color: var(--color-white);
  border-radius: 8px 27.5px 8px 8px;
}
.graph-indicator-block__corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  transform: rotate(90deg);
}
.graph-indicator-block._color-orange {
  background-color: var(--color-orange);
}
.graph-indicator-block._color-orange-light {
  background-color: var(--color-orange-light);
}
.graph-indicator-block._color-emerald {
  background-color: var(--color-emerald);
}
.graph-indicator-block._color-lined {
  background: var(--gradient-lined);
}
.graph-indicator-text {
  display: flex;
  flex-direction: column;
}
.graph-indicator-text__value {
  font-size: var(--font-size-m);
  line-height: var(--line-height-m);
  font-weight: var(--font-weight-normal);
  white-space: nowrap;
}
@media screen and (max-width: 1439px) {
  .graph-indicator-text__value {
    font-size: var(--font-size-s);
    line-height: var(--line-height-s);
  }
}
.graph-indicator-text__title {
  padding-right: 16px;
  font-size: var(--font-size-xs);
  line-height: var(--line-height-xs);
  font-weight: var(--font-weight-light);
}
.graph-indicator__block {
  height: 98px;
  display: flex;
}
.graph-indicator__block[data-graph-indicator-progress] {
  width: calc(attr(data-graph-indicator-progress %) - 10%);
}
.graph-indicator__content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.graph-indicator__content_no-title {
  justify-content: flex-end;
}
.graph-indicator__title {
  font-size: var(--font-size-m);
  line-height: var(--line-height-m);
  font-weight: var(--font-weight-normal);
}
@media screen and (max-width: 1439px) {
  .graph-indicator__title {
    font-size: var(--font-size-s);
    line-height: var(--line-height-s);
  }
}
.graph {
  margin: 64px 0 120px;
  display: grid;
  grid-template-areas: 'header-1 header-2' 'scheme graph';
  grid-template-columns: 1fr 1fr;
  gap: 0 80px;
  border-bottom: 1px solid var(--color-grey-3);
  padding-bottom: 40px;
}
.graph__scheme-arrow-left {
  position: relative;
  z-index: 1;
  height: 100%;
}
.graph__scheme-arrow-left-icon {
  position: absolute;
  z-index: 1;
}
.graph__scheme-arrow-left-icon._line {
  height: calc(85% - 8px);
  width: calc(50% + 12px);
  top: 8px;
  right: 8px;
  bottom: 15%;
}
.graph__scheme-arrow-left-icon._arrow {
  bottom: calc(15% - 9px);
  right: 6px;
}

.graph__scheme {
  margin-top: 16px;
  display: flex;
}

.graph__scheme-column {
  display: flex;
  flex-direction: column;
}
.graph__scheme-column._left {
  flex: 0 0 calc(50% + 20px);
}
.graph__scheme-column._right {
  flex: 0 0 calc(50% - 20px);
}

.graph__indicators {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.graph__scheme-header {
  padding-bottom: 33px;
  border-bottom: 1px solid var(--color-grey-3);
  grid-area: header-1;
  display: flex;
  justify-content: space-between;
}

.graph__scheme-arrow {
  display: flex;
  justify-content: center;
  padding: 8px;
}

.graph__scheme-card {
  border-radius: 8px;
  padding: 16px;
  color: var(--color-white);
  font-weight: var(--font-weight-light);
  display: flex;
  flex-direction: column;
  height: fit-content;
}

.graph__scheme-card-text {
  font-size: 16px;
  line-height: 20px;
}

.graph__scheme-card-text_little {
  font-size: 9px;
  line-height: 11px;
}

.graph__scheme-card_orange {
  background-color: var(--color-orange);
  margin-right: 40px;
}

.graph__scheme-card_emerald {
  background-color: var(--color-emerald);
}

.graph__graph-header {
  padding-bottom: 33px;
  grid-area: header-2;
  border-bottom: 1px solid var(--color-grey-3);
}

.graph__subtitle {
  font-size: 12px;
  line-height: 14px;
  font-weight: 400;
}
@media screen and (min-width: 1440px) {
  .graph__subtitle {
    font-size: 16px;
    line-height: 20px;
  }
}

.graph__scheme-header-title {
  flex: 0 0 calc(50% - 20px);
}

.graph__title-text {
  line-height: 24px;
}
@media screen and (min-width: 768px) {
  .graph__title-text {
    font-size: var(--font-size-m);
  }
}
@media screen and (min-width: 1024px) {
  .graph__title-text {
    font-size: var(--font-size-l);
    line-height: var(--line-height-l);
  }
}
@media screen and (min-width: 1440px) {
  .graph__title-text {
    font-size: var(--font-size-xl);
    line-height: var(--line-height-l);
  }
}

@media (max-width: 1439px) {
  .graph {
    gap: 0 64px;
    margin: 48px 0 80px;
  }
  .graph__scheme-header {
    padding-bottom: 16px;
  }
  .graph__graph-header {
    padding-bottom: 16px;
  }
  .graph__scheme-card-text {
    font-size: 12px;
    line-height: 14px;
  }
}
@media (max-width: 1023px) {
  .graph__scheme {
    margin-bottom: 24px;
  }
}
@media (max-width: 767px) {
  .graph {
    margin: 32px 0 80px;
    padding-bottom: 24px;
  }
  .graph {
    grid-template-areas: 'header-1' 'scheme' 'header-2' 'graph';
    grid-template-columns: 1fr;
  }
}
