/*
 * Every link in the panel shows a hand and has its text underlined while the
 * pointer is on it or the keyboard has focused it — a name, a word, a figure in
 * a table, a list, a form, a card or a heading, and equally the links of the
 * sidebar, its flyout, the quick menu, the top bar, open dropdown menus, tabs
 * and links drawn as buttons. Loaded on every page, after every other
 * stylesheet, so a management added later gets it without asking.
 *
 * تسک ۱۴۰۵/۰۸/۰۹ — هیئت‌ها و فدراسیون‌ها، بند ۴ made the rule; تسک
 * ۱۴۰۵/۰۸/۱۰ — موارد باقی‌ماندهٔ هیئت‌ها و فدراسیون‌ها، بند ۳ removed its
 * exceptions: what decides is being a link (`a[href]`, `[role="link"]`), not
 * where it is drawn or what it looks like. A `<button>` — save, delete, open a
 * section, a collapsible menu group — is not a link and is never touched.
 *
 * The underline is a text decoration only: no border, padding or weight
 * changes, so nothing moves and no row grows; colours and targets are the
 * links' own. It is set on the link's descendants as well because a decoration
 * does not reach into a badge, a label span or a logo-and-name pair
 * (inline-flex boxes); pictures and icons are never decorated.
 */
.fi-body a[href],
.fi-body a[href] *,
.fi-body [role="link"],
.fi-body [role="link"] * {
    cursor: pointer;
}

.fi-body a[href]:is(:hover, :focus-visible),
.fi-body a[href]:is(:hover, :focus-visible) :not(svg, svg *, img, .fi-icon),
.fi-body [role="link"]:is(:hover, :focus-visible),
.fi-body [role="link"]:is(:hover, :focus-visible) :not(svg, svg *, img, .fi-icon) {
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
