#status,
.plot-note,
.readout {
  color: var(--muted);
  font-size: 0.86rem;
}
#status {
  margin: 8px 0 18px;
}
.plot-heading,
.trend-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.plot-heading {
  margin-top: 28px;
}
.plot-note {
  margin: 4px 0 14px;
  max-width: 85ch;
}
.plot-key {
  display: flex;
  gap: 15px;
  font-size: 0.78rem;
  color: var(--muted);
}
.plot-key span:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 7px;
  height: 7px;
  background: var(--muted);
  border-radius: 50%;
  margin-right: 6px;
}
.plot-key span:last-child:before {
  width: 17px;
  height: 3px;
  border-radius: 2px;
  background: var(--chart);
}
.plots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.plots article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 16px;
  min-width: 0;
}
.plots h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
}
.chart {
  display: block;
  width: 100%;
  touch-action: pan-y;
  overflow: visible;
}
.chart:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.chart text {
  font:
    11px Arial,
    sans-serif;
  fill: var(--muted);
}
.gridline {
  stroke: var(--line);
  stroke-dasharray: 3 3;
}
.ask {
  fill: var(--muted);
  opacity: 0.43;
}
.fit,
.marker {
  stroke: var(--chart);
  stroke-width: 2.5;
  fill: none;
}
.marker {
  fill: var(--panel);
  stroke: var(--ink);
  pointer-events: none;
}
.fit-point {
  fill: var(--chart);
}
.readout {
  min-height: 2.8em;
  margin: 8px 0 0;
  font-variant-numeric: tabular-nums;
}
.trend-heading h2 {
  margin: 0;
}
#trend .chart {
  max-height: 255px;
}
.method {
  margin-bottom: 28px;
}
@media (max-width: 940px) {
  .plots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .plots {
    grid-template-columns: 1fr;
  }
  .plots article {
    padding: 12px;
  }
  .plot-heading {
    align-items: flex-start;
  }
  .plot-key {
    width: 100%;
  }
}
.price-bands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 16px;
  margin: 10px 0 14px;
  color: var(--muted);
  font-size: 0.8rem;
}
.band-low {
  --band: #438baf;
}
.band-mid {
  --band: var(--chart);
}
.band-high {
  --band: #bc7355;
}
.price-bands span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--band);
  margin-right: 6px;
}
.pair-dot {
  fill: var(--band);
  fill-opacity: 0.72;
  stroke: var(--panel);
  stroke-width: 0.6;
}
.pair-plots .pair-summary {
  color: var(--muted);
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
  margin: 0 0 8px;
}
.chart .axis-label {
  fill: var(--ink);
  font-weight: 600;
}
