/* Party identity only: financial status badges retain their existing styles. */
.party-type-badge{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:24px;padding:3px 7px;border:0;border-radius:6px;font-size:11px;font-weight:550;line-height:18px;white-space:nowrap;vertical-align:middle;flex-shrink:0}
.party-type-badge>.party-type-badge-icon{display:block;width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.65}
.party-type-badge--business{background:#eef5fc;color:#4f7ca6}
.party-type-badge--person{background:#edf7f3;color:#3b8b80}
.party-type-badge--freelancer{background:#f5f0fa;color:#8a6cb0}
.party-type-badge--unknown{background:#f1f3f6;color:#7b8797}
.party-compact-heading .party-type-badge{gap:4px;padding:3px 6px;font-size:10px}

.party-type-badge--neutral{background:#f1f3f6;color:#7b8797}
.party-type-colors-toggle{display:inline-flex;align-items:center;gap:8px;min-height:32px;padding:4px 2px;border:0;background:transparent;color:var(--muted,#717987);font:inherit;font-size:11px;white-space:nowrap;cursor:pointer}
.party-type-colors-toggle:focus-visible{outline:2px solid var(--accent,#d0121b);outline-offset:3px;border-radius:5px}
.party-type-color-track{display:block;width:28px;height:16px;padding:2px;border-radius:999px;background:#dce2eb;flex:none}
.party-type-color-track>i{display:block;width:12px;height:12px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #24324718}
.party-type-colors-toggle[aria-checked=true] .party-type-color-track{background:var(--accent,#d0121b)}
.party-type-colors-toggle[aria-checked=true] .party-type-color-track>i{transform:translateX(12px)}
