:root {
  --ink: #2d2d2d;
  --muted: #626262;
  --faint: #b7b7b7;
  --line: #d8d8d8;
  --base: #fff;
  --paper: #fff;
  --soft: #f7f7f7;
  --accent: #bf0000;
  --accent-soft: #f4dede;

  /* Grid system: 16:9 canvas, 12-column rhythm, 8% optical margins. */
  --slide-w: min(100vw, calc(100vh * 16 / 9));
  --slide-h: min(56.25vw, 100vh);
  --margin-x: 5.4cqw;
  --margin-top: 1.55cqw;
  --margin-bottom: 1.35cqw;
  --footer-h: 1.7cqw;
  --header-h: 2.45cqw;
  --title-h: 7.85cqw;
  --summary-h: 2.9cqw;
  --rule: .06cqw;

  --gap-xs: .68cqw;
  --gap-sm: 1.25cqw;
  --gap-md: 2.1cqw;
  --gap-lg: 3cqw;
  --gap-xl: 3.4cqw;

  --cols-1: minmax(0, 1fr);
  --cols-2: repeat(2, minmax(0, 1fr));
  --cols-3: repeat(3, minmax(0, 1fr));
  --cols-4: repeat(4, minmax(0, 1fr));
  --cols-5: repeat(5, minmax(0, 1fr));

  --text-measure-tight: 58%;
  --text-measure-main: 62%;
  --text-measure-wide: 76%;
  --text-measure-box: 74%;

  --fs-footer: .88cqw;
  --fs-meta: 1.05cqw;
  --fs-small: 1.48cqw;
  --fs-body: 1.92cqw;
  --fs-list: 2.02cqw;
  --fs-lead: 2.25cqw;
  --fs-card-title: 2.18cqw;
  --fs-statement: 3.05cqw;
  --fs-title: 3.15cqw;
  --fs-number: 4.15cqw;
  --fs-hero: 5.25cqw;
  --fs-metric: 6.9cqw;
}

@font-face {
  font-family: "Noto Sans JP";
  src: url("../assets/fonts/NotoSansJP-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans JP";
  src: url("../assets/fonts/NotoSansJP-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

* { box-sizing: border-box; }

html,
body,
.deck,
.slide-stage,
.slide {
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  font-synthesis: none;
  font-weight: 400;
  line-break: strict;
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
  background: #fff;
}

button {
  color: inherit;
  font: inherit;
}

.deck {
  width: 100vw;
  height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
}

.slide-stage {
  position: relative;
  width: var(--slide-w);
  height: var(--slide-h);
  aspect-ratio: 16 / 9;
  background: var(--paper);
  overflow: hidden;
  container-type: inline-size;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: var(--header-h) var(--title-h) var(--summary-h) 1fr var(--footer-h);
  padding: var(--margin-top) var(--margin-x) var(--margin-bottom);
  container-type: inline-size;
  background: var(--paper);
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.slide-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  color: var(--muted);
  font-size: var(--fs-meta);
  font-weight: 400;
  letter-spacing: .08em;
}

.slide-header span:last-child {
  display: none;
}

.slide-title {
  display: grid;
  grid-template-columns: var(--cols-1);
  align-content: start;
  justify-self: center;
  gap: var(--gap-xs);
  width: 92%;
  max-width: 92%;
  text-align: center;
}

.slide-title p {
  margin: 0;
  color: var(--accent);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.slide-title h1 {
  display: block;
  margin: 0;
  color: var(--ink);
  font-size: var(--fs-title);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .72cqw;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.25;
  text-align: center;
}

.summary span {
  display: block;
  width: 1.5cqw;
  height: .16cqw;
  flex: 0 0 auto;
  background: var(--accent);
}

.slide-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding-top: var(--gap-xs);
}

.slide-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  color: #343434;
  font-family: "Noto Sans JP", sans-serif;
  font-size: var(--fs-footer);
  font-weight: 400;
  letter-spacing: .12em;
}

.slide-footer span:first-child {
  letter-spacing: .04em;
}

.slide-source,
.slide-sources {
  position: absolute;
  left: var(--margin-x);
  bottom: 3.35cqw;
  max-width: 64%;
  color: var(--muted);
  font-size: .72cqw;
  line-height: 1.3;
  text-decoration: none;
}

.slide-source::before {
  content: "Source: ";
}

.slide-sources::before {
  content: "Sources: ";
}

.slide-sources a,
.slide-sources span {
  color: inherit;
  text-decoration: none;
}

.slide[data-layout="title"],
.slide[data-layout="sectionDivider"] {
  grid-template-rows: 1fr var(--footer-h);
}

.slide[data-layout="sectionDivider"],
.slide[data-layout="agenda"] {
  background: #050505;
}

.slide[data-layout="sectionDivider"] .section-cover p,
.slide[data-layout="sectionDivider"] .section-cover h2,
.slide[data-layout="sectionDivider"] .section-cover span,
.slide[data-layout="sectionDivider"] .slide-footer,
.slide[data-layout="agenda"] .slide-header,
.slide[data-layout="agenda"] .slide-title p,
.slide[data-layout="agenda"] .slide-title h1,
.slide[data-layout="agenda"] .summary,
.slide[data-layout="agenda"] .agenda-item b,
.slide[data-layout="agenda"] .agenda-item strong,
.slide[data-layout="agenda"] .agenda-item span,
.slide[data-layout="agenda"] .slide-footer {
  color: #fff;
}

.slide[data-layout="sectionDivider"] .section-cover p,
.slide[data-layout="agenda"] .slide-header,
.slide[data-layout="agenda"] .slide-title p,
.slide[data-layout="agenda"] .summary,
.slide[data-layout="agenda"] .agenda-item span {
  color: rgba(255, 255, 255, .7);
}

.slide[data-layout="sectionDivider"] .section-cover span {
  color: rgba(255, 255, 255, .82);
}

.slide[data-layout="agenda"] .agenda-item {
  border-top-color: rgba(255, 255, 255, .32);
}

.slide[data-layout="agenda"] .agenda-grid {
  grid-template-columns: var(--cols-3);
  gap: var(--gap-lg) var(--gap-md);
}

.slide[data-layout="agenda"] .agenda-item {
  min-height: 10.8cqw;
}

.slide[data-layout="title"] .slide-header,
.slide[data-layout="title"] .slide-title,
.slide[data-layout="title"] .summary,
.slide[data-layout="sectionDivider"] .slide-header,
.slide[data-layout="sectionDivider"] .slide-title,
.slide[data-layout="sectionDivider"] .summary {
  display: none;
}

.slide[data-layout="title"] .slide-content,
.slide[data-layout="sectionDivider"] .slide-content {
  padding-top: 0;
}

.title-cover,
.section-cover {
  position: relative;
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: calc(var(--margin-x) - 1.1cqw);
}

.section-cover {
  align-items: center;
  padding-left: 0;
  text-align: center;
}

.section-cover h2,
.section-cover span {
  width: 86%;
  text-align: center;
}

.title-cover p,
.section-cover p {
  margin: 0 0 calc(var(--gap-md) * .56);
  color: var(--muted);
  font-size: var(--fs-body);
  font-weight: 400;
  letter-spacing: .02em;
}

.title-cover h2,
.section-cover h2 {
  margin: 0;
  width: var(--text-measure-main);
  color: var(--ink);
  font-size: var(--fs-hero);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0;
}

.title-cover h2 {
  width: 80%;
}

.slide[data-layout="title"] {
  padding: 0 0 var(--margin-bottom);
  background: #050505;
}

.slide[data-layout="title"] .slide-footer {
  position: relative;
  z-index: 3;
  padding: 0 var(--margin-x);
  color: #fff;
}

.title-cover {
  z-index: 0;
  overflow: hidden;
  padding: 0 4.5cqw;
  background: #050505;
}

.title-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, .98) 0%, rgba(0, 0, 0, .92) 42%, rgba(0, 0, 0, .2) 72%, rgba(0, 0, 0, .08) 100%);
}

.title-cover > img {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -2;
  width: 72%;
  height: 100%;
  object-fit: cover;
}

.title-cover p,
.title-cover h2,
.title-cover span {
  position: relative;
  z-index: 1;
  color: #fff;
}

.title-cover h2 {
  width: 60%;
  font-size: 5cqw;
  line-height: 1.1;
}

.title-cover span {
  width: 58%;
  color: rgba(255, 255, 255, .8);
}

.title-cover span,
.section-cover span {
  display: block;
  margin-top: calc(var(--gap-lg) * .55);
  width: var(--text-measure-tight);
  color: var(--ink);
  font-size: var(--fs-lead);
  line-height: 1.55;
  font-weight: 400;
}

.slide[data-layout="title"] .title-cover span {
  color: rgba(255, 255, 255, .82);
}

.slide[data-layout="sectionDivider"] .section-cover span {
  width: 86%;
  text-align: center;
}

.cover-grid,
.two-col,
.closing-grid {
  display: grid;
  grid-template-columns: var(--cols-2);
  gap: var(--gap-xl);
  align-items: center;
  width: 92%;
  margin-inline: auto;
}

.cover-grid {
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
}

.slide[data-layout="cover"] .cover-grid {
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.2cqw;
  justify-items: center;
  text-align: center;
}

.slide[data-layout="cover"] .cover-copy {
  width: 100%;
}

.slide[data-layout="cover"] .pill-grid {
  width: 100%;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cover-copy,
.pill-grid {
  min-width: 0;
}

.cover-copy {
  text-align: center;
}

.eyebrow {
  margin: 0 0 calc(var(--gap-sm) * .82);
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: 400;
}

.cover-lead,
.closing-action {
  margin: 0;
  font-size: var(--fs-statement);
  font-weight: 700;
  line-height: 1.42;
}

.cover-lead {
  max-width: 100%;
}

.pill-grid,
.agenda-grid,
.card-grid,
.steps,
.metric-grid {
  display: grid;
  gap: var(--gap-sm);
}

.pill-grid {
  grid-template-columns: var(--cols-2);
}

.pill-grid span,
.checklist span {
  display: flex;
  align-items: center;
  min-height: 4.55cqw;
  padding: calc(var(--gap-sm) * .95) calc(var(--gap-sm) * 1.09);
  background: var(--soft);
  border-left: .26cqw solid var(--ink);
  font-size: 1.9cqw;
  font-weight: 700;
}

.pill-grid span {
  justify-content: center;
  text-align: center;
}

.agenda-grid {
  grid-template-columns: var(--cols-4);
  width: 94%;
  margin-inline: auto;
}

.agenda-item,
.info-card,
.step,
.metric-card,
.panel,
.compare-card,
.timeline-item {
  background: var(--soft);
  border-top: .28cqw solid var(--ink);
}

.agenda-item {
  min-height: 15.75cqw;
  padding: 1.35cqw 0 0;
  text-align: center;
}

.slide[data-layout="agenda"] .agenda-item {
  background: rgba(255, 255, 255, .06);
}

.agenda-item b,
.step b {
  display: block;
  margin-bottom: calc(var(--gap-md) * 1.1);
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  font-size: var(--fs-number);
  font-weight: 700;
  line-height: 1;
}

.agenda-item strong,
.info-card strong,
.timeline-item strong {
  display: block;
  margin-bottom: calc(var(--gap-sm) * .56);
  font-size: var(--fs-card-title);
  font-weight: 700;
}

.agenda-item span,
.info-card span,
.timeline-item span,
.step span {
  color: var(--muted);
  font-size: 1.72cqw;
  line-height: 1.35;
  font-weight: 400;
}

.panel {
  min-height: 18cqw;
  padding: 1.6cqw;
}

.panel,
.compare-card,
.image-case-copy,
.qr-copy,
.data-table th,
.data-table td {
  text-align: left;
}

.panel li,
.compare-card li,
.image-case-copy > p,
.image-case-copy > b,
.qr-copy > p {
  text-align: left;
}

.panel.accent,
.compare-card.accent {
  border-top-color: var(--accent);
  background: var(--accent-soft);
}

.panel h3,
.compare-card h3 {
  margin: 0 0 calc(var(--gap-md) * .56);
  font-size: 1.88cqw;
  font-weight: 700;
  color: var(--ink);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  padding-left: 0;
  margin: 0 0 calc(var(--gap-sm) * .74);
  color: var(--muted);
  font-size: var(--fs-list);
  font-weight: 400;
  line-height: 1.45;
}

li::before {
  content: none;
}

.statement-box,
.quote-box {
  width: var(--text-measure-box);
  margin: 0 auto;
  padding: 0;
  background: transparent;
  color: var(--ink);
}

.statement-box {
  text-align: center;
}

.statement-box span {
  display: block;
  margin-bottom: calc(var(--gap-sm) * .77);
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: 400;
  text-align: center;
}

.statement-box strong {
  display: block;
  font-size: 4.55cqw;
  line-height: 1.28;
  text-align: center;
}

.statement-box p {
  margin: calc(var(--gap-md) * .51) 0 0;
  color: var(--muted);
  font-size: 2.15cqw;
  font-weight: 400;
  line-height: 1.62;
  text-align: center;
}

.card-grid {
  grid-template-columns: var(--cols-3);
  width: 94%;
  margin-inline: auto;
}

.card-grid:has(.info-card:nth-child(5):last-child) {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card-grid:has(.info-card:nth-child(5):last-child) .info-card {
  min-height: 15.4cqw;
  padding-right: .65cqw;
}

.card-grid:has(.info-card:nth-child(5):last-child) .info-card strong {
  font-size: 2.1cqw;
}

.card-grid:has(.info-card:nth-child(5):last-child) .info-card span {
  font-size: 1.58cqw;
}

.info-card {
  min-height: 14.06cqw;
  padding: 1.45cqw;
  text-align: center;
}

.steps {
  grid-template-columns: var(--cols-5);
  width: 94%;
  margin-inline: auto;
}

.steps:has(.step:nth-child(4):last-child) {
  grid-template-columns: var(--cols-4);
  width: 92%;
}

.steps:has(.step:nth-child(3):last-child) {
  grid-template-columns: var(--cols-3);
  width: 82%;
}

.step {
  min-height: 16.88cqw;
  padding: 1.45cqw;
  text-align: center;
}

.compare-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 2.6cqw;
  align-items: stretch;
  width: 92%;
  margin-inline: auto;
}

.compare-card {
  min-height: 19.12cqw;
  padding: 1.6cqw;
}

.compare-arrow {
  display: grid;
  place-items: center;
  color: var(--faint);
  font-size: 2.4cqw;
  font-weight: 400;
}

.timeline {
  display: grid;
  grid-template-columns: var(--cols-5);
  gap: 1.2cqw;
  width: 94%;
  margin-inline: auto;
}

.timeline-item {
  min-height: 15.75cqw;
  padding: 1.35cqw 1.05cqw;
  text-align: center;
}

.timeline-item b {
  display: block;
  margin-bottom: 0.8438cqw;
  color: var(--muted);
  font-size: 1.55cqw;
  font-weight: 400;
}

.metric-grid {
  grid-template-columns: var(--cols-3);
  width: 88%;
  margin-inline: auto;
}

.metric-card {
  min-height: 13.5cqw;
  display: grid;
  place-items: center;
  text-align: center;
}

.metric-card strong {
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  font-size: var(--fs-metric);
  line-height: 1;
}

.metric-card span {
  color: var(--muted);
  font-size: var(--fs-body);
  font-weight: 400;
}

.caption {
  margin: calc(var(--gap-md) * .51) auto 0;
  width: 72%;
  color: var(--muted);
  text-align: center;
  font-size: 1.78cqw;
  font-weight: 400;
  line-height: 1.55;
}

.quote-box {
  text-align: center;
}

.quote-box blockquote {
  margin: 0;
  font-size: 4.6cqw;
  font-weight: 700;
  line-height: 1.34;
}

.quote-box figcaption {
  margin-top: calc(var(--gap-md) * .56);
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: 400;
}

.data-table {
  width: 94%;
  margin-inline: auto;
  border-collapse: collapse;
  table-layout: fixed;
  overflow: hidden;
}

.data-table th,
.data-table td {
  padding: .82cqw 1.05cqw;
  border-bottom: var(--rule) solid var(--line);
  text-align: left;
  font-size: 1.85cqw;
  line-height: 1.3;
}

.data-table th {
  color: var(--ink);
  font-size: 1.65cqw;
  font-weight: 700;
}

.data-table td {
  color: var(--muted);
  font-weight: 400;
}

.data-table td:not(:first-child),
.data-table th:not(:first-child) {
  text-align: center;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.image-compare {
  width:76%;
  margin:0 auto;
  text-align:center;
}

.image-compare img {
  display:block;
  width:100%;
  max-height:21.2cqw;
  object-fit:contain;
}

.image-compare figcaption {
  margin-top:.75cqw;
  color:var(--muted);
  font-size:var(--fs-small);
}

.image-case {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  gap: 3cqw;
  align-items: center;
  min-height: 0;
  width: 94%;
  margin-inline: auto;
}

.image-case figure {
  margin: 0;
  min-width: 0;
}

.image-case figure img {
  display: block;
  width: 100%;
  height: 23.2cqw;
  object-fit: cover;
}

.image-case figure figcaption {
  margin-top: .55cqw;
  color: var(--muted);
  font-size: .88cqw;
  line-height: 1.35;
}

.image-case-copy > p {
  margin: 0 0 1.35cqw;
  color: var(--ink);
  font-size: 1.85cqw;
  font-weight: 700;
  line-height: 1.45;
}

.image-case-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9cqw;
}

.image-case-facts > div {
  padding-top: .9cqw;
  border-top: var(--rule) solid var(--line);
  text-align: center;
}

.image-case-facts strong,
.image-case-facts span {
  display: block;
}

.image-case-facts strong {
  color: var(--accent);
  font-size: 2.25cqw;
  line-height: 1.1;
}

.image-case-facts span {
  margin-top: .42cqw;
  color: var(--muted);
  font-size: 1.25cqw;
  line-height: 1.4;
}

.image-case-copy > b {
  display: block;
  margin-top: 1.45cqw;
  padding-left: .85cqw;
  border-left: .23cqw solid var(--accent);
  color: var(--ink);
  font-size: 1.65cqw;
  line-height: 1.5;
}

.slide[data-layout="visualHero"] {
  grid-template-rows: 1fr var(--footer-h);
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
}

.slide[data-layout="visualHero"] .slide-header,
.slide[data-layout="visualHero"] .slide-title,
.slide[data-layout="visualHero"] .summary {
  display: none;
}

.slide[data-layout="visualHero"] .slide-content {
  padding: 0;
}

.slide[data-layout="visualHero"] .slide-footer {
  padding: 0 var(--margin-x);
  color: #fff;
  background: #050505;
}

.visual-hero {
  position: absolute;
  inset: 0 0 var(--footer-h);
  overflow: hidden;
  background: #050505;
}

.visual-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .52) 34%, rgba(0, 0, 0, .08) 64%, rgba(0, 0, 0, .18) 100%);
}

.visual-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-hero-overlay {
  position: absolute;
  z-index: 2;
  left: 4.5cqw;
  top: 4.2cqw;
  width: 43cqw;
  color: #fff;
}

.visual-hero-overlay > p {
  margin: 0 0 1.15cqw;
  color: rgba(255, 255, 255, .76);
  font-size: 1.35cqw;
  font-weight: 700;
  letter-spacing: .12em;
}

.visual-hero-overlay > strong {
  display: block;
  font-size: 5cqw;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.visual-labels {
  display: flex;
  flex-wrap: wrap;
  gap: .72cqw;
  margin-top: 2cqw;
}

.visual-labels span {
  padding: .52cqw .9cqw;
  border: .08cqw solid rgba(255, 255, 255, .72);
  color: #fff;
  background: rgba(0, 0, 0, .4);
  font-size: 1.45cqw;
  font-weight: 700;
}

.visual-hero small {
  position: absolute;
  z-index: 3;
  right: 1.2cqw;
  bottom: 1cqw;
  color: rgba(255, 255, 255, .76);
  font-size: .75cqw;
}

.closing-action {
  padding: 0;
  background: transparent;
  color: var(--ink);
  text-align: center;
}

.closing-action {
  align-self: center;
}

.closing-grid {
  width: 88%;
}

.checklist {
  display: grid;
  grid-template-columns: var(--cols-1);
  gap: 1.2cqw;
}

.checklist span {
  justify-content: center;
  text-align: center;
}

/* Page-specific optical corrections */
.slide[data-slide-number="4"] .slide-content {
  justify-content: center;
  padding-top: 0;
  transform: translateY(-3.4cqw);
}

.slide[data-slide-number="4"] .cover-grid {
  gap: .8cqw;
}

.slide[data-slide-number="4"] .eyebrow {
  margin-bottom: .35cqw;
}

.slide[data-slide-number="4"] .pill-grid span {
  min-height: 6.6cqw;
}

.slide[data-slide-number="5"] .agenda-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 90%;
  gap: 1.55cqw 2.2cqw;
}

.slide[data-slide-number="5"] .agenda-item {
  min-height: 8.8cqw;
  padding: 1.25cqw 1.4cqw;
}

.slide[data-slide-number="5"] .agenda-item b {
  margin-bottom: .55cqw;
  font-size: 2.7cqw;
}

.slide[data-slide-number="34"] .closing-grid {
  width: 88%;
  grid-template-columns: minmax(0, 1fr);
  gap: 2cqw;
  justify-items: center;
}

.slide[data-slide-number="34"] .closing-action {
  width: 100%;
  white-space: nowrap;
}

.slide[data-slide-number="34"] .checklist {
  width: 82%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.qr-grid {
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);
  gap:var(--gap-xl);
  align-items:center;
  width:82%;
  margin:0 auto;
}

.qr-copy strong {
  display:block;
  margin:.5cqw 0 1.1cqw;
  font-size:4.35cqw;
  line-height:1.25;
}

.qr-copy > p:not(.eyebrow) {
  margin:0 0 1.5cqw;
  color:var(--muted);
  font-size:var(--fs-body);
}

.qr-copy > span {
  color:var(--accent);
  font-size:var(--fs-small);
}

.qr-image {
  width:17cqw;
  height:17cqw;
  justify-self:end;
  object-fit:contain;
  image-rendering:pixelated;
}

.progress {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 20;
  width: var(--slide-w);
  height: .18cqw;
  background: transparent;
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
  transition: width .16s ease;
}

.deck-controls {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 60;
}

.deck-controls button,
.inline-script-panel button {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  color: #222;
  background: rgba(255, 255, 255, .96);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.deck-controls button {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
}

.inline-script-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 70;
  width: min(480px, 42vw);
  height: 100vh;
  overflow-y: auto;
  padding: 28px 30px 48px;
  color: #f4f4f4;
  background: #161616;
  box-shadow: -10px 0 30px rgba(0, 0, 0, .22);
}

.inline-script-panel[hidden] {
  display: none;
}

.inline-script-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid #3a3a3a;
}

.inline-script-head > div {
  min-width: 0;
}

.inline-script-head span,
.inline-cue span {
  display: block;
  margin-bottom: 6px;
  color: #aaa;
  font-size: 12px;
  letter-spacing: .06em;
}

.inline-script-head strong {
  display: block;
  font-size: 20px;
  line-height: 1.45;
}

#inline-speaker-script {
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.9;
  white-space: pre-line;
}

.inline-cue {
  margin-top: 28px;
  padding: 18px;
  border-left: 3px solid var(--accent);
  background: #242424;
}

.inline-cue p {
  margin: 0;
  color: #e8c8cd;
  font-size: 14px;
  line-height: 1.65;
}

.receiver-mode .deck-controls,
.receiver-mode .inline-script-panel {
  display: none !important;
}

@media screen and (max-aspect-ratio: 1 / 1) {
  .deck {
    place-items: center;
  }
}

@media print {
  @page {
    size: 16in 9in;
    margin: 0;
  }
  body { background: #fff; }
  .deck {
    display: block;
    height: auto;
    overflow: visible;
    background: #fff;
  }
  .slide-stage {
    width: 100vw;
    height: auto;
    max-width: none;
    max-height: none;
    box-shadow: none;
    overflow: visible;
  }
  .slide {
    position: relative;
    opacity: 1 !important;
    page-break-after: always;
    pointer-events: auto;
    width: 100vw;
    height: 56.25vw;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .slide[data-layout="sectionDivider"],
  .slide[data-layout="agenda"] {
    background: #050505 !important;
    color: #fff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .progress {
    display: none !important;
  }
  .deck-controls,
  .inline-script-panel {
    display: none !important;
  }
  .slide-source,
  .slide-sources {
    color: var(--muted) !important;
  }
}
