/* Contain independently styled Page bodies. The neutral baseline and utility library own appearance. */
:is(#view, #side) .rotor-document {
  min-width: 0;
  max-width: 100%;
  overflow: auto;
  contain: content;
}
:is(#view, #side) .rotor-document .page-content .dead {
  /* Renderer-owned unavailable links keep their semantic marker after shell styles are reset. */
  text-decoration: line-through dotted;
}
:is(#view, #side) .rotor-document .page-content :where(a):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
:is(#view, #side) .document-error {
  border-left: 3px solid var(--bad);
  padding-left: 12px;
  color: var(--bad);
}
:is(#view, #side) .document-error pre {
  color: var(--fg);
  max-width: 100%;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
