/**
 * @file
 * Skip link
 *
 * Allows keyboard users to quickly skip to the main content of the page.
 */

/* Intentionally flip the background and foreground colors to provide visual
   differentiation while maintaining contrast. */
.skip-link {
  z-index: 503;
  top: 0;
  inset-inline-start: 0;
  padding: 1px 10px 2px;
  color: var(--admin-color-bg-raised);
  border-end-end-radius: 10px;
  background: var(--admin-color-text-loud);
  box-shadow: var(--admin-shadow-color-1);
  font-size: 0.94em;

  &.visually-hidden.focusable:focus {
    position: absolute !important;
  }
}
