/*! Ribbon Ledger (ribbon-ledger 1.0.0) by Frontier Templates. Styles for the vanilla build.
Licensed gem: Licensed with Full Access, for the sites you build; do not resell the gem itself. https://frontiertemplates.com/gems/ribbon-ledger */
/* Ribbon Ledger. Every rule is scoped to .rbl so the gem drops into any page. Size the element; the gem fills it. */
.rbl {
  --rbl-bg: #08090d;
  --rbl-ink: #eef1f6;
  --rbl-mute: rgba(238, 241, 246, 0.72);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 360px;
  background: var(--rbl-bg);
  color: var(--rbl-ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  cursor: crosshair;
  touch-action: pan-y;
}
.rbl.rbl-turning { cursor: grabbing; }
/* the root sizes itself the same whatever the host page's reset says */
.rbl, .rbl *, .rbl *::before, .rbl *::after { box-sizing: border-box; }
.rbl-stage { position: absolute; inset: 0; z-index: 0; }
.rbl-stage canvas { display: block; width: 100%; height: 100%; }
.rbl-head {
  position: absolute;
  left: clamp(16px, 4vw, 56px);
  top: clamp(16px, 4vw, 48px);
  z-index: 2;
  pointer-events: none;
}
.rbl-title {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rbl-mute);
}
.rbl-big {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.rbl-read {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 140px;
  margin: -88px 0 0 -70px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(10, 12, 18, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  pointer-events: none;
  text-align: center;
}
.rbl-read-label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rbl-mute); }
.rbl-read-value { font-size: 20px; line-height: 1.15; font-weight: 600; font-variant-numeric: tabular-nums; }
.rbl-read-change { font-size: 12px; font-variant-numeric: tabular-nums; color: #8ff0c4; min-height: 1em; }
.rbl-read-change.rbl-down { color: #ffa07c; }
/* the slider keyboard and screen reader users read the series with; it covers the plot */
.rbl-scrub {
  position: absolute;
  inset: 0;
  z-index: 1;
  outline: none;
  border-radius: inherit;
}
.rbl-scrub:focus-visible { box-shadow: inset 0 0 0 2px var(--rbl-ink); }
.rbl-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
