.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. */
.evidence-detail.native-chapter-detail .inline-chapter-slot{height:auto!important;min-height:100svh!important;overflow:visible!important;background:#f4f5f7}
.evidence-detail .inline-chapter-slot>.inline-chapter{visibility:visible!important}
.inline-chapter{display:flow-root;position:relative;width:100%;height:auto!important;overflow:visible!important;margin:0!important;background:#f4f5f7!important;color:#262623;color-scheme: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-ready="pending"][data-inline-chapter="resume"]{contain-intrinsic-size:auto 2000px}
.inline-chapter[data-inline-ready="pending"][data-inline-chapter="overview"]{contain-intrinsic-size:auto 2600px}
.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[data-inline-chapter="insights"] .atlas{margin-block:0!important}
.inline-chapter[data-inline-chapter] .atlas-shell,.inline-chapter[data-inline-chapter] .archive{border-top:0!important;border-bottom: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(max-width:700px){.inline-chapter[data-inline-chapter="testimonials"] .archive .archive-rail{inset:52px 0 180px!important}}
@media print{#gl,#nav,.w-hero,.w-back,.w-footer,.w-preview-w{display:none!important}#main,.page,.w-s,.inline-chapter-slot{position:static!important;transform:none!important;height:auto!important;overflow:visible!important}}
@media print{#app{position:static!important;height:auto!important;overflow:visible!important}.inline-chapter-slot{min-height:0!important}}
@media(max-width:959px){
 .inline-chapter .atlas-workspace{grid-template-columns:minmax(0,1fr)!important}
 .inline-chapter .map-panel{width:100%!important;min-height:420px!important}
 .inline-chapter .atlas-map{width:100%!important;max-width:100%!important;margin-left:0!important;transform:none!important}
 .inline-chapter .index-panel,.inline-chapter .record-copy{min-width:0}
 .inline-chapter .record-list{overflow-y:visible!important;overscroll-behavior:auto!important}
}
@media(min-width:960px){
 .inline-chapter .atlas-map{width:100%!important;height:calc(100% - 80px)!important;max-width:100%!important;margin:40px auto!important}
}
/* Sticky positioning is driven by the shell's virtual scroll on desktop. */
.inline-chapter[data-inline-chapter="resume"] .idc,.inline-chapter[data-inline-chapter="resume"] .rs-bar{will-change:translate}
@media print{.inline-chapter .idc,.inline-chapter .rs-bar{translate:none!important}}

/* A solid reading header with breathing room; scrolling text cannot bleed into it. */
@media(min-width:721px){
 .inline-chapter[data-inline-chapter="resume"] .rs-bar{isolation:isolate;background:#f4f5f7;padding-block:10px;}
 .inline-chapter[data-inline-chapter="resume"] .rs-bar::before{content:"";position:absolute;inset:-8px 0 0;background:#f4f5f7;z-index:-1;pointer-events:none}
 .inline-chapter[data-inline-chapter="resume"] .rs-bar::after{content:"";position:absolute;left:0;right:0;top:100%;height:24px;background:#f4f5f7;pointer-events:none}
}
/* Native scrolling uses the same clearance as the desktop virtual scroll. */
@media(min-width:721px){.inline-chapter[data-inline-chapter="resume"]:not([data-virtual-scroll]) .rs-bar{top:calc(var(--site-nav-height,80px) + 8px)!important}}
@media(min-width:961px){.inline-chapter[data-inline-chapter="resume"]:not([data-virtual-scroll]) .idc{top:calc(var(--site-nav-height,80px) + 16px)!important}}
/* Each installation keeps its own composition inside the shared page. */
.evidence-detail .inline-chapter-slot.inline-chapter-slot{height:auto!important;min-height:100svh!important;overflow:visible!important}
.inline-chapter[data-inline-chapter="testimonials"]>main{margin:0!important;height:100svh!important;box-sizing:border-box}
.inline-chapter[data-inline-chapter="testimonials"] .archive{height:calc(100svh - 2 * var(--chapter-space))!important;min-height:0!important}
.inline-chapter[data-inline-chapter="testimonials"] .archive .archive-stage{position:relative!important;inset:0!important;height:100%!important;width:100%!important;cursor:grab!important}
.inline-chapter[data-inline-chapter="testimonials"] .archive-count{top:0!important}
.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}
@media(max-width:720px){
 .inline-chapter[data-inline-chapter="insights"] .chart-count,
 .inline-chapter[data-inline-chapter="insights"] .plot,
 .inline-chapter[data-inline-chapter="insights"] .plot-key{min-width:0!important}
}

/* Keep the reading header within the resume as it leaves and returns. */
.inline-chapter[data-inline-chapter="resume"]{clip-path:inset(0)}
.inline-chapter[data-inline-chapter="resume"][data-virtual-scroll] .idc,
.inline-chapter[data-inline-chapter="resume"][data-virtual-scroll] .rs-bar{position:relative!important;top:auto!important}

/* Preserve the same grip over the field, cards and their descendants. */
.inline-chapter[data-inline-chapter="testimonials"] .archive[data-dragging="true"] .archive-stage,
.inline-chapter[data-inline-chapter="testimonials"] .archive[data-dragging="true"] .archive-stage *{cursor:grabbing!important}
.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="testimonials"] :is(.archive,.archive-stage),
.inline-chapter[data-inline-chapter="overview"] :is(.win,.essay),
.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. */
.inline-chapter[data-inline-chapter="testimonials"][data-inline-ready="pending"]{content-visibility:visible;contain-intrinsic-size:none}
/* A compact annotation within the lower margin of the reading surface. */
.inline-chapter[data-inline-chapter="testimonials"] .archive-caption{z-index:710!important;bottom:calc(24px - var(--chapter-space))!important;width:min(360px,32vw)!important}
@media(max-width:760px){.inline-chapter[data-inline-chapter="testimonials"] .archive-caption{width:min(320px,calc(100% - 48px))!important}}
