/* Bounded artefact treatments; shared tokens and shell remain authoritative. */
.cgs-prose{max-width:76ch}
.cgs-panel{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr);gap:clamp(1.5rem,4vw,4rem);align-items:start;border-top:1px solid var(--gm-gold,#a88350)}
.cgs-panel:has(>div:only-child){display:block;max-width:80ch}
.cgs-panel figure{margin:0;text-align:center}
.cgs-panel img{max-width:100%;height:auto;border-radius:4px}
.cgs-book{width:260px}
.cgs-narrative-image{width:330px}
.cgs-panel figcaption,.cgs-page figcaption{font-size:.9rem;margin-top:.8rem;line-height:1.5}
.cgs-pending,.cgs-context{padding:1.2rem 1.5rem;border-left:3px solid var(--gm-gold,#a88350);background:var(--gm-ivory,#faf5ec)}
.cgs-page video,.cgs-video-poster{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#150d19;border-radius:4px}
.cgs-page video{display:block}
.cgs-page #current-video>figure{margin:1.5rem 0}
.cgs-toc{display:flex;flex-wrap:wrap;gap:.7rem 1.4rem;margin:2rem 0;padding-bottom:1.5rem;border-bottom:1px solid var(--gm-gold,#a88350)}
.cgs-reading-source{max-width:78ch;margin-inline:auto;overflow-wrap:anywhere;font-size:1.08rem;line-height:1.85}
.cgs-reading-source h2{margin-top:3.5rem;scroll-margin-top:2rem}
.cgs-reading-source p{margin-block:1.25rem}
.cgs-reading-source figure{max-width:650px;margin:2rem auto}
.cgs-reading-source figure img{width:100%;height:auto}
.cgs-context{max-width:90ch;overflow-wrap:anywhere}
.cgs-bridge{border-top:1px solid var(--gm-gold,#a88350);max-width:80ch}
.cgs-page .gm-section{scroll-margin-top:1rem}
.cgs-page .gm-note{overflow-wrap:anywhere}
@media(max-width:700px){.cgs-panel{grid-template-columns:1fr}.cgs-panel figure{order:-1}.cgs-panel img{max-height:420px;object-fit:contain}.cgs-reading-source{font-size:1rem;line-height:1.75}.cgs-pending,.cgs-context{padding:1rem}}
@media(prefers-reduced-motion:reduce){.cgs-page{scroll-behavior:auto}}

/* Run 10.5: prevent long transcript source filenames from widening mobile viewports. */
.cgs-page .transcript-act,.cgs-page .transcript-act *{overflow-wrap:anywhere}

/* Run 11: wrap source filenames in CGS transcript introductory sections. */
.cgs-page .gm-section p{overflow-wrap:anywhere}
