/* Nowa.Moda 0.5.13 — samodzielny szablon dokumentow.
 * Nie dziedziczy globalnego body{overflow-x:hidden} rodzica ani
 * poprzednich poprawek overflow-x:clip (iOS scroll viewport).
 * Jedynym obszarem przewijania jest dokument przegladarki.
 */
html.nmcc-documentRoot {
  width: auto;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  scroll-behavior: auto;
  background: #fbfbfc;
  -webkit-text-size-adjust: 100%;
}
body.nmcc-documentBody {
  width: auto;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  color: #111014;
  background:
    radial-gradient(circle at 8% -5%, rgba(255,79,154,.07), transparent 30rem),
    radial-gradient(circle at 92% -3%, rgba(118,87,255,.065), transparent 34rem),
    #fbfbfc;
  background-repeat: no-repeat;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.nmcc-documentBody,
.nmcc-documentBody *,
.nmcc-documentBody *::before,
.nmcc-documentBody *::after { box-sizing: border-box; }
.nmcc-documentBody img,
.nmcc-documentBody iframe,
.nmcc-documentBody video { max-width: 100%; height: auto; }
.nmcc-documentBody .nmcc-documentMain {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}
/* Na dokumentach nie ma stalego naglowka; nie kompensujemy jego wysokosci. */
.nmcc-documentBody .nmcc-documentMain :is(.nmn-section, .nml-card, .nmp-card) {
  scroll-margin-top: 16px;
}
@media (max-width: 920px) {
  .nmcc-documentBody .nmcc-documentMain :is(.nmn-toc, .nml-sidebar, .nmp-nav) {
    position: static;
    max-height: none;
  }
}
