/* Candidate only. Append after appearance CSS on film/material templates. */
/* Plain titles, source rows and structural navigation: no resting underline. */
:root :is(main.wrap, main.reader, nav.archive-context) :is(.film-category > ul > li > a, #archive-materials > ul > li > a, .film-jumps a, .topic-languages :is(a,.topic-current), .reader-toc a, .source-links a, .archive-functions a, a.back-link, .record-jump a, .activity-record a, .screening-materials figcaption a, .fmc-podcast-actions :is(a,button), .fmc-video-fallback, .fmc-video-title),
:root nav.archive-context > a {
  color: var(--fm-ink) !important;
  text-decoration-line: none;
}
:root main :is(.fmc-podcast-actions a,.fmc-podcast-actions button,.topic-languages a,.topic-languages .topic-current,.source-links a,.archive-functions a) {border-color:var(--fm-line) !important;}
:root main .topic-languages .topic-current {font-weight:700;}
/* Only mark links embedded in actual surrounding prose (see probe and report).
   :only-child is insufficient: it ignores sibling text nodes. */
:root main .activity-record a.fmc-inline-reference {text-decoration:underline!important;text-decoration-thickness:.07em;text-underline-offset:.18em}
:root :is(main.wrap,main.reader,nav.archive-context) :is(.film-category > ul > li > a,#archive-materials > ul > li > a,.film-jumps a,.topic-languages a,.reader-toc a,.source-links a,.archive-functions a,a.back-link,.record-jump a,.activity-record a,.screening-materials figcaption a,.fmc-podcast-actions :is(a,button),.fmc-video-fallback,.fmc-video-title):hover,
:root nav.archive-context > a:hover {text-decoration:underline; text-underline-offset:.16em;}
:root :is(main.wrap,main.reader,nav.archive-context) :is(a,button,summary):focus-visible {outline:2px solid currentColor !important;outline-offset:3px;}
:root body > .fmc-podcast-reopen, :root .fmc-podcast-dock button {color:var(--fm-ink) !important;border-color:var(--fm-line) !important;}
:root body > .fmc-podcast-reopen:focus-visible, :root .fmc-podcast-dock button:focus-visible {outline:2px solid currentColor !important;outline-offset:3px;}
/* Leave the actual player overlay alone: it sits on a dark/video surface, not paper. */

.archive-detail .source-links a,.film-category > ul > li > a,.reader article p a,.archive-detail .reader-body p a {color:var(--fm-ink) !important} .reader article p a,.archive-detail .reader-body p a {text-decoration:underline; text-decoration-thickness:.07em;text-underline-offset:.18em} .archive-detail .source-links a:hover,.film-category > ul > li > a:hover {text-decoration:underline}
@media(min-width:720px){main.wrap > section:first-of-type::before, main.reader > article::before{border-top-color:var(--fm-line)}}
