:root {
  /* Mila-2023 theme extracted from the supplied RRM presentation. */
  --mila-purple: #662e7d;
  --mila-cream: #f4f5f1;
  --mila-yellow: #f9b40d;
  --mila-pink: #f594bb;
  --mila-cyan: #59b9d2;
  --slide-scale: 1;
}
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }
body {
  background: #211a25;
  color: white;
  font-family: "Work Sans", "Avenir Next", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.slide {
  position: absolute;
  left: 50%; top: 50%;
  width: 1600px; height: 900px;
  overflow: hidden;
  background: var(--mila-purple);
  transform: translate(-50%, -50%) scale(var(--slide-scale));
  transform-origin: center;
}
.institutions {
  position: absolute; inset: 55px 68px auto;
  display: flex; align-items: center; justify-content: space-between;
}
.mila-logo { width: 207px; height: 61px; object-fit: contain; }
.udem-logo {
  width: 192px; height: 79px; object-fit: contain;
  /* Preserve the supplied UdeM mark in white for the purple background. */
  filter: brightness(0) invert(1);
  image-rendering: auto;
}
.research-visual {
  position: absolute; left: 54px; top: 226px;
  width: 730px; height: 510px; margin: 0;
  overflow: hidden; border-radius: 19px;
  background: var(--mila-cream);
}
.research-visual img, .research-visual canvas {
  display: block; width: 100%; height: 100%; object-fit: contain;
}
[hidden] { display: none !important; }
.title-block { position: absolute; left: 850px; top: 285px; width: 695px; }
h1 { margin: 0; font-size: 61px; line-height: 1.14; letter-spacing: -2px; font-weight: 600; }
.accent-rule { width: 62px; height: 5px; margin: 31px 0 25px; background: var(--mila-yellow); }
.presenter { margin-top: 48px; }
.name { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -.4px; }
.affiliation { margin: 11px 0 0; font-size: 18px; color: #e2cfe9; }
footer {
  position: absolute; left: 68px; right: 68px; bottom: 35px;
  display: flex; align-items: center; justify-content: flex-end;
  border-top: 1px solid #ffffff30; padding-top: 17px;
  font-size: 14px; letter-spacing: .8px; color: #e2cfe9;
}
.page-number { font-variant-numeric: tabular-nums; }
.content-slide { background: var(--mila-cream); color: var(--mila-purple); }
.content-slide h2 { position: absolute; top: 60px; left: 88px; margin: 0; font-size: 48px; font-weight: 400; letter-spacing: .3px; }
.efficiency-columns { position: absolute; top: 235px; left: 72px; right: 72px; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; text-align: center; }
.dimension-icon { height: 130px; display: flex; align-items: center; justify-content: center; }
.dimension-icon img { object-fit: contain; mix-blend-mode: multiply; }
.parameter-icon { width: 150px; height: 150px; }
.compute-icon { width: 235px; height: 155px; }
.efficiency-dimension h3 { margin: 25px 0 0; font-size: 42px; font-weight: 700; }
.dimension-metric { margin: 35px 0 0; font-size: 42px; }
.dimension-description { margin: 33px 0 0; font-size: 24px; letter-spacing: .3px; }
.efficiency-takeaway { position: absolute; top: 712px; left: 0; right: 0; text-align: center; margin: 0; font-size: 31px; font-weight: 700; }
.content-slide footer { color: var(--mila-purple); border-color: #662e7d25; }
.motivation-photos { position: absolute; top: 205px; left: 90px; width: 890px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 34px; }
.motivation-photos figure { margin: 0; }
.motivation-photos img { display: block; width: 428px; height: 205px; object-fit: cover; border-radius: 5px; }
.motivation-photos figcaption { margin-top: 13px; font-size: 25px; font-weight: 500; }
.motivation-electricity { position: absolute; left: 1050px; top: 190px; width: 460px; margin: 0; text-align: center; }
.motivation-electricity > figcaption { font-size: 27px; line-height: 1.4; }
.electricity-bars { height: 345px; margin: 32px 30px 0; display: flex; gap: 58px; justify-content: center; align-items: flex-end; border-bottom: 1px solid #662e7d40; }
.electricity-column { position: relative; width: 140px; }
.electricity-bar { position: relative; width: 100%; border-radius: 4px 4px 0 0; }
.electricity-current { height: 153.16px; background: #b89ac8; }
.electricity-projected { height: 300px; background: var(--mila-purple); }
.electricity-bar strong { position: absolute; left: -20px; right: -20px; top: -44px; font-size: 31px; font-weight: 600; white-space: nowrap; }
.electricity-bar strong span { font-size: 22px; font-weight: 400; }
.electricity-column p { position: absolute; top: 100%; width: 100%; margin: 15px 0 0; font-size: 25px; }
.electricity-column p span { display: block; margin-top: 6px; font-size: 17px; color: #80698a; }
.electricity-takeaway { position: absolute; top: 558px; left: 0; right: 0; margin: 0; font-size: 28px; line-height: 36px; font-weight: 600; }
.efficiency-approaches-slide h2 { font-size: 45px; }
.efficiency-approaches { position: absolute; top: 215px; left: 90px; right: 90px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; text-align: center; }
.efficiency-approaches h3 { height: 45px; margin: 0 0 24px; font-size: 29px; font-weight: 600; }
.efficiency-approaches img { display: block; width: 100%; height: 385px; object-fit: contain; }
.efficiency-approaches p { margin: 24px 0 0; font-size: 23px; line-height: 1.5; }
.efficiency-approaches p span { display: block; font-size: 21px; font-weight: 600; }
.recursive-timeline { position: absolute; top: 265px; left: 90px; right: 90px; }
.recursive-timeline-arrow { position: absolute; top: 145px; left: 0; right: 0; height: 4px; background: var(--mila-purple); }
.recursive-timeline-arrow::after { content: ""; position: absolute; right: -1px; top: -9px; border-left: 20px solid var(--mila-purple); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.recursive-milestones { display: grid; grid-template-columns: 175px 220px 240px 390px 175px; justify-content: space-between; text-align: center; }
.recursive-milestone { position: relative; }
.recursive-milestone h3 { height: 95px; margin: 0; display: flex; justify-content: center; align-items: center; font-size: 28px; line-height: 1.35; font-weight: 500; }
.recursive-timeline-dot { display: block; width: 22px; height: 22px; margin: 41px auto 0; border: 4px solid var(--mila-purple); border-radius: 50%; background: var(--mila-cream); }
.recursive-year { font-size: 35px; margin: 26px 0 32px; }
.recursive-portraits { display: flex; justify-content: center; gap: 12px; }
.recursive-portraits img { width: 118px; height: 155px; border-radius: 50%; object-fit: cover; object-position: center 25%; }
.recursive-portraits-trio img { width: 106px; height: 145px; }
.recursive-portrait-guan { display: block; flex: 0 0 106px; height: 145px; border-radius: 50%; background: url("assets/recursive-history-guan-wang.jpg") center 7% / 200% auto no-repeat; }
.recursive-milestone-speculative .recursive-timeline-dot { border-color: var(--mila-yellow); background: var(--mila-yellow); }
.recursive-portraits .recursive-openai-logo { width: 118px; height: 118px; margin-top: 15px; border-radius: 0; object-fit: contain; }
.recursive-year sup { position: relative; top: -4px; margin-left: 5px; font-size: 13px; font-weight: 500; }
.recursive-history-slide .history-reference-footer { bottom: 18px; align-items: flex-end; gap: 20px; letter-spacing: 0; padding-top: 13px; }
.history-references { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px 28px; text-align: left; font-size: 13.5px; line-height: 1.28; }
.history-references p { margin: 0; }
.history-references strong { display: block; font-weight: 600; }
.history-references cite { display: block; font-style: italic; }
.fixed-order-network, .fixed-order-recursion { position: absolute; left: 90px; width: 1420px; margin: 0; text-align: center; }
.fixed-order-network { top: 195px; }
.fixed-order-recursion { top: 385px; }
.fixed-order-network img, .fixed-order-recursion img { display: block; width: 1420px; height: 110px; object-fit: contain; }
.fixed-order-recursion figure { margin: 0; }
.fixed-order-recursion figure + figure { margin-top: 14px; }
.fixed-order-network figcaption, .fixed-order-recursion figcaption { margin-top: 14px; font-size: 24px; }
.computation-order-context { position: absolute; left: 90px; top: 177px; margin: 0; font-size: 26px; }
.computation-order-examples { position: absolute; left: 90px; top: 265px; width: 1420px; display: grid; gap: 25px; }
.computation-order-examples figure { margin: 0; }
.computation-order-examples img { display: block; width: 1420px; height: 112px; object-fit: contain; }
.computation-order-question { margin: 55px 0 0; font-size: 29px; font-weight: 600; text-align: center; }
.flexbrain-slide h2 { font-size: 42px; letter-spacing: -.7px; }
.flexbrain-diagram { position: absolute; left: 70px; top: 190px; width: 1460px; height: 610px; overflow: visible; color: var(--mila-purple); }
.flexbrain-diagram text { fill: #662e7d; text-anchor: middle; }
.cell-boundary { fill: #eeebef; stroke: #d7c9dd; stroke-width: 1.5; }
.flexbrain-diagram .cell-label { text-anchor: start; font-size: 18px; fill: #94759e; }
.cell-wire { fill: none; stroke: #662e7d; stroke-width: 2.5; marker-end: url(#cell-arrow); stroke-linejoin: round; }
.cell-node { stroke: #662e7d; stroke-width: 2; }
.router-node { fill: #f8e0ca; }
.sampler-node { fill: #d7edf2; }
.dispatcher-node { fill: #e5d5ef; }
.node-title { font-size: 29px; font-weight: 600; }
.math { font-family: "STIX Two Math", "Cambria Math", "Times New Roman", serif; font-style: italic; }
.state-label { font-size: 34px; }
.node-math { font-size: 27px; }
.edge-label { font-size: 18px; }
.score-bars rect { fill: #c7b4d0; }
.score-bars .selected-bar { fill: #662e7d; }
.score-bars .exit-bar { fill: #80b3a3; }
.action-chip { fill: #662e7d; }
.flexbrain-diagram .action-label { fill: white; font-size: 28px; }
.state-bypass { stroke: #ad96b6; stroke-width: 1.8; }
.flexbrain-diagram .bypass-label { fill: #94759e; font-size: 24px; }
.pool-node { fill: #f9f7fa; stroke: #b69bc2; stroke-width: 1.5; }
.pool-selected { fill: #662e7d; stroke: #662e7d; }
.pool-math { font-size: 28px; }
.flexbrain-diagram .selected-text { fill: white; }
.pool-label { font-size: 19px; }
.pool-wire { stroke-dasharray: 5 5; }
.exit-wire { fill: none; stroke: #3b8b74; stroke-width: 2.2; marker-end: url(#exit-arrow); }
.exit-node { fill: #e2eee7; stroke: #3b8b74; stroke-width: 1.7; }
.flexbrain-diagram .exit-title, .flexbrain-diagram .exit-label { fill: #3b8b74; font-size: 25px; }
.recurrence-wire { stroke-dasharray: 7 6; stroke-width: 2; }
.recurrence-label { font-size: 20px; }
.flexbrain-diagram [data-reveal] { transform: none; }
.routing-examples { position: absolute; left: 80px; top: 215px; width: 1440px; height: 600px; }
.routing-examples text { text-anchor: middle; fill: #662e7d; }
.route-panel { fill: #eeebef; stroke: #d7c9dd; stroke-width: 1.3; }
.route-method { font-size: 32px; font-weight: 600; }
.route-subtitle { font-size: 25px; }
.route-small { font-size: 19px; }
.route-label { font-size: 23px; }
.route-block-label { font-size: 23px; }
.route-math { font-family: "Times New Roman", serif; font-size: 32px; font-style: italic; }
.route-block { fill: #e5d5ef; stroke: #662e7d; stroke-width: 1.8; }
.route-block.selected, .route-token.active { fill: #662e7d; stroke: #662e7d; }
.routing-examples .light { fill: white; }
.route-token { fill: #f4f5f1; stroke: #b6a5be; stroke-width: 1.5; }
.route-wire { fill: none; stroke: #662e7d; stroke-width: 2; marker-end: url(#route-arrow); }
.route-wire.dashed { stroke-dasharray: 5 5; }
.route-wire.bypass { stroke: #ad96b6; stroke-dasharray: 5 5; stroke-width: 1.6; }
.routing-examples [data-reveal] { transform: none; }
.pareto-context { position: absolute; left: 90px; top: 180px; margin: 0; font-size: 24px; }
.pareto-figure { position: absolute; left: 50px; top: 240px; width: 1500px; height: 533px; }
.speedup-figure { position: absolute; left: 360px; top: 232px; width: 880px; height: 576px; mix-blend-mode: multiply; }
.rrm-static-figure { position: absolute; left: 60px; top: 218px; width: 1480px; height: 578px; }
.paper-citation { margin-right: auto; max-width: 1350px; color: inherit; text-decoration: none; font-size: 16px; line-height: 1.35; letter-spacing: 0; }
.task-results { position: absolute; top: 190px; left: 90px; right: 90px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px 44px; }
.task-result { min-height: 265px; border-bottom: 1px solid #662e7d25; padding-bottom: 18px; }
.task-result h3 { font-size: 26px; font-weight: 600; margin: 0 0 22px; }
.task-result-body { display: flex; align-items: center; gap: 24px; }
.task-result-body img { width: 132px; height: 132px; object-fit: contain; }
.task-baseline { font-size: 19px; margin: 0 0 18px; color: #80698a; }
.task-baseline strong { font-size: 23px; font-weight: 400; display: block; margin-top: 6px; }
.task-rrm { font-size: 20px; margin: 0; }
.task-rrm strong { display: block; font-size: 38px; font-weight: 600; letter-spacing: -1px; }
.rrm-parameters { position: absolute; top: 150px; left: 320px; width: 960px; height: 322px; mix-blend-mode: multiply; }
.rrm-compute { position: absolute; top: 480px; left: 320px; width: 960px; height: 343px; mix-blend-mode: multiply; }
.rrm-depth { position: absolute; top: 285px; left: 60px; width: 1480px; height: 412px; mix-blend-mode: multiply; }
.rrm-sampling { position: absolute; top: 240px; left: 60px; width: 1480px; height: 490px; }
.mc-conditions, .ptrm-conditions { position: absolute; top: 735px; font-size: 20px; line-height: 1.5; margin: 0; text-align: center; }
.mc-conditions { left: 90px; width: 670px; }
.ptrm-conditions { left: 840px; width: 670px; }
.sampling-diagrams { position: absolute; top: 185px; left: 50px; width: 1500px; height: 620px; }
.sampling-diagrams text { fill: #662e7d; text-anchor: middle; }
.sample-heading { font-size: 31px; font-weight: 600; }
.sample-subtitle { font-size: 23px; }
.sample-root, .sample-layer.chosen { fill: #662e7d; }
.sample-layer { fill: #e5d5ef; stroke: #662e7d; stroke-width: 1.3; }
.sample-node { fill: #f4f5f1; stroke: #b6a5be; stroke-width: 1.4; }
.sample-aggregate { fill: #eeebef; stroke: #b6a5be; stroke-width: 1.4; }
.sample-selected { fill: #d7edf2; stroke: #3b8b74; stroke-width: 2; }
.sample-wire { fill: none; stroke: #662e7d; stroke-width: 1.7; marker-end: url(#sample-arrow); }
.sample-label, .sample-score { font-size: 21px; }
.sample-mean { font-size: 25px; font-weight: 600; }
.sample-math, .sample-white { font-family: "Times New Roman", serif; font-style: italic; font-size: 26px; }
.sampling-diagrams .sample-white { fill: white; }
.sample-footnote { font-size: 19px; }
.sampling-diagrams [data-reveal] { transform: none; }
#slide-position { align-self: center; padding: 0 7px; font-size: 12px; white-space: nowrap; }
button:disabled { opacity: .35; cursor: default; }
[data-reveal] { opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .35s ease, transform .35s ease, visibility .35s; }
[data-reveal].revealed { opacity: 1; visibility: visible; transform: translateY(0); }
.presentation-tools {
  position: fixed; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 5px; padding: 6px; border-radius: 9px;
  background: #211a25ee; opacity: 0; transition: opacity .2s;
}
.presentation-tools:hover, .presentation-tools:focus-within, body.controls-visible .presentation-tools { opacity: 1; }
button { font: inherit; font-size: 12px; color: white; background: transparent; border: 1px solid #ffffff40; border-radius: 5px; padding: 8px 12px; cursor: pointer; }
button:hover { background: #ffffff20; }
button:focus-visible { outline: 2px solid var(--mila-yellow); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .presentation-tools, [data-reveal] { transition: none; transform: none; } }
@page { size: 16.6667in 9.375in; margin: 0; }
@media print {
  html, body { width: 1600px; height: auto; overflow: visible; background: var(--mila-purple); print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .slide, .slide[hidden] { display: block !important; position: relative; left: 0; top: 0; transform: none; break-after: page; }
  .slide:last-of-type { break-after: auto; }
  [data-reveal] { opacity: 1; visibility: visible; transform: none; transition: none; }
  .presentation-tools { display: none; }
}

.frm-diagram { position: absolute; left: 50px; top: 165px; width: 1500px; height: 650px; }

.rrm-policy-note { position: absolute; top: 773px; left: 0; right: 0; margin: 0; text-align: center; font-size: 21px; }

.rrm-training-forward, .rrm-training-backward { position: absolute; left: 120px; width: 1360px; margin: 0; }
.rrm-training-forward { top: 190px; }
.rrm-training-backward { top: 374px; }
.rrm-training-forward > img, .rrm-training-backward > img { display: block; width: 1360px; height: auto; }
.rrm-training-backward > .rrm-training-objective { width: 980px; margin: 30px auto 0; }

.decoupling-pool, .decoupling-route { position: absolute; margin: 0; text-align: center; }
.decoupling-pool { left: 105px; top: 325px; width: 390px; }
.decoupling-pool figcaption, .decoupling-route figcaption { font-size: 26px; margin: 0 0 24px; }
.decoupling-pool img { display: block; width: 390px; height: 195px; object-fit: contain; }
.decoupling-route { left: 565px; width: 950px; }
.decoupling-route img { display: block; height: 96px; margin: 0 auto; }
.decoupling-route-three { top: 222px; }
.decoupling-route-three img { width: 540px; }
.decoupling-route-five { top: 411px; }
.decoupling-route-five img { width: 799.2px; }
.decoupling-route-six { top: 561px; }
.decoupling-route-six img { width: 936px; }
.decoupling-final { position: absolute; inset: 0; }
.decoupling-equation { position: absolute; left: 570px; top: 713px; width: 460px; height: 97px; object-fit: contain; }
.rrm-sampling-examples .sample-layer { fill: #5789c6; stroke: #59b9d2; }
.rrm-sampling-examples .sample-layer.chosen { fill: #6a9d94; stroke: #59b9d2; }
.rrm-sampling-examples .sample-layer + .sample-math { fill: white; }
.depth-concept-train, .depth-concept-short, .depth-concept-long { position: absolute; margin: 0; width: 330px; }
.depth-concept-train { left: 145px; top: 285px; }
.depth-concept-short { left: 635px; top: 345px; }
.depth-concept-long { left: 1110px; top: 215px; }
.depth-concept-train img, .depth-concept-short img, .depth-concept-long img { display: block; width: 100%; height: auto; }
.depth-concept-final { position: absolute; inset: 0; }
.depth-concept-equation { position: absolute; top: 710px; left: 550px; width: 500px; height: 100px; object-fit: contain; }
.rrm-depth-grid { position: absolute; top: 290px; left: 90px; width: 1420px; height: 497px; object-fit: contain; mix-blend-mode: multiply; }
.rrm-layer-count { position: absolute; top: 190px; left: 320px; width: 960px; height: 602px; object-fit: contain; mix-blend-mode: multiply; }
.rrm-representations { position: absolute; top: 300px; left: 65px; width: 1470px; height: 368px; object-fit: contain; mix-blend-mode: multiply; }

.rrm-orders-diagram { position: absolute; left: 50px; top: 165px; width: 1500px; height: 650px; }
.rrm-orders-diagram [data-reveal] { transform: none; }

.deep-supervision-diagram { position: absolute; left: 50px; top: 225px; width: 1500px; height: 560px; }
.deep-supervision-diagram [data-reveal] { transform: none; }

.flexbrain-defence .pool-node { fill: #5789c6; stroke: #59b9d2; }
.flexbrain-defence .pool-selected { fill: #6a9d94; stroke: #59b9d2; }
.flexbrain-defence .pool-last { fill: #9476b7; stroke: #59b9d2; }
.flexbrain-defence .pool-math, .flexbrain-defence .action-label { fill: white; }
.flexbrain-defence .action-chip { fill: #6a9d94; stroke: #59b9d2; }
.flexbrain-defence .score-bars .selected-bar { fill: #6a9d94; }

.language-routing-diagram { left: 50px; top: 250px; width: 1500px; height: 487px; }
.language-routing-diagram .route-method { font-size: 36px; }
.language-routing-diagram .route-subtitle { font-size: 25px; }
.language-routing-diagram .route-small { font-size: 23px; }
.language-routing-diagram .route-math { font-size: 35px; }
.language-routing-diagram .route-block-label { font-size: 25px; }
.vision-routing-diagram { top: 235px; }
.vision-routing-diagram .route-small { font-size: 21px; }

.content-slide .method-reference-footer { bottom: 18px; align-items: flex-end; gap: 20px; letter-spacing: 0; padding-top: 12px; }
.method-references { flex: 1; display: grid; gap: 22px; min-height: 70px; font-size: 13.5px; line-height: 1.28; }
.method-references-4 { grid-template-columns: repeat(4, 1fr); }
.method-references-3 { grid-template-columns: repeat(3, 1fr); }
.method-references p { margin: 0; }
.method-references strong { display: block; font-weight: 600; }
.method-references cite { display: block; font-style: italic; }
.vision-routing-diagram { top: 220px; height: 540px; }

.vision-routing-diagram .route-decision-label { font-size: 23px; }

.language-path-length-figure { position: absolute; left: 140px; top: 210px; width: 1320px; height: 605px; object-fit: contain; }
.path-length-context { font-size: 22px; }

/* AR example adapted from the original masked-diffusion presentation. */
.ar-generation-diagram { position:absolute; left:100px; top:176px; width:1400px; height:570px; }
.ar-generation-takeaway { position:absolute; top:758px; left:100px; width:1400px; margin:0; text-align:center; font-size:30px; font-weight:600; color:var(--purple, #662e7d); }

.masked-diffusion-animation { position:absolute; left:180px; top:145px; width:1240px; height:654px; margin:0; }
.masked-diffusion-animation img { display:block; width:100%; height:100%; object-fit:contain; }
.masked-diffusion-slide footer a { color:inherit; text-decoration:none; }

/* Masked-diffusion background and inference examples, matching the defence palette. */
.mdm-process-diagram { position:absolute; left:80px; top:184px; width:1440px; height:600px; overflow:visible; }
.mdm-context { position:absolute; left:90px; top:133px; margin:0; font-size:24px; color:var(--mila-purple); }
.mdm-training-slide .mdm-process-diagram { top:173px; height:480px; }
.mdm-objective { position:absolute; left:180px; top:668px; width:1240px; text-align:center; color:var(--mila-purple); }
.mdm-objective img { display:block; width:100%; height:120px; object-fit:contain; }
.mdm-generation-question { position:absolute; left:80px; top:744px; width:1440px; margin:0; text-align:center; color:var(--mila-purple); font-size:30px; font-weight:600; }

.mdm-margin-slide .mdm-process-diagram { top:175px; height:620px; }

/* Standard MDM objective branching into the two training options. */
.adaptive-standard { position:absolute; left:180px; top:178px; width:1240px; text-align:center; color:var(--mila-purple); }
.adaptive-standard img { display:block; width:100%; height:115px; object-fit:contain; }
.adaptive-standard p { margin:12px 0 0; font-size:23px; }
.adaptive-branch { position:absolute; top:345px; width:680px; height:440px; text-align:center; color:var(--mila-purple); }
.adaptive-policy-branch { left:90px; }
.adaptive-joint-branch { left:830px; }
.adaptive-branch-arrow { display:block; width:680px; height:140px; overflow:visible; }
.adaptive-branch h3 { margin:13px 0 0; font-size:31px; font-weight:600; }
.adaptive-branch p { margin:13px 0 0; font-size:23px; }
.adaptive-branch-equation { display:block; width:92%; height:145px; margin:48px auto 0; object-fit:contain; }

/* Adaptive-order results: original figures and table-derived measurements. */
.adaptive-results-context { position:absolute; left:90px; top:135px; margin:0; color:var(--mila-purple); font-size:23px; }
.adaptive-results-figure { position:absolute; left:70px; top:190px; width:1460px; height:605px; object-fit:contain; }
.adaptive-transfer-figure { top:155px; height:580px; }
.adaptive-robustness-figure { top:150px; height:590px; }
.adaptive-efficiency-figure { top:175px; height:610px; }
.adaptive-oracle-diagram { position:absolute; left:80px; top:170px; width:1440px; height:620px; }

/* Tables retain paper precision and bold the best values. */
.adaptive-paper-table { width:100%; border-collapse:collapse; color:#000; font-size:24px; font-variant-numeric:tabular-nums; line-height:1.2; }
.adaptive-paper-table th, .adaptive-paper-table td { padding:9px 20px; text-align:center; white-space:nowrap; font-weight:400; }
.adaptive-paper-table th:first-child { text-align:left; }
.adaptive-paper-table thead { border-top:2px solid #000; border-bottom:1.5px solid #000; }
.adaptive-paper-table thead th { padding-top:13px; padding-bottom:13px; color:#000; font-weight:600; }
.adaptive-paper-table thead span { display:block; margin-top:5px; font-size:18px; font-weight:400; }
.adaptive-paper-table tbody { border-bottom:2px solid #000; }
.adaptive-paper-table strong { font-weight:700; }
.adaptive-paper-table .table-group th { padding-top:14px; padding-bottom:9px; color:#000; font-size:22px; font-weight:600; border-bottom:1px solid #aaa; }
.adaptive-paper-table .table-policy { background:transparent; }
.adaptive-paper-table .table-oracle { border-top:1px dashed #888; }
.adaptive-paper-table .table-pm { font-size:.9em; }
.adaptive-main-table { position:absolute; left:160px; top:163px; width:1280px; }
.adaptive-main-table th:first-child { width:32%; }
.adaptive-continued-table { position:absolute; left:230px; top:245px; width:1140px; }
.adaptive-continued-table .adaptive-paper-table { font-size:27px; }
.adaptive-continued-table th, .adaptive-continued-table td { padding:21px 24px; }
.adaptive-llada-tables { position:absolute; left:90px; top:220px; width:1420px; }
.llada-table-block + .llada-table-block { margin-top:55px; }
.llada-table-block h3 { margin:0 0 20px; color:#000; font-size:28px; font-weight:600; }
.adaptive-llada-tables .adaptive-paper-table { font-size:25px; }
.adaptive-llada-tables th, .adaptive-llada-tables td { padding:14px 15px; }
.adaptive-llada-tables thead th { font-size:22px; }
.adaptive-llada-tables thead span { font-size:17px; }
.adaptive-delta-note { position:absolute; left:90px; top:758px; width:1420px; text-align:center; color:var(--mila-purple); }
.adaptive-delta-note p { margin:0; font-size:23px; line-height:1.4; }
.adaptive-delta-note span { display:block; font-size:20px; line-height:1.4; }

.adaptive-main-table tbody td, .adaptive-main-table tbody th { padding-top:7px; padding-bottom:7px; }

/* Combined code/language results retain all rows and reported precision. */
.adaptive-combined-tables { position:absolute; left:90px; top:184px; width:1420px; color:#000; }
.adaptive-combined-tables h3 { margin:0 0 8px; font-size:25px; font-weight:600; color:#000; }
.adaptive-combined-tables .adaptive-paper-table { font-size:23px; }
.adaptive-combined-tables .adaptive-paper-table th, .adaptive-combined-tables .adaptive-paper-table td { padding:4px 15px; }
.adaptive-combined-tables .adaptive-paper-table thead th { padding-top:6px; padding-bottom:6px; font-size:21px; }
.adaptive-combined-tables .adaptive-paper-table thead span { margin-top:3px; font-size:16px; }
.adaptive-combined-tables .adaptive-llada-tables { position:static; width:100%; margin-top:20px; }
.adaptive-combined-tables .llada-table-block + .llada-table-block { margin-top:20px; }

/* Proposal roadmap and source-based future-work diagrams. */
.defence-roadmap { position:absolute; left:165px; top:225px; width:1270px; margin:0; padding:0; list-style:none; color:var(--mila-purple); }
.defence-roadmap li { display:flex; align-items:center; gap:48px; min-height:125px; font-size:40px; border-bottom:1px solid #ded5e2; }
.defence-roadmap li:last-child { border-bottom:0; }
.defence-roadmap span { width:65px; font-size:27px; color:#9979a6; }
/* Future-work evidence: paper table/loss and three original PDF figures. */
.future-full-table { position:absolute; left:70px; top:205px; width:830px; }
.future-paper-block h3 { margin:0 0 14px; font-size:25px; font-weight:600; color:#000; }
.future-paper-block + .future-paper-block { margin-top:42px; }
.future-full-table .adaptive-paper-table { font-size:23px; }
.future-full-table th, .future-full-table td { padding:10px 9px; }
.future-full-table thead th { font-size:21px; }
.future-policy-loss { position:absolute; left:920px; top:355px; width:630px; height:130px; object-fit:contain; }
.future-original-figures { position:absolute; left:60px; top:170px; width:1480px; height:620px; }
.future-original-figures img { position:absolute; top:0; height:620px; object-fit:contain; }
.future-original-static { left:0; width:460px; }
.future-original-breadth { left:500px; width:460px; }
.future-original-loss { left:1000px; width:460px; }

.future-reward-definition { position:absolute; left:940px; top:500px; width:590px; color:#000; text-align:center; font-size:22px; }
.future-reward-definition p { margin:0 0 12px; }

/* Chapter transitions use the Mila title-slide background. */
.chapter-divider { color:white; background:var(--mila-purple); }
.chapter-index { position:absolute; left:120px; top:235px; margin:0; font-size:28px; font-weight:400; letter-spacing:3px; opacity:.7; }
.chapter-title-block { position:absolute; left:120px; top:310px; width:1360px; }
.chapter-divider h2 { margin:0; font-size:82px; line-height:1.14; font-weight:500; letter-spacing:-1.5px; }
.chapter-subtitle { margin:28px 0 0; max-width:1220px; font-size:43px; line-height:1.3; font-weight:400; }
.chapter-divider footer { color:white; border-color:#ffffff30; }
