/* V-4 trend panel (EM-7). Rules are scoped to .v4-trend and use Framework theme variables, so they
 * follow the light and dark themes. */
.v4-trend { color: var(--theme-foreground); max-width: 60rem; }
.v4-trend .v4-heading { margin: 1rem 0 0.25rem; font-size: 1rem; }
.v4-trend .v4-status, .v4-trend .v4-note { margin: 0.4rem 0; color: var(--theme-foreground-muted); font-size: 0.9rem; }
.v4-trend .v4-unavailable { font-style: italic; }
.v4-trend .v4-svg { width: 100%; height: auto; display: block; font-family: var(--sans-serif, system-ui, sans-serif); }
.v4-trend .v4-tick { font-size: 11px; fill: var(--theme-foreground-muted); font-variant-numeric: tabular-nums; }
.v4-trend .v4-grid { stroke: var(--theme-foreground-faintest); stroke-width: 1; }
.v4-trend .v4-line { stroke: var(--theme-foreground-focus); stroke-width: 2; }
.v4-trend .v4-dot { fill: var(--theme-foreground-focus); }
.v4-trend .v4-recent { opacity: 0.45; }
.v4-trend .v4-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; padding: 0; margin: 0.5rem 0; font-size: 0.85rem; }
.v4-trend .v4-legend li { display: inline-flex; align-items: center; gap: 0.35rem; }
.v4-trend .v4-swatch { display: inline-block; width: 0.8rem; height: 0.8rem; border-radius: var(--atlas-radius-control); }
.v4-trend .v4-swatch-recent { background: var(--theme-foreground-muted); opacity: 0.45; }
.v4-trend .v4-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
