/* CP166: the approved narrative expressed in the learner experience. */
.exhibition-map-page .exhibition-rail-chapters { display:flex; gap:1rem; margin:.5rem 3.75rem 1rem; border-block:1px solid #89bdb833; }
.exhibition-rail-chapters button { flex:1; display:grid; grid-template-columns:3rem 1fr; gap:.3rem .8rem; padding:1rem .7rem; border:0; background:none; color:#e6eee8; text-align:left; cursor:pointer; }
.exhibition-rail-chapters button + button { border-left:1px solid #89bdb833; }
.exhibition-rail-chapters small { grid-row:1/3; align-self:center; color:#a5cbc2; font:500 .85rem Georgia,serif; }
.exhibition-rail-chapters strong { font:400 1.2rem Georgia,serif; }
.exhibition-rail-chapters span { color:#acc4c5; font-size:.7rem; line-height:1.5; }
.exhibition-rail-chapters button:hover { background:#a8d3c408; }
.exhibition-rail-chapters button:focus-visible { outline:2px solid #b5dac5; outline-offset:3px; }
.exhibition-map-page .exhibit-fmv > a { border-color:#afcba35c; }
.exhibition-map-page .exhibition-card > a { min-height:0; grid-template-rows:auto auto minmax(9rem,1fr) auto auto; }
.exhibition-map-page .map-orientation-note strong { font-size:1.08rem; line-height:1.45; }

/* Branch hub: a short interpretive threshold, three mounted objects, three doors. */
.lifelines-chapter .pathway-map-heading { gap:2rem; align-items:center; margin-bottom:1.5rem; }
.lifelines-chapter .pathway-map-introduction > p:first-child { max-width:65ch; font-size:1rem; line-height:1.7; }
.lifelines-chapter .pathway-clinical-context { margin:.8rem 0; border-block:1px solid #9fc8c22e; background:none; }
.lifelines-chapter .pathway-clinical-context summary { padding:.75rem 0; color:#c3d6cc; font-size:.78rem; cursor:pointer; }
.lifelines-chapter .pathway-clinical-context p { color:#c2d1d0; font-size:.86rem; line-height:1.7; }
.lifelines-chapter .pathway-oxygen-field { margin:1.5rem auto 0; }
.lifelines-chapter .lifeline-pathway-bays { gap:clamp(1rem,2.4vw,2rem); }
.lifelines-chapter .lifeline-pathway-bay { min-height:0; padding:1.1rem 1.2rem; border-radius:2px; border-color:#9bbbb632; background:linear-gradient(165deg,#20414a99,#091f2cdc); box-shadow:0 18px 38px #00141b25; }
.lifelines-chapter .lifeline-pathway-bay::before { inset:.45rem; border-color:#b2c5be0d; }
.lifelines-chapter .pathway-bay-header { margin-bottom:.4rem; }
.lifelines-chapter .pathway-number { font:400 1.6rem Georgia,serif; color:#bdd3c3; }
.lifelines-chapter .pathway-threshold-poster { margin:.8rem auto 1.7rem; max-width:19rem; }
.lifelines-chapter .pathway-threshold-poster figcaption { min-height:0; padding:.55rem .25rem .2rem; }
.lifelines-chapter .pathway-threshold-poster figcaption strong { font-size:.74rem; }
.lifelines-chapter .lifeline-pathway-bay h3 { min-height:3.5rem; margin:.25rem 0 .65rem; font-size:clamp(1.45rem,2.1vw,1.85rem); line-height:1.13; }
.lifelines-chapter .pathway-mechanical { min-height:3.4rem; margin:.3rem 0; font-size:.82rem; line-height:1.6; }
.lifelines-chapter .pathway-route { margin:.85rem 0; gap:0; }
.lifelines-chapter .pathway-route li { min-height:0; padding:.7rem .2rem .7rem 1.55rem; border:0; background:none; }
.lifelines-chapter .pathway-route li::before { left:.15rem; top:1rem; }
.lifelines-chapter .pathway-route li:not(:last-child)::after { left:.39rem; top:1.5rem; height:calc(100% - .5rem); }
.lifelines-chapter .pathway-route li span { font-size:.55rem; color:#adc4c2; }
.lifelines-chapter .pathway-route li strong { font-size:.75rem; font-weight:500; line-height:1.45; }
.lifelines-chapter .pathway-optional,.lifelines-chapter .pathway-coming { margin:.35rem 0; }
.lifelines-chapter .pathway-destinations { margin-top:auto; padding-top:1rem; }
.lifelines-chapter .pathway-enter { min-height:3.8rem; padding:.75rem .85rem; }
.lifelines-chapter .pathway-enter-studio { min-height:3.3rem; background:transparent; border-color:#9bbbb633; }
.lifelines-chapter .pathway-recording { margin-top:.8rem; border-top:1px dashed #9bbbb633; background:none; }
.lifelines-chapter .pathway-recording summary { padding:.8rem 0 .25rem; color:#b5c7bd; font-size:.64rem; line-height:1.5; cursor:pointer; }
.lifelines-chapter .pathway-recording .story-audio-reservation { padding:.7rem 0; border:0; }
.lifelines-chapter .lifeline-atlas { margin-top:2rem; }

/* Forward thoughts stay light; the Studio doorway carries the emphasis. */
.oxygenation-pacscape .narrative-bridge { padding:.8rem 1rem; background:#e7ede4; border-left-color:#799d8899; }
.oxygenation-pacscape .chapter-footer#chapter-close { padding-block:clamp(2rem,4vw,3.5rem) 0; }
.oxygenation-pacscape #chapter-close .chapter-footer-inner { gap:clamp(1.5rem,4vw,4rem); padding-block:0 1.5rem; }
.oxygenation-pacscape #chapter-close .chapter-footer-inner h2 { font-size:clamp(1.9rem,3.2vw,3rem); max-width:24ch; }
.oxygenation-pacscape #chapter-close .chapter-footer-inner p:not(.eyebrow) { max-width:65ch; font-size:.92rem; line-height:1.65; }
.oxygenation-pacscape #chapter-close .close-route-mark { display:none; }
.oxygenation-pacscape #chapter-close .chapter-footer-inner:has(.close-route-mark) { display:block; }
.oxygenation-pacscape #chapter-close .chapter-footer-inner:has(.close-route-mark) > div:first-child { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:.9rem 3rem; align-items:start; }
.oxygenation-pacscape #chapter-close .chapter-footer-inner:has(.close-route-mark) > div:first-child > .eyebrow { grid-column:1/-1; margin:0 0 .3rem; }
.oxygenation-pacscape #chapter-close .chapter-footer-inner:has(.close-route-mark) > div:first-child > h2 { grid-column:1; grid-row:2/span 4; margin:0; }
.oxygenation-pacscape #chapter-close .chapter-footer-inner:has(.close-route-mark) > div:first-child > :not(.eyebrow):not(h2) { grid-column:2; margin:0; }
.oxygenation-pacscape #chapter-close .is-repeated-exit { display:none; }
.oxygenation-pacscape #chapter-close .footer-actions:has(> .is-repeated-exit:only-child),
.oxygenation-pacscape #chapter-close .footer-actions:not(:has(a:not(.is-repeated-exit))) { display:none; }
.oxygenation-pacscape #chapter-close .exhibit-continuation { margin-top:.5rem; padding-block:1rem 1.5rem; border-top:1px solid #729b8f40; }
.oxygenation-pacscape #chapter-close .exhibit-continuation a { min-height:4.7rem; background:transparent; border:0; border-left:1px solid #729b8f40; color:#dce8e1; }
.oxygenation-pacscape #chapter-close .exhibit-continuation a:first-child { border-left:0; }
.oxygenation-pacscape #chapter-close .exhibit-continuation span { color:#a6c4ba; -webkit-text-fill-color:currentColor; }
.oxygenation-pacscape #chapter-close .exhibit-continuation strong { color:#eff1e5; -webkit-text-fill-color:currentColor; }
.oxygenation-pacscape #chapter-close .exhibit-continuation a:hover { background:#8eb6a80d; }
.pac-integrated .pac-surface-handoff { border-top:1px solid #b6cdac70; background:radial-gradient(ellipse at 100% 10%,#528f6b45,transparent 55%),linear-gradient(110deg,#153e46,#0b2c37); }

@media (max-width:760px) {
  .exhibition-map-page .exhibition-rail-chapters { margin-inline:0; gap:0; }
  .exhibition-rail-chapters button { grid-template-columns:1fr; gap:.35rem; padding:.85rem .65rem; }
  .exhibition-rail-chapters small { grid-row:auto; font-size:.72rem; }
  .exhibition-rail-chapters strong { font-size:1rem; line-height:1.2; }
  .exhibition-rail-chapters span { font-size:.63rem; }
  .lifelines-chapter .pathway-map-heading { gap:1.2rem; }
  .lifelines-chapter .lifeline-pathway-bays { padding-left:0; }
  .lifelines-chapter .lifeline-pathway-bays::before { content:none; }
  .lifelines-chapter .lifeline-pathway-bay { padding:1.1rem 1.35rem; }
  .lifelines-chapter .lifeline-pathway-bay h3,.lifelines-chapter .pathway-mechanical { min-height:0; }
  .lifelines-chapter .pathway-destinations { padding-top:.7rem; }
  .oxygenation-pacscape #chapter-close .exhibit-continuation a { border-left:0; border-top:1px solid #729b8f40; min-height:4.5rem; }
  .oxygenation-pacscape #chapter-close .exhibit-continuation a:first-child { border-top:0; }
  .oxygenation-pacscape #chapter-close .chapter-footer-inner:has(.close-route-mark) > div:first-child { display:block; }
  .oxygenation-pacscape #chapter-close .chapter-footer-inner:has(.close-route-mark) > div:first-child > :not(.eyebrow):not(h2) { margin-top:1rem; }
  .oxygenation-pacscape #chapter-close .chapter-footer-inner:has(.close-route-mark) > div:first-child > .eyebrow { margin-bottom:.8rem; }
}
