.runtime-figure {
  --rf-blue: #1263ae;
  --rf-purple: #704bc9;
  --rf-green: #2f9e44;
  --rf-text: #101034;
  --rf-muted: #666171;
  --rf-divider: #e5e4e8;
  --rf-surface: #fff;
  --rf-guide: rgba(102, 97, 113, 0.75);
  --rf-border: #c8c7ce;
  --rf-error: #a12d38;
  box-sizing: border-box;
  margin: 2.4rem 0;
  padding: 14px 10px 10px;
  background: var(--rf-surface);
  color: var(--rf-text);
  color-scheme: light dark;
  font-family: Georgia, "Times New Roman", serif;
}

.runtime-figure *,
.runtime-figure *::before,
.runtime-figure *::after {
  box-sizing: border-box;
}

.runtime-figure[hidden] {
  display: none;
}

.runtime-figure .rf-summary {
  display: none;
  margin: 0 0 12px;
  color: var(--rf-muted);
  font: 14px/1.45 Georgia, "Times New Roman", serif;
  text-align: center;
}
.runtime-figure .rf-chart {
  width: 100%;
  min-height: 500px;
}

.runtime-figure .rf-retry {
  display: block;
  margin: 12px auto 0;
  padding: 7px 16px;
  border: 1px solid var(--rf-border);
  border-radius: 4px;
  background: var(--rf-surface);
  color: var(--rf-text);
  font: 16px Georgia, "Times New Roman", serif;
  cursor: pointer;
}

.runtime-figure .rf-retry[hidden] {
  display: none;
}

.runtime-figure[data-state="error"] .rf-summary {
  display: block;
  color: var(--rf-error);
}

.runtime-figure .rf-noscript {
  margin: 1rem;
  color: var(--rf-muted);
  text-align: center;
}

@media (max-width: 650px) {
  .runtime-figure {
    padding: 20px 6px 14px;
  }

  .runtime-figure .rf-chart {
    min-height: 560px;
  }
}

@media (prefers-color-scheme: dark) {
  .runtime-figure {
    --rf-blue: #69b9f2;
    --rf-purple: #b294f0;
    --rf-green: #72c883;
    --rf-text: #eee;
    --rf-muted: #b7b4c5;
    --rf-divider: #403d4c;
    --rf-surface: #1b1b1b;
    --rf-guide: rgba(183, 180, 197, 0.75);
    --rf-border: #5b5868;
    --rf-error: #ff9d9d;
  }
}
