.oz-molecular {
  margin: 1.5em 0 0.5em;
  padding: 0.5em 0.75em 0.75em;
}

#oz-cycle {
  width: 100%;
  height: auto;
  display: block;
}

.oz-cycle-edge {
  stroke: var(--color-border);
  stroke-width: 1.5;
  fill: none;
}

.oz-arrowhead {
  fill: var(--color-border);
}

.oz-node rect {
  fill: var(--color-bg);
  stroke: var(--color-border);
  stroke-width: 1.5;
  transition: stroke 0.3s ease, fill 0.3s ease, stroke-width 0.3s ease;
}

.oz-node text {
  font-size: 11px;
  text-anchor: middle;
  transition: fill 0.3s ease;
}

.oz-node.active rect {
  stroke: var(--color-link);
  stroke-width: 2;
  fill: var(--color-bg-inset);
}

.oz-node.active text {
  fill: var(--color-fg);
}

.oz-counter {
  margin: 0.6em 0 0;
  font-size: 0.85em;
  color: var(--color-fg-muted);
}

#oz-counter {
  font-family: var(--font-mono);
  color: var(--color-fg);
}

#ozone-chart {
  flex: 1 1 60%;
  min-width: 0;
  height: 220px;
}

.oz-axis {
  stroke: var(--color-border);
  stroke-width: 1;
}

/* Milestone markers fade in as the sweep passes them, unlike the static
   day/week markers on the scrubbable charts. */
.oz-marker {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.oz-marker.revealed {
  opacity: 1;
}

.oz-marker line {
  stroke: var(--color-fg-muted);
  stroke-width: 1;
  stroke-dasharray: 2, 2;
}

.oz-marker text {
  font-size: 9px;
  text-anchor: middle;
}

.ozone-log {
  flex: 1 1 40%;
  height: 220px;
}

@media (max-width: 560px) {
  #ozone-chart {
    height: 200px;
  }
}
