:root { color-scheme: dark; --page: #11191d; --panel: #182328; --raised: #203037; --line: #3d5159; --text: #edf2ef; --muted: #b3c3c8; --accent: #bed8ca; --gold: #d8c89d; font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--page); color: var(--text); overflow-wrap: anywhere; }
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: var(--accent); text-underline-offset: .25em; }
button, select, input { font: inherit; }
button, select { min-height: 48px; border: 1px solid var(--line); border-radius: 4px; color: var(--text); background: var(--raised); padding: .65rem 1rem; }
button { cursor: pointer; text-align: left; }
button:hover:not(:disabled) { border-color: var(--accent); background: #2a3b40; }
button.primary { background: var(--accent); color: #15241e; border-color: var(--accent); font-weight: 650; display: inline-flex; gap: 2rem; align-items: center; justify-content: space-between; }
button.primary:hover:not(:disabled) { background: #d8e9e0; color: #15241e; }
button:disabled { cursor: default; opacity: .5; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; }
p { margin: .7rem 0 1.1rem; }
h1, h2, h3 { line-height: 1.2; margin: .5rem 0 1rem; font-weight: 600; letter-spacing: -.025em; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
blockquote { margin: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.8rem 0; }
.eyebrow { display: block; color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .11em; font-weight: 600; }
.small { font-size: .86rem; color: var(--muted); }
.lead { font-size: 1.15rem; color: #d2dddf; }
.skip-link { position: absolute; top: -100px; left: 1rem; background: var(--page); padding: .8rem; z-index: 3; }
.skip-link:focus { top: 1rem; }
.site-nav { border-bottom: 1px solid var(--line); }
.site-nav > div { max-width: 1240px; margin: auto; display: flex; flex-wrap: wrap; gap: 0 1.4rem; padding: .35rem 1.5rem; }
.site-nav a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; font-size: .85rem; }
.masthead { max-width: 1240px; padding: 2rem 1.5rem 1.4rem; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.masthead p { margin: 0; }
.prototype-label { border: 1px solid var(--line); padding: .4rem .7rem; font-size: .76rem; color: var(--muted); max-width: 100%; }
.shell { max-width: 1240px; padding: 0 1.5rem 2rem; margin: auto; }
.company-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding: .8rem 0; font-size: .8rem; color: var(--muted); }
.company-strip strong { letter-spacing: .2em; color: var(--text); margin-right: .8rem; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; padding: .6rem 0; }
.toolbar label { display: inline-flex; align-items: center; min-height: 44px; gap: .5rem; font-size: .86rem; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); width: 1.15rem; height: 1.15rem; flex-shrink: 0; }
.toolbar button { font-size: .86rem; background: transparent; }
.progress { padding: 0; margin: .5rem 0 1.4rem; list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; }
.progress li { border-top: 2px solid var(--line); padding: .6rem 0; color: var(--muted); font-size: .78rem; }
.progress li > span:first-child { margin-right: .5rem; font-variant-numeric: tabular-nums; }
.progress li[aria-current] { border-color: var(--accent); color: var(--text); font-weight: 650; }
.progress li.done { border-color: #708c83; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 1.5rem; align-items: start; }
main { min-width: 0; }
.scene, .review, .welcome, .cast { border: 1px solid var(--line); background: var(--panel); padding: clamp(1rem, 3vw, 2rem); border-radius: 5px; }
.scene-header { border-bottom: 1px solid var(--line); margin-bottom: 1.4rem; padding-bottom: .7rem; }
.scene-header .eyebrow span { display: block; margin-top: .3rem; text-transform: none; letter-spacing: 0; font-weight: 400; }
.room { padding: .7rem 0; }
.audience { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: .7rem; }
.person { display: flex; flex-wrap: wrap; gap: .7rem; align-items: start; min-width: 0; }
.person > div { flex: 1 1 9rem; min-width: 0; }
.person strong { display: block; font-size: .93rem; }
.person span:not(.monogram) { display: block; font-size: .76rem; color: var(--muted); }
.person p { font-size: .84rem; color: var(--muted); margin-bottom: 0; }
.monogram { display: flex; justify-content: center; align-items: center; flex-shrink: 0; width: 2.3rem; height: 2.3rem; border: 1px solid var(--line); border-radius: 50%; font-size: .7rem; letter-spacing: .05em; color: var(--accent); background: #142025; }
.brief { color: #d2dddf; margin: 1.4rem 0; }
.source-statement, .submitted { border-left: 2px solid var(--accent); padding: 1rem 1.2rem; background: #142025; font-size: 1.12rem; margin: 1.3rem 0; }
.speaker { font-size: .85rem; color: var(--muted); }
fieldset { min-width: 0; border: 0; padding: 0; margin: 1.3rem 0; }
legend { padding: 0 0 .8rem; color: var(--muted); font-size: .87rem; }
.choice { display: flex; align-items: flex-start; gap: .85rem; padding: 1rem; margin: .7rem 0; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; min-height: 48px; }
.choice:hover { background: #213139; }
.choice:has(input:checked) { background: #253b3b; border-color: var(--accent); }
.choice input { margin: .25rem 0 0; }
.choice > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.option-index { color: var(--accent); font-size: .74rem; margin-right: .6rem; }
.fragments { display: grid; gap: 1rem; }
.fragments label { display: block; font-size: .85rem; color: var(--muted); padding-bottom: .3rem; }
select { width: 100%; min-width: 0; max-width: 100%; text-overflow: ellipsis; }
.fragments select { appearance: none; min-height: 48px; line-height: 1.5; padding-right: 2.6rem; background-image: linear-gradient(45deg, transparent 50%, #bed8ca 50%), linear-gradient(135deg, #bed8ca 50%, transparent 50%); background-position: calc(100% - 19px) 50%, calc(100% - 13px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.statement-preview { background: #142025; border: 1px solid var(--line); padding: 1.2rem; margin: 1.3rem 0; }
.statement-preview output { display: block; margin-top: .6rem; font-size: 1.15rem; }
.submit-row { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: center; margin-top: 1.6rem; }
.submit-row p { flex: 1 1 180px; margin: 0; }
.outcomes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1rem 0; margin: 1.5rem 0; gap: .9rem; }
.outcomes span { display: block; color: var(--muted); font-size: .77rem; }
.outcomes strong { font-size: .85rem; font-weight: 500; }
.reactions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.reaction { padding: 1rem; border: 1px solid var(--line); border-radius: 4px; }
.reaction blockquote { font-size: .92rem; }
.stance { font-size: .75rem; color: var(--gold); margin: .8rem 0 .4rem; }
.stance.supported { color: var(--accent); }
.debrief { border-top: 1px solid var(--line); margin-top: 1.4rem; padding-top: 1.1rem; color: #d2dddf; }
.meaning-note { color: var(--gold); font-size: .9rem; }
.notebook { border: 1px solid var(--line); padding: 1rem; border-radius: 5px; background: #142025; }
.notebook h2 { font-size: 1rem; letter-spacing: 0; }
.notebook > p { font-size: .8rem; color: var(--muted); }
details { border-top: 1px solid var(--line); }
summary { min-height: 48px; padding: .7rem 0; cursor: pointer; font-size: .87rem; }
summary span { display: block; font-size: .75rem; color: var(--muted); margin-left: 1rem; }
.note { border-top: 1px solid #2c4048; padding: .4rem 0; font-size: .84rem; }
.note .eyebrow { font-size: .64rem; letter-spacing: .04em; }
.welcome { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2rem; }
.welcome h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.welcome-memo { padding: 1.4rem; border: 1px solid var(--line); background: #142025; }
.welcome-memo blockquote { font-size: 1.3rem; line-height: 1.5; }
.welcome-memo > p { color: var(--muted); font-size: .83rem; }
.identity { height: 80px; display: flex; align-items: center; gap: 6px; margin: 1.5rem 0; }
.identity span { display: block; width: 18px; height: 38px; border: 1px solid var(--accent); transform: skewY(-25deg); }
.identity span:nth-child(2) { height: 58px; }
.identity span:nth-child(3) { height: 78px; background: #bed8ca18; }
.run-facts { margin: 1.5rem 0; font-size: .82rem; color: var(--muted); }
.run-facts span { display: block; }
.cast { margin-top: 1.4rem; }
.people-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.promotion { font-size: clamp(1.3rem, 2.8vw, 2rem); color: var(--accent); }
.review-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.4rem; }
.review-metrics label, .review-metrics strong { display: block; }
.review-metrics strong { font-size: 1.35rem; font-weight: 500; }
.review-metrics p { font-size: .76rem; color: var(--muted); }
meter { width: 100%; height: 10px; accent-color: var(--accent); margin-top: .5rem; }
.panel-record { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.panel-record p { font-size: .8rem; color: var(--muted); }
footer { max-width: 1240px; padding: 1.5rem; margin: auto; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
dialog { max-width: min(500px, calc(100% - 2rem)); border: 1px solid var(--line); border-radius: 5px; padding: 1.5rem; background: var(--panel); color: var(--text); }
dialog::backdrop { background: #080f13c9; }
.dialog-buttons { display: flex; flex-wrap: wrap; gap: .7rem; }
.large-text { font-size: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 980px) { .layout { grid-template-columns: minmax(0, 1fr); } .notebook { margin-top: .5rem; } }
@media (max-width: 620px) {
  .shell, .masthead { padding-left: 1rem; padding-right: 1rem; }
  .site-nav > div { padding-left: 1rem; padding-right: 1rem; gap: 0 1.15rem; }
  .masthead { display: block; padding-top: 1.4rem; }
  .prototype-label { display: inline-block; margin-top: .5rem; }
  .progress { grid-template-columns: 1fr; gap: 0; }
  .progress li { display: none; }
  .progress li[aria-current] { display: block; }
  .welcome, .people-grid, .audience, .reactions, .panel-record, .review-metrics { grid-template-columns: minmax(0, 1fr); }
  .welcome { gap: 1rem; }
  .welcome-memo .identity { display: none; }
  .outcomes { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
  .outcomes > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
  button.primary { width: 100%; gap: 1rem; }
  .company-strip { gap: .4rem; }
  .choice { padding: .8rem; }
}
@media (prefers-reduced-motion: no-preference) { button, .choice { transition: background-color 120ms ease, border-color 120ms ease; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
