/* DNA layer, javadoc layout "sticky" (JDK 25): the header is sticky at the top of the window and the colors are CSS
   variables in resource-files/stylesheet.css. The bar sits above the header in the normal flow and scrolls away, so
   the header, the table of contents and the anchor offsets (--nav-height) keep their own values. */
.dna-bar { position: relative; z-index: 10; }
:root {
  --body-font-family: var(--dna-font);
  --block-font-family: var(--dna-font);
  --body-text-color: var(--dna-text);
  --block-text-color: var(--dna-text);
  --navbar-background-color: var(--dna-nav);
  --navbar-text-color: #FFFFFF;
  --subnav-background-color: var(--dna-soft);
  --subnav-link-color: var(--dna-text);
  --selected-background-color: var(--dna-accent);
  --selected-text-color: #FFFFFF;
  --selected-link-color: #FFFFFF;
  --table-header-color: var(--dna-soft);
  --odd-row-color: var(--dna-softer);
  --title-color: var(--dna-text-strong);
  --link-color: var(--dna-accent-dark);
  --link-color-active: var(--dna-text-strong);
  --toc-hover-color: var(--dna-border);
  --border-color: var(--dna-border);
}
.top-nav .nav-list a:hover { color: #FFFFFF; text-decoration: underline; }
div.table-tabs > button.table-tab { background: var(--dna-tab); }
/* A selected search result keeps its link color: a pale accent instead of the full accent. */
#result-container div.result-table > a.search-result-link:focus-visible,
#result-container div.result-table > a.search-result-link.selected { background-color: var(--dna-accent-soft); }
