.doc a.term {
    color: inherit;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.doc a.term:hover {
    text-decoration-style: solid;
    text-decoration-color: currentColor;
}

.doc a.term:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}