.apc-chart {
box-sizing: border-box;
margin: 32px auto;
max-width: 760px;
width: 100%;
}
.apc-chart *,
.apc-chart *::before,
.apc-chart *::after {
box-sizing: inherit;
}
.apc-chart__title {
color: #1f2933;
font-size: clamp(1.25rem, 2vw, 1.75rem);
font-weight: 700;
line-height: 1.2;
margin-bottom: 16px;
text-align: center;
}
.apc-chart__visual {
margin: 0 auto;
max-width: 640px;
}
.apc-chart__canvas {
display: block;
height: auto;
width: 100%;
}
.apc-chart__legend {
display: flex;
flex-wrap: wrap;
gap: 10px 18px;
justify-content: center;
list-style: none;
margin: 18px 0 0;
padding: 0;
}
.apc-chart__legend li {
align-items: center;
color: #2f3742;
display: inline-flex;
font-size: 0.95rem;
gap: 8px;
line-height: 1.4;
}
.apc-chart__swatch {
background: var(--apc-color);
border-radius: 999px;
display: inline-block;
height: 12px;
width: 12px;
}