/* ACT ONE: dark introductions, paper reading surfaces, dark film and closing areas.
   Company, contributor and Backstage compositions remain the reference. */
:root{--actone-paper:#fff;--actone-ink:#111;--actone-muted:#555;--actone-rule:#d4d4d4;--actone-dark:#111;--actone-acid:#e8ff00}
@media screen{
 body.site-balanced .actone-paper{background:var(--actone-paper);color:var(--actone-ink);border-color:var(--actone-rule)}
 body.site-balanced .actone-paper :is(.micro,.small,.promo-cast){color:var(--actone-muted)}
 body.site-balanced .actone-paper h2 em{color:var(--actone-ink)}
 body.site-balanced .actone-paper .pill{background:var(--actone-ink);color:#fff;border-color:var(--actone-ink)}
 body.site-balanced .actone-paper :is(a,button,input,textarea,summary):focus-visible{outline-color:#111}
 body.site-balanced .actone-dark{background:var(--actone-dark);color:#fff;border-color:#333}
 body.site-balanced .actone-dark :is(.micro,.small){color:#bdbdb8}
 body.site-balanced .actone-dark h2 em{color:var(--actone-acid)}
 body.site-balanced .actone-dark .pill{background:var(--actone-acid);color:#111;border-color:var(--actone-acid)}
 /* Book: introductory copy on paper, the actual screening remains dark. */
 body.site-balanced.page-offers .sales-film.reading{background:#fff;color:#111}
 body.site-balanced.page-offers .sales-film .promo-heading{border-bottom-color:#d4d4d4}
 body.site-balanced.page-offers .sales-film .scene-questions>.small{color:#555!important}
 body.site-balanced.page-offers .sales-film .scene-questions li{border-bottom-color:#d4d4d4}
 body.site-balanced.page-offers .notes-demo p{color:#bdbdb8}
 body.site-balanced.page-offers .notes-demo .demo-paper{background:#fff;color:#111}
 body.site-balanced.page-offers .notes-demo .demo-paper :is(p,.micro,.small){color:#555}
 body.site-balanced.page-offers .notes-demo .demo-paper .typed-demo{color:#333!important}
 /* Your Notes: a full-width paper reading section between dark opening and close. */
 body.site-balanced.page-your-notes main{max-width:none;padding:0}
 body.site-balanced.page-your-notes :is(.yn-opening,.yn-inside,.yn-access){padding-inline:max(24px,calc((100% - 1240px)/2))}
 body.site-balanced.page-your-notes .yn-inside{background:#fff;color:#111;border-color:#d4d4d4}
 body.site-balanced.page-your-notes .yn-inside :is(.micro,.yn-steps p,.yn-steps article>span){color:#555}
 body.site-balanced.page-your-notes .yn-inside h2 em{color:#111}
 body.site-balanced.page-your-notes .yn-steps article{border-top-color:#111}
 /* Account work is a reading/form surface, framed by dark navigation. */
 html:has(>body.account-page){color-scheme:light;background:#fff}
 body.site-balanced.account-page{background:#fff;color:#111}
 body.site-balanced.account-page main :is(p,.preview-note,.watch-help){color:#555}
 body.site-balanced.account-page main :is(a:not(.button-link):not(.library-action),.back-link){color:#111;text-decoration:underline;text-underline-offset:4px}
 body.site-balanced.account-page main :is(section,th,td){border-color:#d4d4d4}
 body.site-balanced.account-page main :is(input,select,textarea){background:#fff;color:#111;border-color:#777;color-scheme:light}
 body.site-balanced.account-page main :is(a,button,input,select,textarea):focus-visible{outline-color:#111}
 body.site-balanced.account-page main>footer{background:#111;color:#fff;padding:24px;border-color:#333}
 body.site-balanced.account-page main>footer a{color:#fff!important}
 body.site-balanced.library-page .library-intro{background:#111;color:#fff;padding:36px 40px;margin:-56px -40px 40px}
 body.site-balanced.library-page .library-intro :is(p,.library-access-note){color:#bfc0b9}
 body.site-balanced.library-page .library-card{background:#fff;color:#111;border-color:#d4d4d4}
 body.site-balanced.library-page .library-card-body :is(p,.library-badge,.library-progress){color:#555}
 body.site-balanced.library-page .library-support{color:#555;border-color:#d4d4d4}
 /* Private viewing keeps black picture surrounds and uses paper for programme and notes. */
 html:has(>body.offbook-viewer){background:#fff;color-scheme:light}
 body.site-balanced.offbook-viewer{background:#fff;color:#111}
 body.site-balanced.offbook-viewer .landing{background:#111;color:#fff;padding:40px;margin-block:36px}
 body.site-balanced.offbook-viewer :is(.programme,.notebook,.viewer-layout,.scene-heading,.preview-link){color:#111}
 body.site-balanced.offbook-viewer :is(.programme,.notebook,.scene-heading,.viewer-layout,.preview-link) :is(.intro,.eyebrow,.act-label,.subdued,.scene-number,.runtime,.material-note,.resume-detail,.scene-row small,.section-heading p,.empty p,.notebook-note p,.scene-tools,#remaining,#playback-message){color:#555}
 body.site-balanced.offbook-viewer main :is(.scene-row,.programme,.notebook-scene,.note-card,.preview-link,.sequence,.extra-controls,.panel-tabs){border-color:#d4d4d4}
 body.site-balanced.offbook-viewer .scene-row:hover,body.site-balanced.offbook-viewer .scene-row.current{background:#f3f3ed}
 body.site-balanced.offbook-viewer .scene-row.current .scene-number{color:#111}
 body.site-balanced.offbook-viewer :is(.back,.moment){color:#111;text-decoration:underline;text-underline-offset:4px}
 body.site-balanced.offbook-viewer main :is(textarea,select){background:#fff;color:#111;border-color:#777;color-scheme:light}
 body.site-balanced.offbook-viewer main .outline{color:#111;border-color:#777}
 body.site-balanced.offbook-viewer .panel-tabs{background:#fff}
 body.site-balanced.offbook-viewer .panel-tabs button{color:#555}
 body.site-balanced.offbook-viewer .panel-tabs button[aria-expanded=true]{color:#111;border-bottom-color:#111}
 body.site-balanced.offbook-viewer main :is(a,button,textarea,select):focus-visible{outline-color:#111}
 body.site-balanced.offbook-viewer .landing :is(.outline,.back){color:#fff}
 body.site-balanced.offbook-viewer .landing :is(a,button):focus-visible{outline-color:#e8ff00}
 body.site-balanced.offbook-viewer .unavailable{color:#fff}
 body.site-balanced.offbook-viewer .unavailable .outline{color:#fff}
 body.site-balanced.offbook-viewer>footer{background:#111;color:#bdbdb8;margin:60px 0 0;padding:24px 5vw}
 body.site-balanced.offbook-viewer>footer a{color:#fff}
}
@media screen and (max-width:760px){
 body.site-balanced.library-page .library-intro{margin:-36px -20px 30px;padding:32px 20px}
 body.site-balanced.offbook-viewer .landing{padding:28px 22px}
}
@media screen{
 body.site-balanced.page-checkout .gift-option :is(input,textarea){background:#fff;color:#111;border-color:#777;color-scheme:light}
 body.site-balanced.page-checkout .gift-error{color:#8b1f1f}
 body.site-balanced.offbook-viewer .film-wrap{color-scheme:dark}
}
