/* ============================================================================
   notes.css — reader layout for the generated /notes/ pages
   (scripts/build-notes.mjs). Layered on top of design-system.css and uses its
   tokens only, so both themes come for free.

   Layout
     < 1024px  single column; sidebar is an off-canvas drawer, the TOC is a
               collapsible block at the top of the article.
     ≥ 1024px  sidebar | article
     ≥ 1280px  sidebar | article | sticky TOC
   ========================================================================== */

.nt-body {
  --nt-nav-h: 56px;
  --nt-side-w: 280px;
  --nt-toc-w: 220px;
  --nt-measure: 42rem; /* ~70 characters per line at body size */
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  /* The design system's --text-muted is ~3.8:1 against --bg in both themes,
     below WCAG AA for the small meta text a reader actually reads here.
     Derived from the live theme colours, so it follows the toggle: ~5.5:1
     dark, ~5:1 light. */
  --text-muted: color-mix(in srgb, var(--text-secondary) 88%, var(--bg));
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html:has(.nt-body) { scroll-padding-top: calc(56px + 16px); }

/* Film grain overlays the text; on long-form reading pages it only costs
   crispness, so it is off here. */
.nt-body::before { display: none; }

/* Page-to-page navigation between notes happens constantly, so the site-wide
   520ms crossfade is cut to a short ease-out fade (STANDARDS: frequent
   actions get little or no motion, never ease-in). */
:root:has(.nt-body)::view-transition-old(root) { animation: vt-out 120ms var(--ease-out) both; }
:root:has(.nt-body)::view-transition-new(root) { animation: vt-in 160ms var(--ease-out) both; }

/* Reading pages always need a legible bar: content scrolls beneath it. */
.nt-body nav.ds-nav {
  background: var(--nav-bg);
  border-bottom-color: var(--border);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  justify-content: flex-start;
  gap: var(--sp-5);
}
.nt-body .ds-nav-right { margin-left: auto; }
.nt-body .ds-nav-back:hover { transform: none; }
.nt-menu-btn { margin-left: calc(var(--sp-2) * -1); }

/* ── shell ──────────────────────────────────────────────────────────────── */
.nt-shell {
  padding-top: var(--nt-nav-h);
  min-height: 100vh;
}
.nt-main {
  min-width: 0;
  padding: var(--sp-10) var(--sp-4) var(--sp-24);
}

/* ── sidebar ────────────────────────────────────────────────────────────── */
.nt-sidebar {
  position: fixed;
  z-index: 120;
  top: var(--nt-nav-h);
  bottom: 0;
  left: 0;
  width: min(86vw, var(--nt-side-w));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--sp-4) var(--sp-3) var(--sp-16);
  background: var(--bg);
  border-right: 1px solid var(--border);
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 260ms var(--ease-drawer), visibility 0s linear 260ms;
}
.nt-body.nt-drawer-open .nt-sidebar {
  transform: none;
  visibility: visible;
  transition: transform 260ms var(--ease-drawer), visibility 0s;
}
.nt-scrim {
  position: fixed;
  inset: var(--nt-nav-h) 0 0 0;
  z-index: 110;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 200ms var(--ease-out);
}
.nt-body.nt-drawer-open .nt-scrim { opacity: 1; }
/* Opened from the "/" shortcut: keyboard actions are never animated. */
.nt-body.nt-instant .nt-sidebar,
.nt-body.nt-instant .nt-scrim { transition: none; }
.nt-body.nt-drawer-open { overflow: hidden; }

.nt-search {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: var(--sp-4);
}
.nt-search svg {
  position: absolute;
  left: var(--sp-3);
  width: 16px; height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}
.nt-search input {
  width: 100%;
  height: 40px;
  padding: 0 var(--sp-10) 0 var(--sp-10);
  font: inherit;
  font-size: 16px; /* ≥16px stops iOS zooming the page on focus */
  color: var(--text-primary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--dur-hover) var(--ease-hover);
}
.nt-search input::placeholder { color: var(--text-muted); }
.nt-search input:focus { border-color: var(--border-strong); }
.nt-search input::-webkit-search-cancel-button { display: none; }
.nt-search .nt-kbd { position: absolute; right: var(--sp-3); }

.nt-kbd {
  display: inline-block;
  min-width: 1.4em;
  padding: 0 0.35em;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  line-height: 1.6;
  text-align: center;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.nt-group + .nt-group { margin-top: var(--sp-2); }
.nt-group summary {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  list-style: none;
  color: var(--text-primary);
  font-size: var(--fs-sm);
  font-weight: 500;
}
.nt-group summary::-webkit-details-marker { display: none; }
.nt-group summary::after {
  content: '';
  margin-left: auto;
  width: 6px; height: 6px;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  transform: translateY(-2px) rotate(-45deg);
  transition: transform var(--dur-hover) var(--ease-out);
  flex-shrink: 0;
  align-self: center;
}
.nt-group[open] summary::after { transform: translateY(-3px) rotate(45deg); }
.nt-group summary:hover { background: var(--spot); }
.nt-group-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.nt-code {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
  white-space: nowrap;
}

.nt-group ul,
.nt-results ul { list-style: none; margin: var(--sp-1) 0 var(--sp-2); padding: 0; }
.nt-group li a,
.nt-results a {
  display: block;
  padding: 7px var(--sp-2) 7px var(--sp-4);
  margin-left: var(--sp-2);
  font-size: var(--fs-sm);
  line-height: 1.4;
  color: var(--text-secondary);
  border-left: 1px solid var(--border);
  transition: color var(--dur-hover) var(--ease-hover), border-color var(--dur-hover) var(--ease-hover);
}
.nt-group li a:hover,
.nt-results a:hover { color: var(--text-primary); border-left-color: var(--border-strong); }
.nt-group li a[aria-current="page"] {
  color: var(--text-primary);
  border-left: 2px solid var(--accent);
  padding-left: calc(var(--sp-4) - 1px);
  font-weight: 500;
}

.nt-results a { margin-left: 0; border-left: 0; padding: var(--sp-2); border-radius: var(--radius-sm); }
.nt-results a:hover,
.nt-results a.is-active { background: var(--spot); }
.nt-results .nt-r-title { display: block; color: var(--text-primary); font-weight: 500; }
.nt-results .nt-r-meta { display: block; font-size: var(--fs-xs); color: var(--text-muted); margin-top: 2px; }
.nt-results mark { background: none; color: var(--accent); font-weight: 600; }
.nt-results .nt-empty { padding: var(--sp-2); font-size: var(--fs-sm); color: var(--text-muted); }

/* ── article ────────────────────────────────────────────────────────────── */
.nt-article,
.nt-home { max-width: var(--nt-measure); margin: 0 auto; }

.nt-header { margin-bottom: var(--sp-8); }
.nt-crumbs {
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
  margin: 0 0 var(--sp-3);
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.nt-crumbs a { color: var(--text-muted); transition: color var(--dur-hover) var(--ease-hover); }
.nt-crumbs a:hover { color: var(--text-primary); }
.nt-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.nt-title em { color: var(--accent); }
.nt-meta { margin: var(--sp-3) 0 0; font-size: var(--fs-sm); color: var(--text-muted); }
.nt-meta a { color: var(--text-secondary); text-decoration: underline; text-underline-offset: 3px; }

/* Mobile TOC */
.nt-toc-mobile {
  margin: 0 0 var(--sp-8);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.nt-toc-mobile > summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-sm); font-weight: 500;
  cursor: pointer; list-style: none;
}
.nt-toc-mobile > summary::-webkit-details-marker { display: none; }
.nt-toc-mobile > summary span { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-muted); }
.nt-toc-mobile .nt-toc-inner { padding: 0 var(--sp-4) var(--sp-3); max-height: 50vh; overflow-y: auto; }
.nt-toc-mobile .nt-toc-label { display: none; }

.nt-toc-label {
  margin: 0 0 var(--sp-3);
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.nt-toc ol,
.nt-toc-inner ol { list-style: none; margin: 0; padding: 0; }
.nt-toc a,
.nt-toc-inner a {
  display: block;
  padding: 5px 0;
  font-size: var(--fs-sm);
  line-height: 1.4;
  color: var(--text-secondary);
  transition: color var(--dur-hover) var(--ease-hover);
}
.nt-toc li.d3 a,
.nt-toc-inner li.d3 a { padding-left: var(--sp-4); font-size: var(--fs-xs); }
.nt-toc a:hover,
.nt-toc-inner a:hover,
.nt-toc a.is-active { color: var(--text-primary); }
.nt-toc { display: none; }

/* ── prose ──────────────────────────────────────────────────────────────── */
.nt-prose {
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--text-primary);
  overflow-wrap: break-word;
}
.nt-prose > :first-child { margin-top: 0; }
.nt-prose p,
.nt-prose ul,
.nt-prose ol,
.nt-prose blockquote,
.nt-prose pre,
.nt-prose .nt-table-wrap,
.nt-prose .nt-figure { margin: 0 0 var(--sp-5); }

.nt-prose h2,
.nt-prose h3,
.nt-prose h4,
.nt-prose h5,
.nt-prose h6 {
  position: relative;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.nt-prose h2 {
  margin: var(--sp-14) 0 var(--sp-4);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.nt-prose h3 { margin: var(--sp-10) 0 var(--sp-3); font-size: 1.25rem; font-weight: 600; }
.nt-prose h4 { margin: var(--sp-8) 0 var(--sp-2); font-size: 1.0625rem; font-weight: 600; }
.nt-prose h5,
.nt-prose h6 { margin: var(--sp-6) 0 var(--sp-2); font-size: var(--fs-base); font-weight: 600; color: var(--text-secondary); }

.nt-anchor {
  position: absolute;
  left: -1.1em;
  padding-right: 0.3em;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-weight: 400;
  opacity: 0;
  transition: opacity var(--dur-hover) var(--ease-hover);
}
.nt-prose h2 .nt-anchor { top: var(--sp-6); }
.nt-prose :is(h2, h3, h4):hover .nt-anchor,
.nt-anchor:focus-visible { opacity: 1; }

.nt-prose a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.nt-prose a:hover { color: var(--accent-hover); }
.nt-prose :is(h2, h3, h4, h5, h6) a.nt-anchor { text-decoration: none; }
.nt-prose strong { font-weight: 600; }
.nt-prose mark {
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  color: inherit;
  padding: 0 0.15em;
  border-radius: 3px;
}

.nt-prose ul,
.nt-prose ol { padding-left: 1.4em; }
.nt-prose li { margin: 0.3em 0; }
.nt-prose li::marker { color: var(--text-muted); }
.nt-prose li > ul,
.nt-prose li > ol { margin: 0.3em 0 0; }
.nt-prose input[type="checkbox"] { margin-right: 0.4em; accent-color: var(--accent); }

.nt-prose hr { border: 0; border-top: 1px solid var(--border); margin: var(--sp-10) 0; }
/* A lone "---" right under a heading only duplicates the h2 rule. */
.nt-prose h2 + hr,
.nt-prose hr:has(+ h2),
.nt-prose > hr:first-child { display: none; }

.nt-prose blockquote {
  padding: var(--sp-3) var(--sp-4);
  border-left: 2px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-secondary);
}
.nt-prose blockquote > :last-child { margin-bottom: 0; }

/* code */
.nt-prose code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  padding: 0.12em 0.36em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow-wrap: anywhere;
}
.nt-prose a.nt-notelink { text-decoration: none; }
.nt-prose a.nt-notelink code { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.nt-prose pre {
  position: relative;
  padding: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-size: 0.86rem;
  line-height: 1.6;
  -webkit-overflow-scrolling: touch;
}
.nt-prose pre code { padding: 0; background: none; border: 0; font-size: inherit; overflow-wrap: normal; white-space: pre; }

.nt-copy {
  position: absolute;
  top: var(--sp-2);
  right: var(--sp-2);
  padding: 2px var(--sp-2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--dur-hover) var(--ease-hover), color var(--dur-hover) var(--ease-hover);
}
.nt-prose pre:hover .nt-copy,
.nt-copy:focus-visible,
.nt-copy.is-done { opacity: 1; }
.nt-copy:hover { color: var(--text-primary); }
.nt-copy { transition: opacity var(--dur-hover) var(--ease-hover), color var(--dur-hover) var(--ease-hover), transform 160ms var(--ease-out); }
.nt-copy:active { transform: scale(0.97); }
@media (hover: none) { .nt-copy { opacity: 1; } }

/* highlight.js, mapped onto the palette */
.hljs-comment, .hljs-quote { color: var(--text-muted); font-style: italic; }
.hljs-keyword, .hljs-selector-tag, .hljs-built_in, .hljs-type { color: var(--accent); }
.hljs-string, .hljs-attr, .hljs-symbol, .hljs-bullet, .hljs-addition { color: #8fb88a; }
.hljs-number, .hljs-literal, .hljs-variable, .hljs-template-variable { color: #c99a6b; }
.hljs-title, .hljs-section, .hljs-name, .hljs-function .hljs-title { color: #8fa9c9; }
.hljs-meta, .hljs-deletion { color: #c98a8a; }
:root[data-theme="light"] .hljs-string, :root[data-theme="light"] .hljs-attr { color: #3f6b39; }
:root[data-theme="light"] .hljs-number, :root[data-theme="light"] .hljs-literal { color: #8a5a22; }
:root[data-theme="light"] .hljs-title, :root[data-theme="light"] .hljs-section { color: #2f5680; }
:root[data-theme="light"] .hljs-meta { color: #8c3b3b; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .hljs-string, :root:not([data-theme="dark"]) .hljs-attr { color: #3f6b39; }
  :root:not([data-theme="dark"]) .hljs-number, :root:not([data-theme="dark"]) .hljs-literal { color: #8a5a22; }
  :root:not([data-theme="dark"]) .hljs-title, :root:not([data-theme="dark"]) .hljs-section { color: #2f5680; }
  :root:not([data-theme="dark"]) .hljs-meta { color: #8c3b3b; }
}

/* tables scroll sideways inside their own box on phones */
.nt-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  -webkit-overflow-scrolling: touch;
}
.nt-table-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nt-prose table { width: 100%; border-collapse: collapse; font-size: 0.92rem; line-height: 1.5; }
.nt-prose th,
.nt-prose td {
  padding: var(--sp-2) var(--sp-3);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  min-width: 8rem;
}
.nt-prose th { background: var(--surface); font-weight: 600; white-space: nowrap; }
.nt-prose tr:last-child td { border-bottom: 0; }
.nt-prose td code { overflow-wrap: normal; }

/* screenshots */
.nt-figure { margin-left: 0; margin-right: 0; }
.nt-figure a { display: block; text-decoration: none; }
.nt-figure img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff; /* most screenshots are slides on white; avoids a dark flash while decoding */
  cursor: zoom-in;
}
/* White slides glare against the dark theme at night; take the edge off. */
:root[data-theme="dark"] .nt-figure img { filter: brightness(0.88); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nt-figure img { filter: brightness(0.88); }
}
.nt-figure figcaption {
  margin-top: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-align: center;
}
.nt-missing {
  display: block;
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
}

/* prev / next */
.nt-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
  margin-top: var(--sp-16);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
}
.nt-pager a {
  display: block;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-primary);
  transition: border-color var(--dur-hover) var(--ease-hover), background var(--dur-hover) var(--ease-hover);
}
.nt-pager a:hover { border-color: var(--border-strong); background: var(--spot); }
.nt-pager a span {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.nt-next { text-align: right; grid-column: 2; }

/* ── home ───────────────────────────────────────────────────────────────── */
.nt-course { margin-top: var(--sp-12); scroll-margin-top: calc(var(--nt-nav-h) + var(--sp-4)); }
.nt-course > header {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: var(--sp-1) var(--sp-3);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--border);
}
.nt-course h2 { margin: 0; font-family: var(--font-serif); font-weight: 400; font-size: 1.5rem; line-height: 1.2; }
.nt-count { margin-left: auto; font-size: var(--fs-xs); color: var(--text-muted); }
.nt-list { list-style: none; margin: 0; padding: 0; }
.nt-list a {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-3) var(--sp-2);
  margin: 0 calc(var(--sp-2) * -1);
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  transition: background var(--dur-hover) var(--ease-hover);
}
.nt-list a:hover { background: var(--spot); }
.nt-list-title { font-weight: 500; }
.nt-list-meta { font-size: var(--fs-xs); color: var(--text-muted); white-space: nowrap; }

/* ── breakpoints ────────────────────────────────────────────────────────── */
@media (min-width: 640px) {
  .nt-main { padding-left: var(--sp-8); padding-right: var(--sp-8); }
}

@media (min-width: 1024px) {
  .nt-menu-btn { display: none; }
  .nt-scrim { display: none; }
  .nt-body.nt-drawer-open { overflow: auto; }
  .nt-shell {
    display: grid;
    grid-template-columns: var(--nt-side-w) minmax(0, 1fr);
  }
  .nt-sidebar {
    position: sticky;
    top: var(--nt-nav-h);
    height: calc(100vh - var(--nt-nav-h));
    width: auto;
    transform: none;
    visibility: visible;
    transition: none;
    background: transparent;
  }
  .nt-main { padding: var(--sp-16) var(--sp-12) var(--sp-24); }
}

@media (min-width: 1280px) {
  .nt-main {
    display: grid;
    grid-template-columns: minmax(0, var(--nt-measure)) var(--nt-toc-w);
    justify-content: center;
    align-items: start;
    gap: var(--sp-16);
  }
  .nt-article { margin: 0; }
  .nt-is-home .nt-main { display: block; }
  .nt-toc {
    display: block;
    position: sticky;
    top: calc(var(--nt-nav-h) + var(--sp-10));
    max-height: calc(100vh - var(--nt-nav-h) - var(--sp-16));
    overflow-y: auto;
    padding-left: var(--sp-4);
    border-left: 1px solid var(--border);
  }
  .nt-toc-mobile { display: none; }
}

@media (max-width: 520px) {
  .nt-body nav.ds-nav { gap: var(--sp-3); padding: 0 var(--sp-4); }
  .nt-prose { font-size: 1rem; }
  .nt-prose h2 { font-size: 1.3rem; margin-top: var(--sp-12); }
  .nt-anchor { display: none; }
  .nt-list a { flex-direction: column; gap: 2px; }
  .nt-pager { grid-template-columns: 1fr; }
  .nt-next { grid-column: 1; }
}

/* Touch: every link in the drawer and TOC gets a ≥44px target. */
@media (pointer: coarse) {
  .nt-group summary { min-height: 44px; align-items: center; }
  .nt-group li a,
  .nt-results a { padding-top: 12px; padding-bottom: 12px; }
  .nt-toc-inner a { padding: 10px 0; }
  .nt-toc-mobile > summary { min-height: 48px; }
  .nt-crumbs a { padding: 8px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .nt-sidebar,
  .nt-body.nt-drawer-open .nt-sidebar,
  .nt-scrim { transition: none; }
  :root:has(.nt-body)::view-transition-old(root),
  :root:has(.nt-body)::view-transition-new(root) { animation: none; }
}

@media print {
  .nt-nav, .nt-sidebar, .nt-scrim, .nt-toc, .nt-toc-mobile, .nt-pager, .nt-copy, .skip-link { display: none !important; }
  .nt-shell { display: block; padding: 0; }
  .nt-main { padding: 0; display: block; }
  .nt-prose pre, .nt-figure, .nt-table-wrap { break-inside: avoid; }
  body::before { display: none; }
}
