/* UK take-home pay - donut of where gross pay goes, beside its legend. */
.ukp-fig { display: flex; align-items: center; gap: 14px; margin: 12px 0 0; }
.ukp-donut { width: 110px; height: 110px; flex: 0 0 auto; }
.ukp-ring { stroke: var(--e-surface-2); }
.ukp-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .84em; color: var(--e-ink-2); }
.ukp-legend li { display: flex; align-items: center; gap: 7px; }
.ukp-sw { display: inline-block; width: 11px; height: 11px; border-radius: 3px; flex: 0 0 auto; }
.ukp-s0 { stroke: var(--e-accent); background: var(--e-accent); }
.ukp-s1 { stroke: var(--e-coral); background: var(--e-coral); }
.ukp-s2 { stroke: #22b06b; background: #22b06b; }
.ukp-s3 { stroke: #7b5bf0; background: #7b5bf0; }
.ukp-s4 { stroke: #f0a92c; background: #f0a92c; }
.ukp-legend .ukp-s0, .ukp-legend .ukp-s1, .ukp-legend .ukp-s2, .ukp-legend .ukp-s3, .ukp-legend .ukp-s4 { stroke: none; }
@media (max-width: 340px) {
    .ukp-fig { flex-direction: column; align-items: flex-start; }
}
