:root {
  --navy: #101f2e;
  --navy-deep: #07111c;
  --ivory: #f5f0e5;
  --muted: #bdc7ca;
  --amber: #efb85b;
  --cyan: #73d8e4;
  --line: #607583;
  --ink: var(--ivory);
  --slide-width: 1600px;
  --slide-height: 900px;
  font-family: "Aptos", "Arial", "Helvetica Neue", sans-serif;
  color: var(--ivory);
  background: var(--navy-deep);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { line-height: 1.35; }
[hidden] { display: none !important; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
button:disabled { opacity: .35; cursor: default; }
a { color: var(--cyan); text-underline-offset: .18em; }
button { background: transparent; border: 1px solid #526778; border-radius: 3px; padding: 8px 12px; }
button:hover:not(:disabled) { background: #213647; }
.screen-reader-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.deck-page { overflow: hidden; }
.stage-viewport { position: fixed; inset: 0 0 76px; overflow: hidden; }
.stage { position: absolute; top: 50%; left: 50%; width: 1600px; height: 900px; transform: translate(-50%, -50%) scale(var(--scale, .6)); transform-origin: center; }
.slide-canvas { position: relative; display: flex; flex-direction: column; width: 1600px; height: 900px; padding: 66px 92px 68px; overflow: hidden; color: var(--ink); background: var(--navy); isolation: isolate; }
.slide-canvas::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 7px; background: var(--cyan); }
.slide-canvas[data-backup="true"]::before { background: var(--amber); }
.slide-header { flex: 0 0 auto; margin: 0 0 34px; }
.slide-kicker { margin: 0 0 12px; color: var(--cyan); font-size: 21px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.slide-title { margin: 0; max-width: 1416px; font-size: 54px; line-height: 1.1; font-weight: 650; letter-spacing: -.025em; text-wrap: balance; }
.slide-body { flex: 1 1 auto; min-height: 0; font-size: 30px; line-height: 1.4; }
.slide-body > :first-child { margin-top: 0; }
.slide-body > :last-child { margin-bottom: 0; }
.slide-footer { position: absolute; left: 92px; right: 92px; bottom: 25px; display: flex; justify-content: space-between; align-items: baseline; gap: 30px; color: var(--muted); font-size: 17px; line-height: 1.2; }
.slide-footer .slide-number { margin-left: auto; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.slide-footer .footer-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 1150px; }
.slide-footer .footer-sources { max-width: 1220px; font-size: 17px; line-height: 1.25; }
.slide-footer a { color: var(--muted); text-decoration: none; }
.slide-footer a:hover { text-decoration: underline; }
.slide-canvas.cover .slide-header { display: none; }
.slide-canvas.ivory, .slide-canvas.light { --ink: #182e3d; --muted: #506675; --line: #a5b3b9; color: var(--ink); background: var(--ivory); }
.slide-canvas.ivory .slide-kicker, .slide-canvas.light .slide-kicker { color: #176c79; }
.slide-canvas.ivory a, .slide-canvas.light a { color: #176c79; }
.slide-body p { margin: 0 0 25px; }
.slide-body h2 { font-size: 37px; line-height: 1.2; font-weight: 650; margin: 0 0 22px; }
.slide-body h3 { font-size: 29px; line-height: 1.25; margin: 0 0 14px; font-weight: 650; }
.slide-body ul, .slide-body ol { margin: 0; padding-left: 1.1em; }
.slide-body li { padding-left: .15em; margin-bottom: 21px; }
.slide-body li::marker { color: var(--amber); }
.slide-body strong { font-weight: 700; }
.slide-body em { font-style: normal; color: var(--amber); }
.slide-body figure { margin: 0; }
.slide-body img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.slide-body svg { display: block; max-width: 100%; max-height: 100%; overflow: visible; }
.slide-body svg text { font-family: "Aptos", "Arial", "Helvetica Neue", sans-serif; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 70px; height: 100%; align-items: start; }
.split > * { min-width: 0; }
.split.wide { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); }
.split.reverse { grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); }
.wide:not(.split) { width: 100%; }
.lead { font-size: 37px; line-height: 1.34; letter-spacing: -.01em; }
.giant { font-size: 138px; line-height: .95; font-weight: 700; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.metric { font-size: 104px; line-height: 1; letter-spacing: -.04em; font-weight: 700; color: var(--amber); font-variant-numeric: tabular-nums; }
.metric .unit, .giant .unit { font-size: .36em; letter-spacing: 0; font-weight: 400; color: var(--ink); }
.metric-label { font-size: 28px; line-height: 1.25; margin-top: 17px; }
.metric-row { display: flex; gap: 78px; align-items: flex-start; }
.metric-row > * { flex: 1; min-width: 0; }
.caption { font-size: 23px; line-height: 1.3; color: var(--muted); margin-top: 18px; }
.source { font-size: 18px; line-height: 1.35; color: var(--muted); }
.small { font-size: 25px; }
.muted { color: var(--muted); }
.accent { color: var(--amber); }
.cyan { color: var(--cyan); }
.center { text-align: center; }
.middle { display: flex; flex-direction: column; justify-content: center; height: 100%; }
.hero { display: flex; flex-direction: column; justify-content: center; max-width: 1250px; height: 100%; }
.hero .lead { font-size: 48px; }
.hero .giant { font-size: 154px; }
.chart { display: flex; flex-direction: column; min-height: 0; height: 100%; }
.chart > svg, .chart > img { flex: 1 1 auto; width: 100%; min-height: 0; max-height: 590px; }
.chart .caption, .chart .source { flex: 0 0 auto; }
.flow { display: flex; align-items: center; gap: 36px; }
.flow > * { flex: 1; min-width: 0; }
.flow.vertical { flex-direction: column; align-items: stretch; gap: 22px; }
.rule { border-top: 2px solid var(--line); padding-top: 25px; }
.statement { max-width: 1230px; font-size: 45px; line-height: 1.28; letter-spacing: -.02em; }
.slide-body blockquote { margin: 0; padding-left: 28px; border-left: 4px solid var(--amber); font-size: 37px; line-height: 1.35; }
.slide-body table { width: 100%; border-collapse: collapse; font-size: 26px; line-height: 1.3; }
.slide-body th, .slide-body td { text-align: left; padding: 15px 20px 15px 0; vertical-align: top; border-bottom: 1px solid var(--line); }
.slide-body th { color: var(--cyan); font-weight: 650; border-bottom: 2px solid var(--line); }
.slide-body td.num, .slide-body th.num { text-align: right; font-variant-numeric: tabular-nums; }
.slide-body [data-fragment] { opacity: 0; visibility: hidden; transition: opacity 280ms ease, visibility 280ms ease; }
.slide-body [data-fragment].is-revealed { opacity: 1; visibility: visible; }
.slide-body [data-fragment].draw-path, .slide-body [data-fragment] .draw-path { stroke-dasharray: var(--path-length, 1000); stroke-dashoffset: var(--path-length, 1000); transition: stroke-dashoffset 700ms ease, opacity 280ms ease; }
.slide-body [data-fragment].is-revealed.draw-path, .slide-body [data-fragment].is-revealed .draw-path { stroke-dashoffset: 0; }
.controls { position: fixed; bottom: 17px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 9px; font-size: 13px; white-space: nowrap; transition: opacity 180ms ease; z-index: 30; }
.position { min-width: 100px; text-align: center; font-variant-numeric: tabular-nums; color: var(--muted); }
.control-divider { height: 21px; width: 1px; background: #526778; margin: 0 5px; }
.controls-idle .controls { opacity: 0; pointer-events: none; }
.controls:focus-within { opacity: 1; pointer-events: auto; }
.progress { position: fixed; bottom: 0; left: 0; right: 0; height: 3px; background: #192b3b; z-index: 31; }
.progress span { display: block; height: 100%; width: 0; background: var(--cyan); transition: width 200ms ease; }
.is-backup .progress span { background: var(--amber); }
.black-stage { position: fixed; inset: 0; background: #000; z-index: 25; }
.is-black .controls, .is-black .progress { opacity: 0; }
.is-black.controls-awake .controls { opacity: .8; }
.notes-open .stage-viewport { right: 440px; }
.notes-panel { position: fixed; inset: 0 0 76px auto; width: 440px; padding: 25px 24px; overflow: auto; background: #152c3c; border-left: 1px solid #526778; z-index: 20; font-size: 18px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.panel-heading h2 { margin: 0; font-size: 25px; }
.panel-heading button { font-size: 15px; }
.notes-panel h3 { font-size: 20px; margin: 23px 0 14px; }
.notes-content { line-height: 1.6; white-space: normal; }
.notes-content p { margin: 0 0 16px; }
.notes-content li { margin-bottom: 10px; }
.sources-content { color: var(--muted); line-height: 1.5; font-size: 15px; overflow-wrap: anywhere; }
.sources-content p { margin: 0 0 12px; }
dialog { background: var(--navy); color: var(--ivory); border: 1px solid #526778; padding: 28px; box-shadow: 0 20px 90px #0009; }
dialog::backdrop { background: #02070cdb; }
.overview-dialog { width: min(1180px, 94vw); max-height: 88vh; }
.overview-dialog input { width: 100%; color: var(--ivory); background: #0a1723; border: 1px solid #526778; padding: 14px; margin-bottom: 23px; font-size: 20px; }
.overview-slides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 25px; }
.overview-slide { display: flex; align-items: flex-start; text-align: left; gap: 16px; min-height: 95px; padding: 19px 0; border: 0; border-bottom: 1px solid #526778; border-radius: 0; background: transparent; }
.overview-slide:hover:not(:disabled) { background: #213647; }
.overview-slide[aria-current="true"] { border-bottom-color: var(--cyan); }
.overview-index { color: var(--cyan); font-size: 23px; min-width: 35px; }
.overview-slide.backup .overview-index { color: var(--amber); }
.overview-slide-title { display: block; font-size: 20px; line-height: 1.25; }
.overview-section { display: block; color: var(--muted); margin-top: 7px; font-size: 13px; }
.help-dialog { width: min(680px, 94vw); }
.shortcut-list { display: grid; grid-template-columns: 230px 1fr; gap: 18px 20px; margin: 28px 0 5px; }
.shortcut-list dt { color: var(--cyan); font-weight: 650; }
.shortcut-list dd { margin: 0; }
.deck-error { padding: 50px; max-width: 850px; font-size: 25px; }
.presenter-page { background: var(--navy-deep); padding: 24px; min-height: 100vh; }
.presenter-top { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.presenter-top h1 { font-size: 22px; font-weight: 500; margin: 0 auto 0 0; }
.presenter-status { font-size: 14px; color: var(--muted); }
.presenter-timer { font-size: 39px; line-height: 1; min-width: 108px; font-variant-numeric: tabular-nums; color: var(--amber); }
.presenter-grid { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr); gap: 25px; }
.presenter-column { min-width: 0; }
.preview-heading { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; gap: 15px; }
.preview-heading h2 { margin: 0; font-size: 21px; }
.preview-heading span { color: var(--muted); font-size: 14px; }
.preview-slot { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border: 1px solid #334a5b; }
.preview-slot .slide-canvas { position: absolute; inset: 0 auto auto 0; transform: scale(var(--preview-scale, .4)); transform-origin: top left; }
.presenter-notes { margin-top: 24px; padding-top: 20px; border-top: 1px solid #526778; }
.presenter-notes h2, .presenter-sources h2 { font-size: 22px; margin: 0 0 14px; }
.presenter-notes .notes-content { font-size: 21px; max-width: 850px; }
.presenter-sources { margin-top: 24px; padding-top: 20px; border-top: 1px solid #526778; }
.presenter-controls { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.presenter-controls button { font-size: 16px; }
.presenter-next-notes { margin-top: 20px; color: var(--muted); font-size: 18px; line-height: 1.5; }
.next-end { height: 100%; display: grid; place-items: center; color: var(--muted); font-size: 25px; }
.print-deck { margin: 0; overflow: visible; background: var(--navy); }
.print-deck .stage-viewport { position: static; overflow: visible; }
.print-deck .stage { position: static; width: 1600px; height: auto; transform: none; }
.print-deck .slide-canvas { break-after: page; page-break-after: always; }
.print-deck .slide-canvas:last-child { break-after: auto; page-break-after: auto; }
.print-deck .controls, .print-deck .progress, .print-deck .notes-panel, .print-deck dialog { display: none !important; }
.print-deck [data-fragment] { opacity: 1; visibility: visible; transition: none; }
.print-deck [data-fragment].draw-path, .print-deck [data-fragment] .draw-path { stroke-dashoffset: 0; transition: none; }
@media (max-width: 1080px) {
  .controls { gap: 5px; font-size: 11px; }
  .controls button { padding: 7px; }
  .position { min-width: 85px; }
  .overview-slides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .presenter-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .controls #fullscreen-button, .controls #black-button, .control-divider { display: none; }
  .notes-open .stage-viewport { right: 0; bottom: 50vh; }
  .notes-panel { inset: 50vh 0 76px; width: auto; border-left: 0; border-top: 1px solid #526778; }
  .overview-slides { grid-template-columns: minmax(0, 1fr); }
  .shortcut-list { grid-template-columns: 170px 1fr; gap: 14px; font-size: 14px; }
  .presenter-page { padding: 14px; }
  .presenter-grid { grid-template-columns: minmax(0, 1fr); }
  .presenter-top { flex-wrap: wrap; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  @page { size: 1600px 900px; margin: 0; }
  html, body { margin: 0 !important; padding: 0 !important; background: var(--navy) !important; }
  body { print-color-adjust: exact; -webkit-print-color-adjust: exact; overflow: visible !important; }
  .stage-viewport { position: static !important; overflow: visible !important; }
  .stage { position: static !important; transform: none !important; width: 1600px !important; height: auto !important; }
  .slide-canvas { width: 1600px !important; height: 900px !important; margin: 0 !important; break-after: page; page-break-after: always; }
  .slide-canvas:last-child { break-after: auto; page-break-after: auto; }
  .controls, .progress, .notes-panel, dialog, .black-stage, .screen-reader-only { display: none !important; }
  [data-fragment] { opacity: 1 !important; visibility: visible !important; transition: none !important; }
  [data-fragment].draw-path, [data-fragment] .draw-path { stroke-dashoffset: 0 !important; transition: none !important; }
}
