.yld-frc {
  color: #1d2733;
  margin: 32px 0;
}

.yld-frc *,
.yld-frc *::before,
.yld-frc *::after {
  box-sizing: border-box;
}

.yld-frc__header {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
}

.yld-frc__bar {
  background: linear-gradient(180deg, #9fd0f3 0%, #2f89db 100%);
  display: block;
  height: 44px;
  width: 10px;
}

.yld-frc__title {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.yld-frc__controls {
  background: #f1f8fd;
  border: 1px solid #b9daf3;
  display: grid;
  gap: 18px;
  margin-bottom: 34px;
  padding: 22px 26px;
}

.yld-frc__control-group {
  display: grid;
  gap: 8px;
}

.yld-frc__group-label,
.yld-frc__periods legend,
.yld-frc__custom-range label {
  font-weight: 700;
}

.yld-frc__fund-list {
  background: #fff;
  border: 1px solid #b9c7d6;
  border-radius: 4px;
  display: grid;
  gap: 0;
  max-height: 260px;
  overflow: auto;
  width: min(100%, 720px);
}

.yld-frc__fund-check {
  align-items: center;
  border-bottom: 1px solid #e3e9ef;
  cursor: pointer;
  display: grid;
  gap: 8px;
  grid-template-columns: 20px 26px minmax(0, 1fr);
  min-height: 40px;
  padding: 8px 10px;
}

.yld-frc__fund-check:last-child {
  border-bottom: 0;
}

.yld-frc__fund-check:hover {
  background: #f6fbff;
}

.yld-frc__fund-input {
  accent-color: #147cff;
  height: 18px;
  width: 18px;
}

.yld-frc__fund-input:disabled + .yld-frc__fund-swatch + .yld-frc__fund-name {
  color: #7b8794;
}

.yld-frc__fund-swatch {
  background: var(--yld-frc-swatch, #147cff);
  border-radius: 2px;
  display: block;
  height: 4px;
  width: 24px;
}

.yld-frc__fund-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  min-width: 0;
}

.yld-frc__limit-note {
  color: #526173;
  font-size: 13px;
  margin: 0;
}

.yld-frc__periods {
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.yld-frc__periods legend {
  float: left;
  margin-right: 10px;
  padding: 8px 0;
}

.yld-frc__radio {
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #d9d9d9 100%);
  border: 1px solid #b8b8b8;
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  cursor: pointer;
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  gap: 8px;
  min-height: 36px;
  min-width: 116px;
  padding: 6px 14px;
}

.yld-frc__radio input {
  accent-color: #f28c18;
  height: 18px;
  width: 18px;
}

.yld-frc__custom-range {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.yld-frc__custom-range[hidden] {
  display: none;
}

.yld-frc__custom-range label {
  display: grid;
  gap: 6px;
}

.yld-frc__custom-range input {
  border: 1px solid #b9c7d6;
  border-radius: 4px;
  min-height: 38px;
  padding: 6px 10px;
}

.yld-frc__summary {
  color: #264a6f;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 12px;
  min-height: 1.5em;
}

.yld-frc__chart-area {
  align-items: stretch;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 34%);
}

.yld-frc__chart-wrap {
  height: min(58vh, 560px);
  min-height: 430px;
  width: 100%;
}

.yld-frc__returns {
  align-content: center;
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 18px 0;
}

.yld-frc__return-row {
  align-items: center;
  display: grid;
  gap: 8px 12px;
  grid-template-columns: 44px minmax(0, 1fr) auto;
}

.yld-frc__return-line {
  background: var(--yld-frc-swatch, #147cff);
  border-radius: 999px;
  display: block;
  height: 7px;
  width: 44px;
}

.yld-frc__return-name {
  color: #1f3d5f;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yld-frc__return-value {
  color: #050505;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  text-align: right;
}

.yld-frc__empty {
  color: #526173;
  font-weight: 700;
  margin: 0;
}

.yld-frc__navigator {
  margin-top: 18px;
}

.yld-frc__navigator-chart {
  border-bottom: 2px solid #4f5a66;
  height: 82px;
  margin-left: 48px;
  max-width: min(100%, 920px);
  opacity: 0.55;
}

.yld-frc__range {
  height: 32px;
  margin-left: 48px;
  max-width: min(100%, 920px);
  position: relative;
}

.yld-frc__range-track {
  background: linear-gradient(180deg, #f7f7f7 0%, #d8d8d8 100%);
  border: 1px solid #9da4ab;
  border-radius: 4px;
  height: 16px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 8px;
}

.yld-frc__range-selection {
  background: rgba(35, 106, 176, 0.28);
  border-left: 2px solid #506b8e;
  border-right: 2px solid #506b8e;
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.yld-frc__range-input {
  appearance: none;
  background: transparent;
  height: 32px;
  left: 0;
  margin: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 2;
}

.yld-frc__range-input::-webkit-slider-thumb {
  appearance: none;
  background: #ffffff;
  border: 2px solid #6b747d;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.24);
  cursor: ew-resize;
  height: 28px;
  pointer-events: auto;
  width: 14px;
}

.yld-frc__range-input::-moz-range-thumb {
  background: #ffffff;
  border: 2px solid #6b747d;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.24);
  cursor: ew-resize;
  height: 24px;
  pointer-events: auto;
  width: 12px;
}

.yld-frc__range-input::-webkit-slider-runnable-track {
  background: transparent;
  border: 0;
  height: 32px;
}

.yld-frc__range-input::-moz-range-track {
  background: transparent;
  border: 0;
  height: 32px;
}

.yld-frc__range-dates {
  color: #526173;
  display: flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: space-between;
  margin-left: 48px;
  max-width: min(100%, 920px);
}

.yld-frc__note {
  font-size: 14px;
  font-weight: 700;
  margin-top: 18px;
}

.yld-frc__disclaimer {
  border-top: 1px solid #d9e3ee;
  color: #526173;
  font-size: 13px;
  line-height: 1.7;
  margin-top: 28px;
  padding-top: 18px;
}

.yld-frc__disclaimer-title {
  color: #1d2733;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
}

.yld-frc__disclaimer p {
  margin: 0 0 8px;
}

.yld-frc__disclaimer ul {
  margin: 0;
  padding-left: 1.25em;
}

.yld-frc__disclaimer li + li {
  margin-top: 4px;
}

@media (max-width: 780px) {
  .yld-frc__controls {
    padding: 18px;
  }

  .yld-frc__periods legend {
    float: none;
    width: 100%;
  }

  .yld-frc__radio {
    flex: 1 1 calc(50% - 10px);
    min-width: 0;
  }

  .yld-frc__chart-wrap {
    min-height: 440px;
  }

  .yld-frc__chart-area {
    grid-template-columns: 1fr;
  }

  .yld-frc__returns {
    gap: 10px;
    padding: 0;
  }

  .yld-frc__return-row {
    grid-template-columns: 34px minmax(0, 1fr) auto;
  }

  .yld-frc__return-line {
    width: 34px;
  }

  .yld-frc__navigator-chart,
  .yld-frc__range,
  .yld-frc__range-dates {
    margin-left: 0;
    max-width: 100%;
  }
}
