/* Isolated public illustrations, sharing the Platform typography and range skin. */
.sf-cap {
  --cap-blue: #286ad9;
  --cap-teal: #16877e;
  --cap-amber: #b27a37;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.sf-cap > * {
  min-width: 0;
}
.sf-cap-copy > p,
.sf-cap-takeaway p {
  font-size: 15px;
  line-height: 1.85;
}
.sf-cap-copy h2 {
  margin-bottom: 24px;
}
.sf-cap-takeaway {
  margin-top: 32px;
}
.sf-cap-takeaway h3 {
  font-size: 23px;
  margin-bottom: 16px;
}
.sf-cap-figure {
  margin: 0;
}
.sf-cap-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-bottom: 24px;
  font-size: 12px;
  color: #63656d;
}
.sf-cap-legend > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sf-cap-key {
  width: 20px;
  height: 3px;
  background: var(--cap-blue);
  flex-shrink: 0;
}
.sf-cap-key-1 {
  background: var(--cap-teal);
}
.sf-cap-key-2 {
  background: var(--cap-amber);
}
.sf-cap:has([data-gap]) .sf-cap-key-1 {
  height: 10px;
  background: #b27a3720;
}
.sf-cap:not(:has([data-series-path])) .sf-cap-key {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.sf-cap:has([data-gap]) .sf-cap-key-2 {
  width: 10px;
  height: 10px;
  background: transparent;
  border: 2px solid var(--cap-amber);
  border-radius: 50%;
}
.sf-cap:has([data-series-path="1"]) .sf-cap-key-0 {
  height: 0;
  border-top: 2px dashed var(--cap-blue);
  background: transparent;
}
.sf-cap .sf-cap-axis-label {
  font-size: 11px;
  line-height: 1.7;
  margin: 0 0 8px;
}
.sf-cap .sf-cap-x-label {
  text-align: center;
  margin: 4px 0 0;
}
.sf-cap-plot {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  direction: ltr;
}
.sf-cap-plot text {
  font:
    14px Manrope,
    Arial,
    sans-serif;
  fill: #63656d;
}
.sf-cap-axis {
  fill: none;
  stroke: #e4e5e8;
  stroke-width: 1;
}
.sf-cap-plot [data-sample] {
  fill: var(--cap-blue);
  opacity: 0.65;
}
.sf-cap-plot [data-sample][data-selected="true"] {
  fill: var(--cap-teal);
  opacity: 1;
  stroke: #fff;
  stroke-width: 2;
}
.sf-cap-line {
  fill: none;
  stroke: var(--cap-blue);
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.sf-cap:has([data-series-path="1"]) .sf-cap-series-0 {
  stroke-dasharray: 6 5;
}
.sf-cap-series-1 {
  stroke: var(--cap-teal);
}
.sf-cap-future {
  opacity: 0.13;
}
.sf-cap-gap {
  fill: #b27a3718;
}
.sf-cap-duplicate {
  fill: none;
  stroke: var(--cap-amber);
  stroke-width: 2;
}
.sf-cap-cursor {
  stroke: #9aa2ae;
  stroke-dasharray: 3 5;
}
.sf-cap [hidden] {
  display: none !important;
}
.sf-cap-controls {
  margin-top: 24px;
}
.sf-cap-controls label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  font-weight: 600;
}
.sf-cap-controls input {
  display: block;
  width: 100%;
  min-height: 44px;
  margin: 0;
}
.sf-cap-controls button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  box-shadow: none;
  color: #15171c;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.sf-cap-controls button > span:first-child {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: #f0f2f5;
  color: var(--cap-blue);
  border-radius: 50%;
}
.sf-cap-controls button:disabled {
  opacity: 0.5;
  cursor: default;
}
.sf-cap-controls button:focus-visible {
  outline: 2px solid var(--cap-blue);
  outline-offset: 4px;
}
.sf-cap-readout dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.sf-cap-readout dl > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.sf-cap-readout dt {
  font-size: 11px;
  color: #63656d;
  line-height: 1.8;
}
.sf-cap-readout dd {
  margin: auto 0 0;
  padding-top: 8px;
  font-size: 28px;
  letter-spacing: -0.04em;
  font-weight: 500;
}
.sf-cap output {
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}
.sf-cap-notes {
  min-height: 58px;
}
.sf-cap .sf-cap-notes p,
.sf-cap-caption {
  font-size: 12px;
  line-height: 1.8;
  color: #63656d;
}
.sf-cap-caption {
  margin-top: 16px;
}
.sf-data-stats {
  scroll-margin-top: 110px;
  padding-bottom: 24px;
}
@media (max-width: 1100px) {
  .sf-cap-plot text {
    font-size: 26px;
  }
}
@media (max-width: 760px) {
  .sf-cap {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .sf-cap-readout dl {
    gap: 12px;
  }
  .sf-cap-readout dd {
    font-size: 25px;
  }
  .sf-cap-notes {
    min-height: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sf-cap * {
    animation: none !important;
    transition: none !important;
  }
}
