@layer stage {
  .chart { display: grid; gap: 0.35rem; }
  .chart-canvas { max-block-size: 60dvh; }
  .chart-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.2rem 1.25rem; justify-content: center; font-size: 0.875rem; color: var(--ink-2); }
  .chart-legend li { display: inline-flex; align-items: center; gap: 0.45rem; }
  .chart-key { inline-size: 1.6rem; block-size: 0; border-block-start: 0.2rem solid var(--c); }
  .chart-key.is-dashed { border-block-start-style: dashed; }
  .chart-grid { stroke: var(--rule); stroke-width: 1; }
  .chart-axis { stroke: var(--ink-3); stroke-width: 1.5; }
  .canvas .chart-tick { font-family: var(--font-num); font-size: 14px; fill: var(--ink-2); }
  .canvas .chart-label { font-size: 14px; fill: var(--ink-2); }
  .canvas .chart-title { font-family: var(--font-title); font-weight: 900; font-size: 17px; }
  .chart-line { fill: none; stroke-linecap: round; stroke-linejoin: round; }
  .chart-dot { stroke-width: 2; }
  .chart-dot.is-hollow { stroke-width: 2.5; }
  .chart-band { opacity: 0.16; }
  .chart-ref { stroke: var(--ink-2); stroke-width: 1.5; stroke-dasharray: 6 5; }
  .canvas .chart-note { font-size: 14px; fill: var(--ink-2); paint-order: stroke; stroke: var(--sheet); stroke-width: 4px; stroke-linejoin: round; }
  .canvas .chart-note.is-strong { fill: var(--ink); font-weight: 700; }
}
