.w-s .inline-chapter div{position:static;top:auto;left:auto;width:auto;height:auto;pointer-events:auto}
/* Native chapter content shares the photographic shell. */
.inline-chapter{display:flow-root;position:relative;width:100%;height:auto!important;overflow:visible!important;margin:0!important;background:var(--chapter-surface,#f4f5f7)!important;color:#1a1a1c;color-scheme:only light;pointer-events:auto;user-select:text;overscroll-behavior:auto!important}
.inline-chapter .page-header,.inline-chapter .next-stop,.inline-chapter .skip-to-content{display:none!important}
.inline-chapter{--chapter-space:96px}
/* Reserve the device below the cover without laying it out during image motion. */
.inline-chapter[data-inline-ready="pending"]{content-visibility:hidden;contain-intrinsic-size:auto 1100px}
.inline-chapter[data-inline-chapter]>main{padding-block:var(--chapter-space)!important;min-height:0!important}
.inline-chapter[data-inline-chapter]>main>:is(.rs,.hp,.atlas-page,.atlas-shell){padding-block:0!important;margin-block:0!important}

.inline-chapter .lb{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;border:0!important;box-sizing:border-box}
.inline-chapter .lb::backdrop{background:#0009;opacity:0;transition:opacity 520ms cubic-bezier(.22,1,.36,1)}
.inline-chapter .lb.is-open::backdrop{opacity:1}
@media(prefers-reduced-motion:reduce){.inline-chapter .lb::backdrop{transition:none}}
@media(max-width:700px){.inline-chapter{--chapter-space:calc(var(--site-nav-height,80px) + 16px)}}
@media print{#main,.page,.w-s{position:static!important;transform:none!important;height:auto!important;overflow:visible!important}}
@media print{#app{position:static!important;height:auto!important;overflow:visible!important}}
/* Sticky positioning is driven by the shell's virtual scroll on desktop. */

/* A solid reading header with breathing room; scrolling text cannot bleed into it. */
/* Native scrolling uses the same clearance as the desktop virtual scroll. */
/* Each installation keeps its own composition inside the shared page. */
.inline-chapter dialog.reader{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;box-sizing:border-box}
.inline-chapter dialog.reader{background:transparent!important}
.inline-chapter dialog.reader::backdrop{background:transparent}

/* Keep the reading header within the resume as it leaves and returns. */

/* Preserve the same grip over the field, cards and their descendants. */
.inline-chapter .reader[data-swiping="true"],
.inline-chapter .reader[data-swiping="true"] *{cursor:grabbing!important}

/* One shared paper layer, using the existing resume grain strength. */
.inline-chapter:not([data-atlas-motion]):not(:has([data-tongxi-native])){background:#f4f5f7!important;background-image:none!important;isolation:isolate}
.inline-chapter:not([data-atlas-motion]):not(:has([data-tongxi-native]))::before{
 content:""!important;position:absolute!important;inset:0!important;z-index:1;pointer-events:none;
 background-image:url("/reading-paper.svg")!important;background-repeat:repeat;
 opacity:.035!important;mix-blend-mode:multiply!important;
}
.inline-chapter[data-atlas-motion]::before,
.inline-chapter:has([data-tongxi-native])::before{content:none!important}
.inline-chapter:not(:has([data-tongxi-native]))>main,
.inline-chapter[data-inline-chapter="insights"] :is(.atlas,.atlas-shell,.atlas-workspace){background-image:none!important}
@media print{.inline-chapter::before{content:none!important}}

/* Receipts are present before hydration, at the same camera coordinates. */
/* A compact annotation within the lower margin of the reading surface. */
