.ring-legend { display: flex; flex-wrap: wrap; gap: 7px; margin-block: 8px; }

.ring-legend-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 3px 6px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: #595a56;
    font: inherit;
    font-size: .8125rem;
    font-weight: 650;
}

.ring-legend-item:hover, .ring-legend-item.is-highlighted {
    background: #f1f2ee;
    box-shadow: 0 0 0 1px #d7d8d2;
    color: #202124;
}

.ring-legend-item.is-muted { opacity: .34; }
.ring-shape { width: 14px; height: 14px; flex: 0 0 14px; }
.ring-shape polygon { fill: var(--ring-color); stroke: rgba(25, 25, 23, .35); stroke-width: .65; }
.ring-legend em { margin-left: -3px; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.ring-legend-hint { color: #62645e; font-size: .8125rem; }
