/* Decision-Grade slide engine — presentation + SCORM.
   One <section class="slide"> shown at a time; 16:9 stage scaled to the viewport. */

:root {
  --dg-red: #c8102e;
  --dg-red-dark: #9b0c23;
  --dg-ink: #14110f;
  --dg-gray: #f3f4f6;
  --dg-gray-line: #d7d9dd;
  --dg-red-tint: #fbe9ec;
  --slide-w: 1280px;
  --slide-h: 720px;
  --slide-half-w: 640px;
  --slide-half-h: 360px;
  --dg-font: "Helvetica Neue", Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: #1b1b1b;
  font-family: var(--dg-font);
  color: var(--dg-ink);
}

#deck {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

/* The 16:9 stage; JS sets --scale to fit the viewport. */
#stage {
  width: var(--slide-w);
  height: var(--slide-h);
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: calc(-1 * var(--slide-half-w));
  margin-top: calc(-1 * var(--slide-half-h));
  transform: scale(var(--scale, 1));
  transform-origin: center center;
  background: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

body[data-render="video"] #deck { background: #fff; }
body[data-render="video"] #stage { transform: none; box-shadow: none; }

.slide {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  padding: 64px 80px 72px;
  overflow: hidden;
}
.slide.active { display: flex; }

.slide h1 { font-size: 52px; line-height: 1.08; margin: 0 0 20px; color: var(--dg-ink); }
.slide h2 { font-size: 38px; line-height: 1.12; margin: 0 0 24px; color: var(--dg-ink); }
.slide p, .slide li { font-size: 24px; line-height: 1.45; }
.slide ul { margin: 0; padding-left: 1.1em; }
.slide li { margin-bottom: 12px; }
.slide ul ul { margin-top: 10px; }
.slide ul ul li { font-size: 21px; color: #3b3b3b; }
.slide strong { color: var(--dg-red-dark); }

.slide ul.compact-list li {
  font-size: 21px;
  line-height: 1.26;
  margin-bottom: 7px;
}
.slide ul.compact-list ul { margin-top: 5px; }
.slide ul.compact-list ul li {
  font-size: 18px;
  line-height: 1.24;
  margin-bottom: 5px;
}

/* Title + section dividers: red full-bleed, white text. */
.slide[data-kind="title"],
.slide[data-kind="section"] {
  background: var(--dg-red);
  color: #fff;
  justify-content: center;
}
.slide[data-kind="title"] h1,
.slide[data-kind="section"] h1,
.slide[data-kind="title"] h2,
.slide[data-kind="section"] h2 { color: #fff; }
.slide[data-kind="title"] .kicker,
.slide[data-kind="section"] .kicker { color: rgba(255,255,255,0.85); }

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 16px;
  font-weight: 700;
  color: var(--dg-red);
  margin: 0 0 16px;
}

/* Activity slides get a tinted panel + badge. */
.slide[data-kind="activity"] { background: var(--dg-red-tint); }
.slide[data-kind="activity"]::before {
  content: "ACTIVITY";
  position: absolute;
  top: 28px; right: 40px;
  background: var(--dg-red);
  color: #fff;
  font-size: 14px; font-weight: 700; letter-spacing: 0.12em;
  padding: 6px 12px; border-radius: 4px;
}

/* Reusable content panels. */
.panel { background: var(--dg-gray); border-radius: 10px; padding: 22px 26px; }
.panel--red { background: var(--dg-red-tint); border-left: 5px solid var(--dg-red); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

table.dg { border-collapse: collapse; width: 100%; font-size: 19px; }
table.dg th, table.dg td { border: 1px solid var(--dg-gray-line); padding: 8px 12px; text-align: left; }
table.dg th { background: var(--dg-gray); }
table.dg td:first-child { font-weight: 700; }
table.dg.compact-table { font-size: 15px; }
table.dg.compact-table th,
table.dg.compact-table td { padding: 5px 7px; vertical-align: top; }

/* Footer branding. */
.slide .footer {
  position: absolute;
  left: 80px; right: 80px; bottom: 26px;
  display: flex; justify-content: space-between;
  font-size: 14px; color: #8a8f98;
  border-top: 1px solid var(--dg-gray-line);
  padding-top: 10px;
}
.slide[data-kind="title"] .footer,
.slide[data-kind="section"] .footer { color: rgba(255,255,255,0.75); border-top-color: rgba(255,255,255,0.3); }

/* Chrome: progress bar + controls (hidden in SCORM/print). */
#chrome {
  position: fixed; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 14px;
  padding: 8px 16px;
  background: rgba(20,17,15,0.78);
  color: #fff; font-size: 14px;
  z-index: 10;
}
#chrome button,
#chrome a {
  background: var(--dg-red); color: #fff; border: 0;
  padding: 6px 14px; border-radius: 5px; cursor: pointer; font-size: 14px;
  font-family: var(--dg-font); text-decoration: none;
}
#chrome button:disabled { opacity: 0.4; cursor: default; }
#progress { flex: 1; height: 4px; background: rgba(255,255,255,0.25); border-radius: 2px; }
#progress > span { display: block; height: 100%; background: var(--dg-red); border-radius: 2px; width: 0; }
#counter { font-variant-numeric: tabular-nums; min-width: 64px; text-align: right; }

/* Image + text layouts (recreated from the source deck). */
.split { display: flex; gap: 40px; align-items: flex-start; }
.split .media { flex: 0 0 auto; }
.split .media img { display: block; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.18); }
.split .body { flex: 1; min-width: 0; }
.split .body ul { font-size: 19px; }
.split .body li { margin-bottom: 7px; }
.chords-split { gap: 28px; align-items: center; }
.chords-split .body { flex: 1 1 620px; }
.chords-split .body li { margin-bottom: 6px; }
.chords-split .body ul ul li { font-size: 19px; line-height: 1.28; }
.split .chords-media { flex: 0 0 430px; width: 430px; max-width: 430px; }
.split .chords-media img { width: 100%; height: auto; border-radius: 0; box-shadow: none; }
.name-lead { color: var(--dg-red); font-size: 40px; font-weight: 800; margin: 0 0 4px; line-height: 1.05; }
.lead-sub { font-size: 22px; font-weight: 700; margin: 0 0 16px; }
.note-line { color: var(--dg-red); font-style: italic; font-size: 20px; margin: 14px 0 0; }

/* Statement slide: one big idea, not bullets. */
.slide.statement { justify-content: center; }
.statement-text { font-size: 40px; line-height: 1.22; font-weight: 700; max-width: 1040px; }
.statement-text .q { color: var(--dg-red); }
.statement-note { font-size: 23px; font-weight: 400; color: #444; margin-top: 22px; max-width: 940px; }

/* Red bold lead-in list (matches the source deck's emphasis). */
ul.leads li { margin-bottom: 16px; }
ul.leads li strong { color: var(--dg-red); }
.closing-note { font-style: italic; font-size: 22px; line-height: 1.4; margin: 22px 0 0; }

/* Inline highlight chip — brand-red echo of the source deck's yellow labels. */
.hl { display: inline-block; background: var(--dg-red-tint); color: var(--dg-red-dark); font-weight: 700; padding: 2px 10px; border-radius: 4px; }
.group-head { margin: 16px 0 4px; }
.group-head:first-of-type { margin-top: 4px; }

/* Escalation tiers: ascending blocks, red deepening with severity. */
.escalation { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 18px; flex: 1; margin-top: 4px; }
.esc { border-radius: 8px; padding: 16px 20px 20px; }
.esc .tier { display: block; text-transform: uppercase; letter-spacing: 0.07em; font-size: 14px; font-weight: 700; margin-bottom: 4px; color: var(--dg-red-dark); }
.esc h3 { font-size: 23px; margin: 0 0 8px; line-height: 1.14; color: var(--dg-ink); }
.esc p { font-size: 17px; line-height: 1.34; margin: 0; color: #3b3b3b; }
.esc-1 { height: 52%; background: var(--dg-red-tint); }
.esc-2 { height: 74%; background: #ee93a1; }
.esc-3 { height: 95%; background: var(--dg-red); }
.esc-3 .tier { color: rgba(255,255,255,0.85); }
.esc-3 h3 { color: #fff; }
.esc-3 p { color: rgba(255,255,255,0.92); }
.esc-axis-top { text-align: right; font-style: italic; font-size: 17px; color: #6b6b6b; margin: 6px 0 0; }
.esc-axis-bottom { font-style: italic; font-size: 17px; color: #6b6b6b; margin: 8px 0 0; }

/* Role cards: numbered badges + short descriptions, with a summary callout. */
.role-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 6px; }
.role-card { border: 1.5px solid var(--dg-gray-line); border-radius: 10px; padding: 18px 14px 16px; text-align: center; }
.role-card .badge {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--dg-red); color: #fff;
  font-size: 24px; font-weight: 800; line-height: 46px;
  margin: 0 auto 12px;
}
.role-card h3 { font-size: 21px; margin: 0 0 8px; color: var(--dg-ink); }
.role-card p { font-size: 16px; line-height: 1.32; margin: 0; color: #3b3b3b; }
.role-callout { margin-top: 22px; font-style: italic; font-size: 19px; line-height: 1.42; }

/* Effort matrix: artefact columns x before/after rows, bars sized by effort. */
.effort { margin-top: 16px; }
.effort-row { display: grid; grid-template-columns: 160px repeat(4, 1fr); align-items: center; column-gap: 16px; margin-bottom: 18px; }
.effort-head { font-size: 20px; font-weight: 700; text-align: left; }
.effort-rowlabel strong { display: block; font-size: 23px; }
.effort-rowlabel span { font-size: 15px; font-style: italic; color: #6b6b6b; }
.bar { height: 54px; border-radius: 8px; display: flex; align-items: center; padding: 0 14px; font-weight: 700; font-size: 18px; }
.bar.before { background: var(--dg-red); color: #fff; }
.bar.after { background: var(--dg-gray); color: #555; width: 64px; justify-content: center; padding: 0; }
.bar.w-max { width: 100%; }
.bar.w-high { width: 76%; }
.bar.w-med { width: 54%; }
.bar.w-low { width: 34%; }
.effort-note { margin-top: 4px; font-style: italic; font-size: 18px; line-height: 1.42; color: #444; }

/* Staircase steps: ascending panels with large translucent numerals. */
.stairs { display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; gap: 16px; flex: 1; margin-top: 14px; }
.step { background: var(--dg-red-tint); border-bottom: 4px solid var(--dg-red); border-radius: 8px 8px 0 0; padding: 16px 18px 18px; }
.step:nth-child(1) { height: 40%; }
.step:nth-child(2) { height: 58%; }
.step:nth-child(3) { height: 78%; }
.step:nth-child(4) { height: 96%; }
.step .num { font-size: 84px; font-weight: 800; color: rgba(200,16,46,0.22); line-height: 0.78; margin-bottom: 8px; }
.step p { font-size: 20px; font-weight: 700; line-height: 1.26; margin: 0; }

/* Building Data Literacy sessions: closer to the source decks without GA marks. */
body[data-deck^="individual-contributor"] {
  --bdl-teal: #0aa6b4;
  --bdl-dark: #202020;
  --bdl-yellow: #ffd500;
}

body[data-deck^="individual-contributor"] .slide {
  background: #fff;
  padding: 58px 78px 70px;
}

body[data-deck^="individual-contributor"] .slide[data-kind="content"]::before,
body[data-deck^="individual-contributor"] .slide[data-kind="takeaway"]::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 78px;
  width: 50px;
  height: 9px;
  background: var(--dg-red);
}

body[data-deck^="individual-contributor"] .slide[data-kind="content"] h1,
body[data-deck^="individual-contributor"] .slide[data-kind="takeaway"] h1 {
  font-size: 43px;
  line-height: 1.08;
  margin-bottom: 22px;
  max-width: 1140px;
}

body[data-deck^="individual-contributor"] .slide p,
body[data-deck^="individual-contributor"] .slide li {
  font-size: 25px;
  line-height: 1.34;
}

body[data-deck^="individual-contributor"] .slide li::marker { color: var(--dg-red); }
body[data-deck^="individual-contributor"] .slide > ul > li { margin-bottom: 10px; }
body[data-deck^="individual-contributor"] .slide > ul > li strong { color: var(--dg-red); }
body[data-deck^="individual-contributor"] .slide ul ul li {
  font-size: 21px;
  line-height: 1.34;
}

body[data-deck^="individual-contributor"] .slide ul.compact-list li {
  font-size: 21px;
  line-height: 1.24;
  margin-bottom: 7px;
}

body[data-deck^="individual-contributor"] .slide ul.compact-list ul li {
  font-size: 18px;
  line-height: 1.22;
  margin-bottom: 5px;
}

body[data-deck^="individual-contributor"] .kicker {
  letter-spacing: 0;
  font-size: 25px;
  line-height: 1.12;
  color: var(--dg-red);
}

body[data-deck^="individual-contributor"] .slide .footer {
  left: 78px;
  right: 78px;
  bottom: 24px;
  border-top: 0;
  padding-top: 0;
  color: #222;
  font-size: 15px;
}

body[data-deck^="individual-contributor"] .slide .footer::after {
  content: "DG";
  position: absolute;
  right: 0;
  bottom: -3px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dg-red);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

body[data-deck^="individual-contributor"] .slide .footer span:first-child { display: none; }

body[data-deck^="individual-contributor"] .slide[data-kind="title"] {
  padding: 0;
  background: var(--dg-red);
  justify-content: flex-start;
}

body[data-deck^="individual-contributor"] .slide[data-kind="title"]::before {
  content: "";
  position: absolute;
  left: 86px;
  top: 240px;
  width: 70px;
  height: 12px;
  background: #fff;
}

body[data-deck^="individual-contributor"] .slide[data-kind="title"] > p:not(.kicker):not(.title-meta) {
  position: absolute;
  left: 86px;
  top: 196px;
  margin: 0;
  color: #fff;
  font-size: 31px;
  line-height: 1.1;
}

body[data-deck^="individual-contributor"] .slide[data-kind="title"] .kicker {
  position: absolute;
  left: 86px;
  top: 365px;
  margin: 0;
  color: #fff;
  font-size: 38px;
  font-weight: 800;
  text-transform: none;
}

body[data-deck^="individual-contributor"] .slide[data-kind="title"] h1 {
  position: absolute;
  left: 86px;
  top: 294px;
  margin: 0;
  color: #fff;
  font-size: 66px;
  line-height: 0.98;
  max-width: 980px;
}

body[data-deck^="individual-contributor"] .title-meta {
  position: absolute;
  left: 86px;
  right: 86px;
  bottom: 58px;
  display: flex;
  align-items: flex-end;
  gap: 56px;
  margin: 0;
  color: #111;
  font-size: 18px;
  line-height: 1.2;
}

body[data-deck^="individual-contributor"] .title-meta span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #111;
}

body[data-deck^="individual-contributor"] .title-meta span::before {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 5px solid rgba(255,255,255,0.92);
}

body[data-deck^="individual-contributor"] .slide[data-kind="title"] .footer {
  left: auto;
  right: 84px;
  bottom: 22px;
  width: 240px;
  color: rgba(255,255,255,0.86);
  justify-content: flex-end;
}

body[data-deck^="individual-contributor"] .slide[data-kind="title"] .footer::after { display: none; }

body[data-deck^="individual-contributor"] .slide[data-kind="section"],
body[data-deck^="individual-contributor"] .slide.roadmap-slide {
  background: var(--bdl-dark);
  color: #fff;
  padding: 78px 78px 70px;
}

body[data-deck^="individual-contributor"] .slide[data-kind="section"]::before,
body[data-deck^="individual-contributor"] .slide.roadmap-slide::before {
  content: "";
  position: absolute;
  top: 238px;
  left: 86px;
  width: 70px;
  height: 12px;
  background: #fff;
}

body[data-deck^="individual-contributor"] .slide[data-kind="section"] h1,
body[data-deck^="individual-contributor"] .slide.roadmap-slide h1 {
  color: #fff;
  font-size: 44px;
  font-weight: 500;
  margin: 124px 0 14px;
}

body[data-deck^="individual-contributor"] .slide[data-kind="section"] p,
body[data-deck^="individual-contributor"] .slide.roadmap-slide p,
body[data-deck^="individual-contributor"] .slide.roadmap-slide li {
  color: #fff;
}

body[data-deck^="individual-contributor"] .slide[data-kind="section"] .footer,
body[data-deck^="individual-contributor"] .slide.roadmap-slide .footer {
  color: rgba(255,255,255,0.78);
}

body[data-deck^="individual-contributor"] .slide[data-kind="section"] .footer::after,
body[data-deck^="individual-contributor"] .slide.roadmap-slide .footer::after {
  background: var(--dg-red);
}

body[data-deck^="individual-contributor"] .slide[data-kind="activity"] {
  background: #fff;
  padding: 182px 78px 70px;
}

body[data-deck^="individual-contributor"] .slide[data-kind="activity"]::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 124px;
  background: var(--bdl-teal);
  border-radius: 0;
  padding: 0;
}

body[data-deck^="individual-contributor"] .slide[data-kind="activity"] h1 {
  position: absolute;
  z-index: 1;
  top: 28px;
  left: 86px;
  right: 120px;
  margin: 0;
  color: #050505;
  font-size: 44px;
  line-height: 1.08;
  font-weight: 500;
}

body[data-deck^="individual-contributor"] .slide[data-kind="activity"] .activity-kicker {
  position: absolute;
  z-index: 1;
  top: 23px;
  left: 86px;
  color: #050505;
  font-size: 23px;
  font-weight: 800;
}

body[data-deck^="individual-contributor"] .slide[data-kind="activity"] .activity-kicker + h1 {
  top: 56px;
}

.roadmap-lede {
  max-width: 1080px;
  font-size: 29px;
  line-height: 1.24;
  font-weight: 800;
  margin: 0 0 82px;
}

.roadmap-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--roadmap-count, 6), 1fr);
  gap: 12px;
  margin-top: 86px;
}

.roadmap-track::before {
  content: "";
  position: absolute;
  left: 42px;
  right: 42px;
  top: 22px;
  height: 6px;
  background: #9b9b9b;
}

.roadmap-item {
  position: relative;
  padding-top: 64px;
  text-align: center;
  font-size: 25px;
  line-height: 1.18;
  color: #fff;
}

.roadmap-dot {
  position: absolute;
  top: 0;
  left: calc(50% - 20px);
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #a6a6a6;
}

.roadmap-item.is-current .roadmap-dot {
  background: var(--bdl-yellow);
  border: 12px solid #9a9a9a;
  width: 54px;
  height: 54px;
  top: -7px;
  left: calc(50% - 27px);
}

.goal-grid,
.check-grid,
.lane-cards,
.team-cards,
.session-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 12px;
}

.goal-card,
.check-card,
.lane-card,
.team-card,
.session-card {
  border: 1.5px solid var(--dg-gray-line);
  border-radius: 8px;
  padding: 18px 18px 20px;
  background: #fff;
}

.goal-card h3,
.check-card h3,
.lane-card h3,
.team-card h3,
.session-card h3 {
  margin: 0 0 10px;
  color: var(--dg-red);
  font-size: 24px;
  line-height: 1.12;
}

.goal-card p,
.check-card p,
.lane-card p,
.team-card p,
.session-card p {
  margin: 0;
  font-size: 18px !important;
  line-height: 1.34 !important;
}

.goal-grid.cols-3,
.team-cards,
.session-cards {
  grid-template-columns: repeat(3, 1fr);
}

.goal-grid.cols-2,
.clock-compare {
  grid-template-columns: repeat(2, 1fr);
}

.lane-cards { grid-template-columns: repeat(5, 1fr); }
.lane-card { padding: 16px 14px 18px; }
.lane-card h3 { font-size: 20px; }
.lane-card p { font-size: 16px !important; }

.numbered-steps {
  counter-reset: bdl-step;
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.numbered-steps li {
  counter-increment: bdl-step;
  position: relative;
  padding: 0 0 0 72px;
  margin-bottom: 19px !important;
}

.numbered-steps li::before {
  content: counter(bdl-step) ".";
  position: absolute;
  left: 0;
  top: -2px;
  color: #111;
  font-size: 28px;
  font-weight: 800;
}

.numbered-steps strong,
.hl-yellow {
  background: var(--bdl-yellow);
  color: #111 !important;
  padding: 0 4px;
}

.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.25;
  overflow: hidden;
  border: 1px solid var(--dg-gray-line);
  border-radius: 8px;
}

.data-table th,
.data-table td {
  padding: 10px 13px;
  border-bottom: 1px solid var(--dg-gray-line);
  vertical-align: top;
  text-align: left;
}

.data-table tr:last-child td { border-bottom: 0; }
.data-table th { background: var(--dg-red); color: #fff; font-weight: 800; }
.data-table td:first-child { font-weight: 800; color: var(--dg-red-dark); width: 24%; }

.passport-fields {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.passport-fields span {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--dg-red-tint);
  border-bottom: 4px solid var(--dg-red);
  border-radius: 8px 8px 0 0;
  padding: 10px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.16;
}

.clock-compare {
  display: grid;
  gap: 24px;
  margin: 22px 0 18px;
}

.clock-card {
  border: 2px solid var(--dg-gray-line);
  border-radius: 8px;
  padding: 20px 24px;
}

.clock-card h3 {
  margin: 0 0 10px;
  font-size: 28px;
  color: var(--dg-red);
}

.clock-card p {
  margin: 0;
  font-size: 23px !important;
}

.big-statement {
  font-size: 34px !important;
  line-height: 1.22 !important;
  font-weight: 800;
  margin: 0 0 22px;
}

.compact-note {
  font-size: 20px !important;
  color: #444;
  font-style: italic;
  line-height: 1.35 !important;
}

body[data-deck^="individual-contributor"] .statement-text {
  font-size: 40px !important;
  line-height: 1.22 !important;
}

body[data-deck^="individual-contributor"] .statement-note {
  font-size: 23px !important;
  line-height: 1.34 !important;
}

body[data-deck^="individual-contributor"] .name-lead {
  font-size: 40px !important;
  line-height: 1.05 !important;
}

body[data-deck^="individual-contributor"] .lead-sub {
  font-size: 22px !important;
  line-height: 1.18 !important;
}

body[data-deck^="individual-contributor"] .split .body li {
  font-size: 19px;
  line-height: 1.32;
  margin-bottom: 7px;
}

body[data-deck^="individual-contributor"] .source-image-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 39%);
  gap: 28px;
  align-items: center;
  flex: 1;
  min-height: 0;
}

body[data-deck^="individual-contributor"] .source-image-split--wide {
  grid-template-columns: minmax(0, 0.95fr) minmax(400px, 1fr);
}

body[data-deck^="individual-contributor"] .source-image-split--portrait {
  grid-template-columns: minmax(0, 1fr) 260px;
}

body[data-deck^="individual-contributor"] .source-image-split--tall {
  grid-template-columns: minmax(0, 1fr) 230px;
}

body[data-deck^="individual-contributor"] .source-image-copy {
  min-width: 0;
}

body[data-deck^="individual-contributor"] .source-image-copy li {
  font-size: 20px;
  line-height: 1.26;
  margin-bottom: 7px;
}

body[data-deck^="individual-contributor"] .source-image-copy ul ul li {
  font-size: 17px;
  line-height: 1.2;
  margin-bottom: 4px;
}

body[data-deck^="individual-contributor"] .source-image-media {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  min-height: 0;
}

body[data-deck^="individual-contributor"] .source-image-media img {
  display: block;
  max-width: 100%;
  max-height: 430px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

body[data-deck^="individual-contributor"] .source-image-media--portrait img {
  max-height: 470px;
}

body[data-deck^="individual-contributor"] .source-image-media--wide img {
  max-height: 350px;
}

body[data-deck^="individual-contributor"] .source-image-media--section img {
  max-height: 360px;
}

body[data-deck^="individual-contributor"] .note-line {
  font-size: 20px !important;
  line-height: 1.32 !important;
}

body[data-deck^="individual-contributor"] .role-card h3 {
  font-size: 21px;
}

body[data-deck^="individual-contributor"] .role-card p {
  font-size: 16px !important;
  line-height: 1.32 !important;
}

body[data-deck^="individual-contributor"] .role-callout {
  font-size: 18px !important;
  line-height: 1.35 !important;
}

audio.narration { display: none; }

body[data-delivery="presentation"] .elearning-only { display: none !important; }
body[data-delivery="elearning"] [data-delivery="presentation"] { display: none !important; }
body.chrome-off #chrome,
body.chrome-off #qa-panel { display: none !important; }

#subtitle-panel {
  position: absolute;
  left: 90px;
  right: 90px;
  bottom: 52px;
  z-index: 8;
  max-height: 104px;
  overflow: auto;
  background: rgba(20, 17, 15, 0.88);
  color: #fff;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 23px;
  line-height: 1.32;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
}
#subtitle-panel[hidden] { display: none; }
body[data-render="video"] #subtitle-panel { bottom: 18px; }

#subtitle-toggle[aria-pressed="true"] { background: #fff; color: var(--dg-red-dark); }

#qa-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
#qa-form[hidden] { display: none; }
#qa-input {
  width: 250px;
  min-width: 190px;
  height: 31px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 5px;
  padding: 6px 10px;
  font-size: 14px;
  font-family: var(--dg-font);
  color: var(--dg-ink);
  background: #fff;
}
#qa-panel {
  position: fixed;
  right: 18px;
  bottom: 56px;
  z-index: 12;
  width: min(520px, calc(100vw - 36px));
  max-height: 46vh;
  overflow: auto;
  background: #fff;
  color: var(--dg-ink);
  border: 1px solid var(--dg-gray-line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(0,0,0,0.34);
  padding: 18px 20px;
  font-size: 16px;
}
#qa-panel[hidden] { display: none; }
#qa-close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #555;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
#qa-answer {
  white-space: pre-wrap;
  line-height: 1.45;
  padding-right: 18px;
}

@media print {
  #chrome { display: none; }
  #stage { transform: none; box-shadow: none; }
  .slide { position: relative; display: flex; page-break-after: always; }
}
