/* Document-only baseline, adapted from Tailwind CSS v4.3.3 Preflight (MIT, Tailwind Labs).
   The upstream license notice is retained in document-utilities.css.
   Only the approved HTML vocabulary is needed. Match the utility rules' specificity and load first:
   revert removes shell declarations, then Preflight establishes the document's neutral defaults. */
:is(#view, #side) .rotor-document .page-content,
:is(#view, #side) .rotor-document .page-content :where(*),
:is(#view, #side) .rotor-document .page-content :where(*)::before,
:is(#view, #side) .rotor-document .page-content :where(*)::after,
:is(#view, #side) .rotor-document .page-content :where(*)::marker {
  all: revert;
}
:is(#view, #side) .rotor-document .page-content {
  color-scheme: light;
  color: #000;
  background: #fff;
  font: 1rem/1.5 ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
    "Noto Color Emoji";
  font-feature-settings: normal;
  font-variation-settings: normal;
  font-variant-ligatures: normal;
  font-optical-sizing: auto;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
  letter-spacing: normal;
  text-align: start;
  tab-size: 4;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
:is(#view, #side) .rotor-document .page-content,
:is(#view, #side) .rotor-document .page-content :where(*),
:is(#view, #side) .rotor-document .page-content :where(*)::before,
:is(#view, #side) .rotor-document .page-content :where(*)::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}
:is(#view, #side) .rotor-document .page-content :where(h1, h2, h3, h4, h5, h6) {
  font-size: inherit;
  font-weight: inherit;
}
:is(#view, #side) .rotor-document .page-content :where(a) {
  color: inherit;
  text-decoration: inherit;
}
:is(#view, #side) .rotor-document .page-content :where(b, strong) { font-weight: bolder; }
:is(#view, #side) .rotor-document .page-content :where(code, pre) {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-feature-settings: normal;
  font-variation-settings: normal;
  font-size: 1em;
}
:is(#view, #side) .rotor-document .page-content :where(small) { font-size: 80%; }
:is(#view, #side) .rotor-document .page-content :where(sub, sup) {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
:is(#view, #side) .rotor-document .page-content :where(sub) { bottom: -0.25em; }
:is(#view, #side) .rotor-document .page-content :where(sup) { top: -0.5em; }
:is(#view, #side) .rotor-document .page-content :where(hr) {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}
:is(#view, #side) .rotor-document .page-content :where(table) {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}
:is(#view, #side) .rotor-document .page-content :where(ol, ul) { list-style: none; }
:is(#view, #side) .rotor-document .page-content :where(summary) { display: list-item; }
