/* Preserve the sections' authored colors, type, fills and borders.
   Only the accepted optical interaction is shared with the menu. */
html body :is(a[href], button, [role="button"], summary, input[type="button"], input[type="submit"], input[type="reset"]):not(.header-skip-link):not(:disabled):not([aria-disabled="true"]) {
  scale: 1;
  transform-origin: 50% 50%;
  -webkit-text-stroke-width: 0;
  -webkit-text-stroke-color: currentColor;
  transition: scale 320ms cubic-bezier(.22,.61,.36,1),
              -webkit-text-stroke-width 320ms cubic-bezier(.22,.61,.36,1) !important;
}
#header :is(.header-nav-item, .header-menu-nav-item) > a { transform: none !important; }
#header :is(.header-nav-item, .header-menu-nav-item) > a {
  transition: scale 320ms cubic-bezier(.22,.61,.36,1),
              -webkit-text-stroke-width 320ms cubic-bezier(.22,.61,.36,1) !important;
}
html body a.code-chapter-link {
  display: block;
  max-width: 100%;
  font: inherit !important;
  color: inherit !important;
  text-decoration: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}
@media (hover: hover) {
  html body :is(a[href], button, [role="button"], summary, input[type="button"], input[type="submit"], input[type="reset"]):not(.header-skip-link):not(:disabled):not([aria-disabled="true"]):hover {
    scale: 1.045;
    -webkit-text-stroke-width: .012em;
  }
}
html body :is(a[href], button, [role="button"], summary, input[type="button"], input[type="submit"], input[type="reset"]):not(.header-skip-link):not(:disabled):not([aria-disabled="true"]):is(:focus-visible, :active) {
  scale: 1.045;
  -webkit-text-stroke-width: .012em;
}
html body :is(a[href], button, [role="button"], summary, input[type="button"], input[type="submit"], input[type="reset"]):not(.header-skip-link):not(:disabled):not([aria-disabled="true"]):focus-visible {
  outline: 1px solid currentColor !important;
  outline-offset: 4px !important;
}
@media (prefers-reduced-motion: reduce) {
  html body :is(a[href], button, [role="button"], summary, input[type="button"], input[type="submit"], input[type="reset"]):not(.header-skip-link):not(:disabled):not([aria-disabled="true"]) {
    transition: none !important;
    scale: 1 !important;
  }
}
