a.reference.internal > code.xref {
    color: var(--color-link);
}

span.sig-return-typehint span {
    font-style: italic;
}

dl.py.property {
    display: block !important;
}

span.badge {
    padding-block: .1em;
    padding-inline: .4em;
    border-radius: .25em;
    font-size: smaller;
    font-weight: bold;
    color: white;
}

span.badge.badge-head {
    margin-inline-end: 8px;
}

span.badge.badge-tail {
    margin-inline-start: 16px;
}

span.badge.badge-dataclass {
    background: #27ae60;
}

span.badge.badge-optional {
    background: #f0b37e;
}

span.badge.badge-assignment {
    background: #b94a48;
}

span.badge.badge-read-only {
    background: #ccc;
}

span.badge.badge-read-write {
    background: #6ab0de;
}
