main{max-width:1280px;margin:auto;padding:24px}.demo-intro{max-width:920px}.demo-intro h1{font-size:clamp(2rem,4vw,3.6rem);line-height:1.08;margin:12px 0}.boundary{border-left:3px solid #b3a2ff;padding:12px 16px;background:#b3a2ff12;font-size:.9rem;line-height:1.6}.player-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:16px 0}.player-controls button,.player-controls select{min-height:44px}.player-controls label{display:flex;align-items:center;gap:8px}.player-controls select{color:inherit;background:#182039;border:1px solid #7781a8;border-radius:8px;padding:8px}.player-controls span{font-size:.85rem;color:#c4cce5}progress{width:100%;height:5px;accent-color:#b6a5ff;border:0}.demo-layout{display:grid;grid-template-columns:225px minmax(0,1fr);gap:24px;margin-top:24px}#scene-list{display:flex;flex-direction:column;gap:7px}#scene-list button{text-align:left;padding:12px;background:transparent;border:1px solid transparent;color:#bbc7e5;font-size:.88rem;line-height:1.4;min-height:44px}#scene-list button[aria-current=step]{background:#a99bff1a;color:#fff;border-color:#b9a8ff70}.demo-screen{border:1px solid #b8a8ff38;border-radius:22px;padding:26px;background:linear-gradient(135deg,#19233ae6,#16182ded);box-shadow:0 18px 65px #0004;min-width:0}.scene-top{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.fixture-label{color:#ccbfff;font-size:.75rem;letter-spacing:.05em}#scene-title{font-size:clamp(1.45rem,3vw,2.15rem);margin:14px 0 22px}.evidence-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.evidence-card{border:1px solid #8399c34a;background:#17243bb3;padding:20px;border-radius:14px;min-width:0}.evidence-card h3{font-size:1rem;margin:0 0 12px}.evidence-card .amount{display:block;font-size:2.5rem;color:#d3c6ff;margin:10px 0}.evidence-card p{line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.wide{grid-column:1/-1}.stage-note{padding:14px 0 0;color:#c1cce2;line-height:1.6}.caption-panel{margin-top:26px;border-top:1px solid #8993b83b;padding-top:20px;min-height:170px}#caption{font-size:1.1rem;line-height:1.8;color:#f5f4ff;margin:8px 0}#cue{min-height:1.5em}.transcript{margin:24px 0;padding:18px;border:1px solid #8993b845;border-radius:14px}.transcript summary{cursor:pointer;min-height:30px}.transcript p{line-height:1.75;max-width:80ch}.graph-steps{display:flex;gap:10px;flex-wrap:wrap}.graph-steps span{border:1px solid #baa9ff55;border-radius:10px;padding:12px;background:#a99bff14}.tour-example{padding:20px;border:1px solid #c9b6ff;border-radius:12px;background:#362d53}.demo-screen a{color:#d4c2ff}button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #d2c3ff;outline-offset:3px}
@media(max-width:760px){main{padding:16px}.public-header{flex-wrap:wrap}.demo-layout{grid-template-columns:1fr;gap:14px}#scene-list{flex-direction:row;flex-wrap:nowrap;min-width:0;overflow:auto;padding-bottom:8px}#scene-list button{min-width:155px;flex-shrink:0}.demo-screen{padding:18px}.evidence-cards{grid-template-columns:1fr}.player-controls button{flex:1 1 42%;font-size:.9rem}.player-controls label{flex:1 1 100%}.caption-panel{min-height:210px}.demo-intro h1{font-size:2rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Keep the advancing story and its captions in view on phone and desktop. */
.pilot-player{height:100vh;height:100svh;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.pilot-player .public-header{flex:none;padding:10px 24px;min-height:52px}
.pilot-player main{width:100%;flex:1;min-height:0;display:flex;flex-direction:column;padding:8px 24px;overflow:hidden}
.pilot-player .demo-intro{flex:none;margin:0;font-size:.85rem}
.pilot-player .demo-intro summary{cursor:pointer;min-height:28px}
.pilot-player .demo-intro[open]{max-height:35vh;overflow:auto}
.pilot-player .player-boundary{flex:none;margin:4px 0;color:#cbbfff;font-size:.78rem;line-height:1.4}
.pilot-player .player-controls{flex:none;padding:6px 0;gap:8px}
.pilot-player .player-controls span{font-size:.75rem}
.pilot-player progress{flex:none;height:4px}
.pilot-player .demo-layout{flex:1;min-height:0;margin-top:10px;gap:16px}
.pilot-player #scene-list{overflow:auto;min-height:0}
.pilot-player .demo-screen{display:flex;flex-direction:column;min-height:0;padding:16px;overflow:hidden}
.pilot-player .scene-top{flex:none;font-size:.75rem}
.pilot-player #scene-title{flex:none;font-size:clamp(1.15rem,2.3vw,1.75rem);line-height:1.2;margin:8px 0 12px}
.pilot-player #stage{flex:1;min-height:60px;overflow:auto;overscroll-behavior:contain}
.pilot-player .evidence-card{padding:14px}
.pilot-player .evidence-card p{font-size:.9rem;line-height:1.55;margin:6px 0}
.pilot-player .evidence-card .amount{font-size:2rem;margin:6px 0}
.pilot-player .caption-panel{flex:none;min-height:0;margin-top:12px;padding-top:10px}
.pilot-player .caption-panel .eyebrow{margin:0;font-size:.65rem}
.pilot-player #caption{font-size:1rem;line-height:1.55;margin:6px 0;max-height:28vh;overflow:auto}
.pilot-player #cue{margin:0;font-size:.72rem}
.pilot-player .transcript{flex:none;padding:5px 10px;margin:8px 0 0;font-size:.8rem}
.pilot-player .transcript summary{min-height:26px}
.pilot-player .transcript[open]{max-height:40vh;overflow:auto}
.pilot-player .public-footer{flex:none;padding:5px 16px;font-size:.65rem}
@media(max-width:760px){.pilot-player .public-header{padding:8px 12px;gap:5px}.pilot-player .public-header nav{font-size:.75rem;gap:12px}.pilot-player main{padding:5px 12px}.pilot-player .player-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.pilot-player .player-controls button{font-size:.75rem;padding:7px 5px;min-width:0}.pilot-player .player-controls label{grid-column:span 2;font-size:.75rem}.pilot-player .player-controls select{max-width:100%;min-width:0;min-height:38px;padding:5px}.pilot-player #play-state{grid-column:span 2}.pilot-player #duration{grid-column:1/-1;font-size:.7rem}.pilot-player .demo-layout{display:flex;flex-direction:column;gap:6px;margin-top:6px}.pilot-player #scene-list{flex:none;flex-direction:row;flex-wrap:nowrap;min-width:0;overflow:auto;padding:0}.pilot-player #scene-list button{min-width:145px;min-height:36px;font-size:.7rem;padding:6px 8px}.pilot-player .demo-screen{flex:1;padding:12px}.pilot-player .scene-top{gap:4px}.pilot-player .fixture-label{font-size:.6rem}.pilot-player #scene-title{margin:5px 0 8px}.pilot-player .evidence-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pilot-player .evidence-card{padding:10px}.pilot-player .evidence-card h3{font-size:.8rem;margin-bottom:6px}.pilot-player .evidence-card p{font-size:.78rem;line-height:1.5}.pilot-player .evidence-card .amount{font-size:1.7rem}.pilot-player .caption-panel{margin-top:8px;padding-top:8px}.pilot-player #caption{font-size:.9rem;line-height:1.5}.pilot-player .transcript summary{font-size:.75rem}.pilot-player .public-footer{font-size:.6rem}}
@media(max-height:580px){.pilot-player .demo-intro,.pilot-player .public-footer{display:none}.pilot-player .public-header{padding-top:4px;padding-bottom:4px;min-height:36px}.pilot-player .transcript{margin-top:3px}.pilot-player #caption{font-size:.82rem;line-height:1.35}.pilot-player .caption-panel .eyebrow,.pilot-player #cue{display:none}.pilot-player #scene-list{display:none}.pilot-player .demo-layout{grid-template-columns:1fr}.pilot-player .player-boundary{font-size:.65rem}}
/* Compact or enlarged-text views must remain scrollable rather than clip content. */
.pilot-player main,.pilot-player .demo-screen{overflow:auto}
@media(max-height:740px){.pilot-player .demo-intro,.pilot-player .public-footer,.pilot-player .public-header nav{display:none}.pilot-player #scene-list{display:none}.pilot-player .demo-layout{grid-template-columns:1fr}.pilot-player .public-header{padding:4px 12px;min-height:34px}.pilot-player .player-boundary{font-size:.68rem}}
