nav.rcr-lab-return {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1.25rem;
  padding: .35rem clamp(.875rem, 4vw, 2.25rem);
  border-bottom: 1px solid #3b3b40;
  background: #111113;
  color: #f5f4ee;
  font: .8125rem/1.45 ui-monospace, Consolas, monospace;
  text-align: left;
}

nav.rcr-lab-return a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .24em;
}

nav.rcr-lab-return a:focus-visible {
  outline: 2px solid #f5f4ee;
  outline-offset: 3px;
}

html[data-rcr-embedded] body {
  min-height: 0;
}

html[data-rcr-embedded] nav.rcr-lab-return {
  display: none;
}

html[data-rcr-embedded] dialog:modal {
  position: fixed;
  box-sizing: border-box;
  inset-block: var(--rcr-dialog-top, 0px) var(--rcr-dialog-bottom, 0px);
  margin-block: auto;
  max-block-size: max(1px, calc(100dvh - var(--rcr-dialog-top, 0px) - var(--rcr-dialog-bottom, 0px) - 2rem));
  overflow: auto;
  overscroll-behavior: contain;
}
