/* Revenue history: additive styling; existing price chart styles stay unchanged. */
.revenue-history-section {
  width: 100%;
  min-width: 0;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(120, 235, 193, .18);
}
.revenue-history-title {
  margin: 0 0 6px;
  color: #9bdcc7;
  font-size: 11px;
  font-weight: 700;
}
.revenue-history-controls {
  display: flex;
  flex-wrap: nowrap;
  gap: 3px;
  min-width: 0;
}
.revenue-history-controls button {
  min-width: 0;
  padding: 5px 7px;
  border: 1px solid #255444;
  border-radius: 6px;
  background: #0d3025;
  color: #c2e5d6;
  cursor: pointer;
  font-size: 10px;
  font-weight: 650;
}
.revenue-history-controls button.active {
  border-color: #68d9b3;
  background: #68d9b3;
  color: #08231a;
}
.revenue-history-chart {
  position: relative;
  min-height: 40px;
  margin-top: 8px;
}
.revenue-history-chart .revenue-history-plot {
  display: flex;
  width: 100%;
  min-height: 92px;
  align-items: center;
  justify-content: center;
}
/* The same 200 × 96 viewBox, stroke and dimensions as .sparkline-wrap svg. */
.revenue-history-chart .hero-sparkline-svg {
  display: block;
  width: 100%;
  height: 91px;
  overflow: visible;
}
.revenue-history-meta {
  margin-top: 4px;
  color: #a2bdb0;
  font-size: 9px;
  line-height: 1.3;
}
.revenue-history-unavailable {
  color: #95b8a6;
  font-size: 10px;
}
.revenue-history-screener-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 10px;
  color: #9bdcc7;
  font-size: 11px;
}
.revenue-history-mini {
  min-width: 0;
  margin-top: 5px;
}
.revenue-history-mini::before {
  display: block;
  margin-bottom: 2px;
  color: #91cdb5;
  content: "Revenue";
  font-size: 7px;
  line-height: 1;
}
.revenue-history-mini[data-series-label="burns"]::before {
  content: "Burns";
}
.revenue-history-mini .revenue-history-plot {
  width: 100%;
}
.revenue-history-mini .mini-chart-svg {
  display: block;
  width: 72px;
  height: 34px;
  max-width: 100%;
}
.revenue-history-mini .revenue-history-meta {
  font-size: 8px;
  overflow-wrap: anywhere;
}
.revenue-history-benchmark-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: #9bdcc7;
  font-size: 10px;
}
.revenue-history-benchmark-controls .revenue-history-controls {
  flex-wrap: wrap;
}
@media (max-width: 720px), (min-width: 721px) and (max-width: 1060px) and (orientation: landscape) and (max-height: 500px) and (any-pointer: coarse) {
  .revenue-history-screener-controls {
    display: block;
  }
  .revenue-history-screener-controls .revenue-history-controls {
    margin-top: 6px;
  }
  .revenue-history-controls button {
    padding: 4px 5px;
    font-size: 9px;
  }
  .revenue-history-mini .revenue-history-meta {
    display: none;
  }
  .revenue-history-mini .mini-chart-svg {
    width: 72px;
    height: auto;
    min-width: 0 !important;
  }
  .revenue-history-chart .hero-sparkline-svg {
    height: 67px;
  }
}
