:root {
  --violet: #4000ff;
  --grey: #f0f0f0;
  --black: #000000;
  --white: #ffffff;
  --ink-soft: #595959;
  --terminal: #0d141a;
  --terminal-line: #2c3b46;
  --terminal-text: #dce6ee;
  --stage-w: 1600px;
  --stage-h: 900px;
  color-scheme: light;
  font-family: Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  min-width: 100%;
  min-height: 100%;
  background: #161616;
  overflow: hidden;
}

button,
input { font: inherit; }

.audience-shell {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: #151515;
}

.stage-wrap {
  width: var(--stage-w);
  height: var(--stage-h);
  flex: none;
  position: relative;
  overflow: hidden;
}

.slide-stage {
  width: var(--stage-w);
  height: var(--stage-h);
  position: absolute;
  inset: 0 auto auto 0;
  transform-origin: top left;
  overflow: hidden;
  background: var(--grey);
  box-shadow: 0 28px 90px rgba(0,0,0,.5);
}

.slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  padding: 54px 64px 48px;
  background: var(--grey);
  color: var(--black);
}

.slide::after {
  content: attr(data-page);
  position: absolute;
  right: 29px;
  bottom: 23px;
  z-index: 20;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .1em;
  color: rgba(0,0,0,.42);
}

.eyebrow {
  font-size: 17px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow.light { color: var(--white); }

h1,
h2,
h3,
blockquote,
.warning-band,
.metric-band strong {
  font-family: "Helvetica Black", "Arial Black", Helvetica, Arial, sans-serif;
  letter-spacing: -.045em;
}

h1,
h2,
h3,
p,
blockquote,
figure,
ul { margin: 0; }

.slide-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 50px;
  position: relative;
  z-index: 5;
}

.slide-heading h2 {
  margin-top: 13px;
  font-size: 64px;
  line-height: .98;
}

.compact-heading h2 { font-size: 66px; }

.compact-heading > p {
  margin-top: 29px;
  border: 3px solid var(--black);
  border-radius: 999px;
  padding: 11px 21px;
  font-size: 21px;
  font-weight: 800;
}

code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }

/* Cover */
.cover-slide {
  padding: 67px 76px;
  background:
    linear-gradient(90deg, transparent 0 73%, rgba(64,0,255,.06) 73% 73.25%, transparent 73.25%),
    var(--grey);
}

.cover-slide::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border: 46px solid var(--violet);
  border-radius: 50%;
  right: -164px;
  top: -180px;
}

.cover-slide h1 {
  margin-top: 80px;
  max-width: 1320px;
  font-size: 105px;
  line-height: .94;
}

.cover-slide h1 span {
  display: inline-block;
  position: relative;
  color: var(--white);
  z-index: 1;
}

.cover-slide h1 span::before {
  content: "";
  position: absolute;
  inset: -4px -20px -1px -16px;
  background: var(--violet);
  border: 5px solid var(--black);
  border-radius: 28px 18px 26px 14px;
  transform: rotate(-.8deg);
  z-index: -1;
}

.cover-subtitle {
  margin-top: 31px;
  font-size: 30px;
  font-weight: 800;
}

.cover-mark {
  position: absolute;
  top: 70px;
  right: 77px;
  width: 115px;
  height: 115px;
  display: grid;
  place-items: center;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  font-family: "Arial Black", Helvetica, Arial, sans-serif;
  font-size: 21px;
}

/* Shared chain */
.mini-chain {
  display: grid;
  grid-template-columns: 1fr 50px 1fr 50px 1fr 50px 1fr 50px 1fr;
  align-items: center;
}

.cover-slide .mini-chain {
  position: absolute;
  left: 76px;
  right: 76px;
  bottom: 64px;
}

.mini-form {
  min-width: 0;
  height: 96px;
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 0 13px;
  padding: 16px;
  border: 4px solid var(--black);
  border-radius: 18px;
  background: var(--grey);
}

.mini-form > span {
  grid-row: 1 / 3;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 4px solid var(--black);
  border-radius: 50%;
  background: var(--violet);
  color: var(--white);
  font-weight: 900;
}

.mini-form strong {
  font-family: "Arial Black", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.05;
}

.mini-form small {
  min-height: 13px;
  color: var(--violet);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.mini-form.active {
  background: var(--violet);
  color: var(--white);
}

.mini-form.active > span { background: var(--grey); color: var(--black); }
.mini-form.active small { color: var(--white); }

.mini-arrow { position: relative; height: 4px; background: var(--black); }
.mini-arrow::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-top: 4px solid var(--black);
  border-right: 4px solid var(--black);
  transform: translateY(-50%) rotate(45deg);
}

/* Stage cards */
.stage-card {
  width: 376px;
  border: 5px solid var(--black);
  border-radius: 24px;
  padding: 24px;
  background: var(--white);
  position: relative;
  box-shadow: 11px 11px 0 var(--black);
}

.stage-card.active { background: var(--grey); }

.form-label {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
}

.stage-emblem {
  width: 78px;
  height: 78px;
  margin: 20px 0 18px;
  display: grid;
  place-items: center;
  border: 5px solid var(--black);
  border-radius: 50%;
  background: var(--violet);
  box-shadow: inset 0 0 0 7px var(--grey);
}

.stage-emblem span {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
}

.stage-card h3 { font-size: 36px; line-height: .98; }
.stage-stats { margin-top: 20px; border-top: 4px solid var(--black); }

.stat-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 2px solid var(--black);
  font-size: 17px;
  line-height: 1.15;
}

.stat-row > span { color: var(--ink-soft); font-weight: 700; }
.stat-row strong { font-weight: 900; }

.stage-card.compact {
  width: 238px;
  min-height: 594px;
  padding: 17px;
  border-width: 4px;
  border-radius: 18px;
  box-shadow: 7px 7px 0 var(--black);
}

.stage-card.compact .form-label { font-size: 10px; }
.stage-card.compact .stage-emblem { width: 58px; height: 58px; margin: 12px 0 13px; border-width: 4px; box-shadow: inset 0 0 0 5px var(--grey); }
.stage-card.compact .stage-emblem span { width: 28px; height: 28px; font-size: 11px; }
.stage-card.compact h3 { min-height: 61px; font-size: 27px; }
.stage-card.compact .stage-stats { margin-top: 13px; border-top-width: 3px; }
.stage-card.compact .stat-row { grid-template-columns: 1fr; gap: 3px; padding: 8px 0; font-size: 14px; }
.stage-card.compact .stat-row > span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }

/* Slide 2 */
.evolution-slide { padding: 43px 45px 38px; }
.full-chain {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 238px 74px 238px 74px 238px 74px 238px 74px 238px;
  align-items: center;
  justify-content: center;
}

.chain-link { height: 590px; position: relative; }
.chain-arrow { position: absolute; left: 6px; right: 6px; top: 245px; height: 5px; background: var(--black); }
.chain-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 18px;
  height: 18px;
  border-top: 5px solid var(--black);
  border-right: 5px solid var(--black);
  transform: translateY(-50%) rotate(45deg);
}
.trigger-label {
  position: absolute;
  top: 492px;
  left: 50%;
  width: 152px;
  padding: 8px 10px;
  transform: translateX(-50%) rotate(-4deg);
  border: 3px solid var(--black);
  background: var(--violet);
  color: var(--white);
  font-size: 13px;
  line-height: 1.1;
  font-weight: 900;
  text-align: center;
  z-index: 2;
}
.chain-link:nth-of-type(4n) .trigger-label { transform: translateX(-50%) rotate(3deg); }

/* Slides 3 + 4 */
.story-layout {
  margin-top: 29px;
  display: grid;
  grid-template-columns: 376px 1fr;
  gap: 65px;
}

.story-column {
  display: grid;
  grid-template-columns: 1fr 116px 1fr 116px 1fr;
  align-items: center;
}

.story-beat {
  min-height: 300px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 5px solid var(--black);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 10px 10px 0 var(--black);
}
.story-beat > span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--violet);
  color: var(--white);
  font-weight: 900;
}
.story-beat p { margin-top: auto; font-size: 25px; line-height: 1.18; }
.story-beat strong { font-family: "Arial Black", Helvetica, Arial, sans-serif; }
.story-connector { font-size: 13px; font-weight: 900; text-align: center; letter-spacing: .06em; }
.story-connector b { display: block; margin: 10px 0; color: var(--violet); font-size: 55px; line-height: .65; }

.trigger-band {
  position: absolute;
  left: 465px;
  right: 64px;
  bottom: 43px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 18px 24px;
  border: 5px solid var(--black);
  border-radius: 18px;
  background: var(--violet);
  color: var(--white);
  box-shadow: 9px 9px 0 var(--black);
}
.trigger-band strong { font-family: "Arial Black", Helvetica, Arial, sans-serif; font-size: 30px; }
.trigger-band span { font-size: 18px; line-height: 1.22; font-weight: 700; }

.copilot-grid {
  margin-top: 33px;
  display: grid;
  grid-template-columns: 376px 1fr;
  gap: 60px;
}
.editor-card {
  height: 485px;
  overflow: hidden;
  border: 5px solid var(--black);
  border-radius: 24px;
  background: var(--terminal);
  color: var(--terminal-text);
  box-shadow: 12px 12px 0 var(--black);
}
.editor-chrome { height: 55px; display: flex; align-items: center; gap: 10px; padding: 0 21px; border-bottom: 2px solid #26333d; background: #17212a; }
.editor-chrome i { width: 14px; height: 14px; border-radius: 50%; background: #ff6f66; }
.editor-chrome i:nth-child(2) { background: #ffbd54; }
.editor-chrome i:nth-child(3) { background: #63cf65; }
.editor-chrome span { margin-left: 9px; font-size: 15px; color: #aebbc6; }
.editor-card pre { margin: 0; padding: 44px 39px; font-size: 25px; line-height: 1.75; }
.editor-card code b { color: #fff; }.editor-card code em { color: #b490ff; font-style: normal; }.editor-card code u { color: #a7dbba; text-decoration: none; }
.muted-code { color: #62717c; }
.completion-line { margin: -17px 40px 0; padding: 13px 18px; border: 2px solid #4b5c68; color: #a3b1bb; font-family: ui-monospace, monospace; font-size: 18px; }
.warning-band {
  position: absolute;
  left: 500px;
  right: 64px;
  bottom: 144px;
  padding: 17px 26px;
  border: 5px solid var(--black);
  background: var(--black);
  color: var(--white);
  font-size: 37px;
  text-align: center;
  transform: rotate(-.6deg);
}
.trigger-band.slim { left: 500px; bottom: 40px; }

/* Slide 5 */
.delegate-slide { padding: 0; display: grid; grid-template-columns: 445px 1fr; background: var(--violet); }
.delegate-sidebar { padding: 62px 35px; background: var(--grey); border-right: 6px solid var(--black); }
.delegate-sidebar .stage-card { width: 366px; }
.delegate-main { padding: 59px 71px 52px; color: var(--white); }
.delegate-main blockquote { margin-top: 43px; max-width: 1010px; font-size: 55px; line-height: 1.01; }
.delegate-detail { margin-top: 27px; max-width: 960px; font-size: 25px; line-height: 1.3; font-weight: 700; }
.guardrail-line { margin-top: 27px; padding: 19px 22px; border: 4px solid var(--white); font-size: 27px; }
.guardrail-line strong { font-family: "Arial Black", Helvetica, Arial, sans-serif; }
.intern-callout { margin-top: 28px; padding: 24px 28px; border: 5px solid var(--black); border-radius: 21px; background: var(--grey); color: var(--black); box-shadow: 10px 10px 0 var(--black); }
.intern-callout > span { display: block; font-size: 14px; font-weight: 900; letter-spacing: .12em; }
.intern-callout > strong { display: block; margin-top: 8px; font-family: "Arial Black", Helvetica, Arial, sans-serif; font-size: 27px; line-height: 1.1; }
.intern-callout > small { display: block; margin-top: 11px; font-size: 18px; font-weight: 800; }
.delegate-slide::after { color: rgba(255,255,255,.65); }

/* Slide 6 */
.factory-grid { margin-top: 27px; display: grid; grid-template-columns: 376px 1fr; gap: 74px; }
.harness-stack { padding: 0 15px; }
.harness-stack > div { min-height: 74px; display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 18px; padding: 11px 18px; border: 4px solid var(--black); border-radius: 18px; background: var(--white); box-shadow: 7px 7px 0 var(--black); }
.harness-stack > div > span { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; background: var(--violet); color: var(--white); font-weight: 900; }
.harness-stack > div > strong { font-family: "Arial Black", Helvetica, Arial, sans-serif; font-size: 27px; }
.harness-stack > div > small { font-size: 16px; font-weight: 800; color: var(--ink-soft); }
.harness-stack > i { display: block; height: 20px; color: var(--violet); text-align: center; font-style: normal; font-size: 24px; line-height: 18px; }
.metric-band { position: absolute; left: 514px; right: 64px; bottom: 38px; display: flex; align-items: center; justify-content: space-between; padding: 13px 25px; background: var(--black); color: var(--white); }
.metric-band > span { font-size: 14px; font-weight: 900; letter-spacing: .12em; }
.metric-band strong { color: #a983ff; font-size: 31px; }

/* Artifact slides */
.artifact-slide { padding: 42px 52px 42px; }
.artifact-heading { align-items: flex-end; }
.artifact-heading h2 { font-size: 52px; }
.artifact-heading > p { max-width: 590px; padding-bottom: 4px; font-size: 20px; line-height: 1.28; font-weight: 700; }
.artifact-frame { position: relative; margin-top: 25px; height: 665px; overflow: hidden; border: 5px solid var(--black); border-radius: 24px; background: var(--terminal); box-shadow: 11px 11px 0 var(--black); }
.artifact-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.artifact-frame.missing img { display: none; }
.capture-fallback { display: none; }
.artifact-frame.missing .capture-fallback,
.web-capture.missing .capture-fallback { display: flex; }
.headline-list { max-width: 520px; padding: 0 0 5px 22px; font-size: 17px; line-height: 1.42; font-weight: 800; }
.factory-floor-slide { padding: 42px 52px; }
.factory-floor-slide .artifact-heading h2 span { color: var(--violet); }
.factory-floor-slide .artifact-heading > p { font-size: 21px; line-height: 1.27; }
.factory-floor-slide .artifact-frame { height: 666px; }
.ship-slide .artifact-heading h2 span { color: var(--violet); }

/* Slide 9 */
.merge-grid { margin-top: 34px; display: grid; grid-template-columns: 1.32fr .68fr; gap: 50px; }
.merge-capture { height: 622px; margin-top: 0; }
.merge-capture img { object-position: top center; }
.merge-capture .capture-fallback { height: 100%; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; padding: 56px; color: var(--terminal-text); }
.github-mark { width: 84px; height: 84px; display: grid; place-items: center; border: 4px solid var(--terminal-text); border-radius: 50%; font-family: "Arial Black", sans-serif; font-size: 29px; }
.merge-capture .capture-fallback strong { font-family: "Arial Black", sans-serif; font-size: 40px; }
.merge-capture .capture-fallback span { width: 100%; padding: 17px 20px; border: 2px solid var(--terminal-line); border-radius: 12px; font-size: 21px; }
.merge-points { display: flex; flex-direction: column; gap: 17px; }
.merge-points > div:not(.mega-stat) { min-height: 130px; padding: 21px 24px; border: 4px solid var(--black); border-radius: 18px; background: var(--white); box-shadow: 7px 7px 0 var(--black); }
.merge-points > div > span { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; margin-right: 13px; border-radius: 50%; background: var(--violet); color: var(--white); font-weight: 900; }
.merge-points > div > strong { font-family: "Arial Black", sans-serif; font-size: 25px; }
.merge-points > div > small { display: block; margin: 10px 0 0 57px; font-size: 17px; line-height: 1.3; font-weight: 700; }
.mega-stat { margin-top: auto; padding: 22px 27px; border: 5px solid var(--black); border-radius: 22px; background: var(--violet); color: var(--white); box-shadow: 10px 10px 0 var(--black); }
.mega-stat strong { display: block; font-family: "Arial Black", sans-serif; font-size: 67px; line-height: .9; }
.mega-stat span { display: block; margin-top: 10px; background: none !important; width: auto !important; height: auto !important; justify-content: flex-start !important; color: var(--white) !important; font-size: 19px; }

/* Slide 13 */
.company-grid { margin-top: 28px; display: grid; grid-template-columns: 376px 1fr; gap: 53px; }
.company-main { min-width: 0; }
.web-capture { position: relative; height: 392px; overflow: hidden; border: 5px solid var(--black); border-radius: 21px; background: var(--terminal); box-shadow: 9px 9px 0 var(--black); }
.web-capture img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.web-capture.missing img { display: none; }
.workflow-fallback { height: 100%; flex-direction: column; justify-content: center; gap: 14px; padding: 45px; color: var(--white); }
.workflow-fallback span { color: #9babb8; font-size: 14px; font-weight: 900; letter-spacing: .12em; }
.workflow-fallback strong { padding: 15px 20px; border: 2px solid var(--terminal-line); border-radius: 12px; font-size: 27px; }
.company-points { margin-top: 26px; display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.company-points > span { min-height: 120px; padding: 19px 18px; border: 4px solid var(--black); border-radius: 17px; background: var(--white); font-family: "Arial Black", Helvetica, Arial, sans-serif; font-size: 18px; line-height: 1.2; box-shadow: 6px 6px 0 var(--black); }
.company-points b { color: var(--violet); }

/* Slide 14 */
.money-slide { padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.money-half { padding: 53px 52px 43px; }
.money-half h2 { margin-top: 14px; font-size: 54px; line-height: .98; }
.people-half { background: var(--violet); color: var(--white); border-right: 6px solid var(--black); }
.jena-capture { height: 370px; margin-top: 28px; background: var(--white); }
.jena-capture img { object-position: top center; }
.site-fallback { height: 100%; flex-direction: column; justify-content: center; padding: 45px; background: var(--white); color: var(--black); }
.site-fallback strong { font-family: "Arial Black", sans-serif; font-size: 64px; }
.site-fallback span { margin-top: 20px; font-size: 23px; line-height: 1.25; font-weight: 700; }
.money-half ul { margin-top: 29px; padding-left: 24px; font-size: 18px; line-height: 1.35; font-weight: 800; }
.money-half li + li { margin-top: 8px; }
.curve-half { background: var(--grey); }
.spend-curve { position: relative; height: 392px; margin-top: 34px; }
.spend-curve svg { width: 100%; height: 100%; overflow: visible; }
.spend-curve path.grid { stroke: var(--black); stroke-width: 4; fill: none; }
.spend-curve path.curve { stroke: var(--violet); stroke-width: 13; fill: none; stroke-linecap: round; }
.spend-curve circle { fill: var(--grey); stroke: var(--black); stroke-width: 5; }
.spend-curve text { font-family: "Arial Black", sans-serif; font-size: 13px; text-anchor: middle; }
.curve-label { position: absolute; padding: 8px 12px; border: 3px solid var(--black); border-radius: 12px; background: var(--white); font-family: "Arial Black", sans-serif; font-size: 17px; line-height: 1; box-shadow: 4px 4px 0 var(--black); }
.curve-label small { font-family: Helvetica, Arial, sans-serif; font-size: 11px; }
.curve-label.start { left: 19px; top: 267px; }
.curve-label.mid { left: 223px; top: 192px; }
.curve-label.end { right: 5px; top: 7px; background: var(--violet); color: var(--white); }
.curve-half ul { margin-top: 12px; color: var(--black); }
.money-slide::after { color: rgba(0,0,0,.5); }

/* Slide 15 */
.homework-list { margin-top: 43px; display: grid; grid-template-columns: .82fr 1.05fr 1.25fr; gap: 26px; }
.homework-list article { min-height: 326px; padding: 28px; border: 5px solid var(--black); border-radius: 23px; background: var(--white); box-shadow: 9px 9px 0 var(--black); }
.homework-list article > span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--violet); color: var(--white); font-weight: 900; }
.homework-list h3 { margin-top: 52px; font-size: 34px; line-height: .98; }
.homework-list p { margin-top: 15px; font-size: 20px; line-height: 1.35; font-weight: 700; }
.pointable-chain { position: absolute; left: 64px; right: 64px; bottom: 44px; }
.pointable-chain .mini-chain { grid-template-columns: 1fr 36px 1fr 36px 1fr 36px 1fr 36px 1fr; }
.pointable-chain .mini-form { height: 78px; padding: 11px; grid-template-columns: 38px 1fr; }
.pointable-chain .mini-form > span { width: 38px; height: 38px; border-width: 3px; }
.pointable-chain .mini-form strong { font-size: 15px; }
.placeholder-note { margin-top: 7px; color: var(--ink-soft); font-size: 12px; font-weight: 800; text-align: center; }

/* Audience controls */
.audience-controls {
  position: fixed;
  left: 50%;
  bottom: 17px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  transform: translateX(-50%);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(0,0,0,.78);
  color: #fff;
  opacity: 0;
  transition: opacity .18s ease;
}
.audience-controls:hover,
.audience-controls:focus-within { opacity: 1; }
.audience-controls button { width: 37px; height: 34px; border: 0; border-radius: 999px; background: #2a2a2a; color: #fff; cursor: pointer; }
.audience-controls button:hover { background: var(--violet); }
.audience-controls .counter { min-width: 65px; text-align: center; font-size: 13px; font-weight: 800; }
.audience-controls .text-button { width: auto; padding: 0 14px; }
.embed .audience-controls { display: none; }

/* Presenter */
body.presenter-body { overflow: auto; background: #111; color: #fff; }
.presenter-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(620px, 1.25fr) minmax(440px, .75fr); }
.presenter-visuals { padding: 24px; display: grid; grid-template-rows: 1fr auto; gap: 20px; background: #1b1b1b; }
.preview-viewport { min-height: 470px; position: relative; display: grid; place-items: center; overflow: hidden; border: 1px solid #383838; border-radius: 14px; background: #090909; }
.preview-stage { position: absolute; width: 1600px; height: 900px; transform-origin: center center; }
.next-preview-row { display: grid; grid-template-columns: 290px 1fr; gap: 18px; align-items: center; }
.next-viewport { width: 290px; height: 163px; position: relative; overflow: hidden; border: 1px solid #383838; border-radius: 9px; background: #090909; }
.next-viewport .preview-stage { transform-origin: top left; }
.presenter-progress { min-width: 0; }
.presenter-progress strong { display: block; font-family: "Arial Black", sans-serif; font-size: 22px; }
.presenter-progress span { display: block; margin-top: 7px; color: #a8a8a8; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.presenter-notes { padding: 30px 34px; display: flex; flex-direction: column; border-left: 1px solid #333; background: #101010; }
.presenter-topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.presenter-count { color: #aaa; font-size: 14px; font-weight: 800; letter-spacing: .08em; }
.presenter-timer { font-family: ui-monospace, monospace; font-size: 20px; }
.presenter-notes h1 { margin-top: 44px; font-size: 41px; line-height: 1.02; }
.presenter-notes-label { margin-top: 36px; color: #8d69ff; font-size: 13px; font-weight: 900; letter-spacing: .15em; }
.presenter-note-copy { margin-top: 14px; font-size: 25px; line-height: 1.44; }
.presenter-actions { margin-top: auto; display: grid; grid-template-columns: auto auto 1fr auto; gap: 10px; padding-top: 24px; }
.presenter-actions button { border: 1px solid #474747; border-radius: 9px; padding: 12px 16px; background: #232323; color: #fff; cursor: pointer; font-weight: 800; }
.presenter-actions button:hover { background: var(--violet); border-color: var(--violet); }
.presenter-actions .open-audience { grid-column: 4; }
.presenter-help { margin-top: 18px; color: #777; font-size: 12px; line-height: 1.5; }

@media (max-width: 1050px) {
  .presenter-shell { grid-template-columns: 1fr; }
  .presenter-notes { min-height: 650px; border-left: 0; border-top: 1px solid #333; }
}

@media print {
  html, body { overflow: visible; background: #fff; }
  .audience-shell { position: static; display: block; }
  .stage-wrap { width: 1600px !important; height: 900px !important; transform: none !important; page-break-after: always; }
  .audience-controls { display: none; }
}
