/* CodeHero PRO — shared slide-deck engine (styles).
   Every deck under docs/presentations/ loads this file; the markup is generated by
   scripts/build_presentations.py from docs/presentations/src/<slug>.md.
   Palette = the site palette (docs/index.html); gold marks humans, cyan marks the factory. */

:root {
    --bg: #07070d;
    --bg-2: #0d0d16;
    --card: rgba(18, 18, 32, 0.72);
    --border: rgba(99, 102, 241, 0.18);
    --border-strong: rgba(99, 102, 241, 0.45);
    --text: #f1f5f9;
    --text-2: #b6c2d3;
    --muted: #8593a8;
    --indigo: #6366f1;
    --violet: #8b5cf6;
    --cyan: #22d3ee;
    --green: #10b981;
    --orange: #f59e0b;
    --gold: #d4af37;
    --stage-w: 1280px;
    --stage-h: 720px;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}
body.speaker { overflow: auto; }
a { color: var(--cyan); }
code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.92em; background: rgba(34, 211, 238, 0.08); padding: 1px 6px; border-radius: 5px; color: var(--cyan); }

/* ---------------------------------------------------------------- stage --- */
.viewport { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; }
.stage { position: relative; width: var(--stage-w); height: var(--stage-h); transform-origin: center center; flex: none; }
.slide {
    position: absolute; inset: 0; display: none; overflow: hidden;
    background: radial-gradient(1200px 500px at 15% -10%, rgba(99, 102, 241, 0.18), transparent 60%),
                radial-gradient(900px 500px at 100% 110%, rgba(34, 211, 238, 0.10), transparent 60%),
                var(--bg);
}
.slide.current { display: block; }
.slide .inner { position: absolute; left: 0; top: 0; width: var(--stage-w); height: var(--stage-h); padding: 56px 88px 72px; display: flex; flex-direction: column; }
.slide .body { flex: 1; display: flex; flex-direction: column; justify-content: center; justify-content: safe center; min-height: 0; }
.slide .notes { display: none; }
.slide .eyebrow {
    color: var(--cyan); font-size: 15px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
    margin: 0 0 14px;
}
.slide h2 { font-size: 40px; line-height: 1.15; font-weight: 700; margin: 0 0 24px; letter-spacing: -0.5px; }
.slide h3 { font-size: 27px; line-height: 1.25; font-weight: 600; margin: 0 0 12px; color: var(--text); }
.slide h4 { font-size: 22px; margin: 0 0 8px; color: var(--cyan); font-weight: 600; }
.slide p { font-size: 24px; line-height: 1.5; margin: 0 0 16px; color: var(--text-2); }
.slide p.lead { font-size: 30px; color: var(--text); }
.slide strong { color: var(--text); font-weight: 600; }
.slide ul, .slide ol { font-size: 24px; line-height: 1.45; margin: 0 0 14px; padding-left: 34px; color: var(--text-2); }
.slide li { margin: 0 0 10px; }
.slide li::marker { color: var(--cyan); }
.slide ul ul, .slide ol ul { font-size: 22px; margin: 8px 0 0; }
.slide ul ul li { margin-bottom: 6px; color: var(--muted); }
.slide hr { border: 0; border-top: 1px solid var(--border); margin: 18px 0; }

/* text sizes on demand */
.slide .small, .slide .small p, .slide .small li, .slide .small td { font-size: 20px; line-height: 1.4; }
.slide .small th { font-size: 15px; }
.slide .xsmall, .slide .xsmall p, .slide .xsmall li, .slide .xsmall td { font-size: 17px; line-height: 1.35; }
.slide .xsmall th { font-size: 14px; }
.slide .xsmall td { padding: 6px 10px; }
.slide .small .card p, .slide .small .card li, .slide .small .cols p, .slide .small .cols li, .slide .small .callout p, .slide .small .loop li { font-size: 18px; line-height: 1.38; }
.slide .small .card { padding: 16px 20px; }
.slide .small .card h3 { font-size: 21px; margin-bottom: 8px; }
.slide .small .card h4, .slide .small .loop li b { font-size: 19px; }
.slide .small .chip { font-size: 17px; padding: 6px 13px; }
.slide .small .quote p { font-size: 26px; }
.slide .small .quote.compact p { font-size: 21px; }
.slide .small .quote .source { font-size: 16px; }
.slide .small .tight li { margin-bottom: 5px; }
.slide .small .status { font-size: 15px; }
.slide .muted { color: var(--muted); }
.slide .center { text-align: center; }
.slide .tight li { margin-bottom: 6px; }

/* ------------------------------------------------------------- layouts --- */
.slide.layout-title .inner { align-items: center; justify-content: center; text-align: center; padding: 40px 120px; }
.slide.layout-title .body { justify-content: center; align-items: center; max-width: 1040px; flex: none; }
.slide.layout-title h1 {
    font-size: 66px; line-height: 1.08; font-weight: 800; letter-spacing: -1.5px; margin: 26px 0 18px;
    background: linear-gradient(135deg, #ffffff 0%, #22d3ee 55%, #6366f1 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.slide.layout-title p.subtitle { font-size: 30px; color: var(--text); margin-bottom: 26px; }
.slide.layout-title p.meta { font-size: 19px; color: var(--muted); margin: 0; }
.slide.layout-title .brand { font-size: 20px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--cyan); margin: 0; }

.slide.layout-section .inner { justify-content: center; }
.slide.layout-section .kicker { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 24px; color: var(--gold); letter-spacing: 3px; text-transform: uppercase; margin: 0 0 22px; }
.slide.layout-section h2 { font-size: 58px; line-height: 1.1; max-width: 1000px; margin-bottom: 22px; }
.slide.layout-section p { font-size: 30px; color: var(--text-2); max-width: 980px; }
.slide.layout-section .inner::before {
    content: ''; position: absolute; left: 88px; top: 56px; width: 64px; height: 6px; border-radius: 3px;
    background: linear-gradient(90deg, var(--gold), var(--cyan));
}

/* --------------------------------------------------------- components --- */
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
.cols.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cols.four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cols.wide-left { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.cols.wide-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.cols > * { min-width: 0; }
.cols ul, .cols ol, .cols p { font-size: 22px; }
.cols.three ul, .cols.three ol, .cols.three p, .cols.four ul, .cols.four p { font-size: 20px; }

.card {
    background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 22px 26px;
}
.card.human { border-color: rgba(212, 175, 55, 0.45); }
.card.factory { border-color: rgba(34, 211, 238, 0.4); }
.card.highlight { border-color: var(--border-strong); box-shadow: 0 0 24px rgba(99, 102, 241, 0.25); }
.card h3 { font-size: 24px; margin-bottom: 10px; }
.card h4 { font-size: 20px; }
.card p, .card li { font-size: 20px; line-height: 1.4; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .n { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 15px; color: var(--muted); letter-spacing: 1px; display: block; margin-bottom: 8px; }

.actor { display: inline-block; font-size: 15px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; line-height: 1.2; vertical-align: middle; }
.actor.human { color: var(--gold); border: 1px solid rgba(212, 175, 55, 0.55); background: rgba(212, 175, 55, 0.09); }
.actor.factory { color: var(--cyan); border: 1px solid rgba(34, 211, 238, 0.4); background: rgba(34, 211, 238, 0.07); }

/* horizontal process flow (stations) */
.flow { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 14px; margin: 8px 0 0; padding: 0; list-style: none; counter-reset: station; }
.flow li { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px 16px 16px; }
.flow li.human { border-color: rgba(212, 175, 55, 0.5); }
.flow li.factory { border-color: rgba(34, 211, 238, 0.4); }
.flow li + li::before { content: ''; position: absolute; left: -11px; top: 50%; width: 10px; height: 10px; border-top: 2px solid var(--muted); border-right: 2px solid var(--muted); transform: translateY(-50%) rotate(45deg); }
.flow .num { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 14px; color: var(--muted); margin-right: 8px; }
.flow h4 { font-size: 21px; color: var(--text); margin: 10px 0 6px; }
.flow p { font-size: 17px; line-height: 1.4; margin: 0; color: var(--text-2); }
.legend { display: flex; gap: 28px; font-size: 18px; color: var(--muted); margin-top: 18px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.legend .human i { background: var(--gold); }
.legend .factory i { background: var(--cyan); }

/* vertical loop (verify → fix → recheck) */
.loop { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 0; margin: 0; list-style: none; }
.loop li { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px; font-size: 19px; line-height: 1.4; color: var(--text-2); position: relative; }
.loop li b { display: block; color: var(--text); font-size: 21px; margin-bottom: 6px; }
.loop li + li::before { content: ''; position: absolute; left: -11px; top: 50%; width: 10px; height: 10px; border-top: 2px solid var(--muted); border-right: 2px solid var(--muted); transform: translateY(-50%) rotate(45deg); }

/* quotes and callouts */
.quote { border-left: 5px solid var(--cyan); padding: 6px 0 6px 28px; margin: 10px 0 22px; }
.quote p { font-size: 34px; line-height: 1.35; color: var(--text); font-weight: 500; margin: 0; }
.quote p.source, .quote .source { font-size: 18px; color: var(--muted); margin-top: 12px; font-weight: 400; }
.quote.gold { border-color: var(--gold); }
.quote.compact p { font-size: 26px; }
.callout { background: rgba(99, 102, 241, 0.12); border: 1px solid var(--border-strong); border-radius: 14px; padding: 18px 24px; margin: 10px 0 0; }
.callout p { font-size: 22px; color: var(--text); margin: 0; }
.callout.gold { background: rgba(212, 175, 55, 0.08); border-color: rgba(212, 175, 55, 0.5); }
.callout.green { background: rgba(16, 185, 129, 0.08); border-color: rgba(16, 185, 129, 0.45); }

.big { font-size: 84px; font-weight: 800; line-height: 1; color: var(--cyan); letter-spacing: -2px; margin: 0 0 8px; }
.big.gold { color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 16px; }
.chip { font-size: 19px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border-strong); background: rgba(99, 102, 241, 0.1); color: var(--text); }
.chip.gold { border-color: rgba(212, 175, 55, 0.55); background: rgba(212, 175, 55, 0.09); }
.chip.cyan { border-color: rgba(34, 211, 238, 0.45); background: rgba(34, 211, 238, 0.07); }
.chip.green { border-color: rgba(16, 185, 129, 0.5); background: rgba(16, 185, 129, 0.08); }
.chip.orange { border-color: rgba(245, 158, 11, 0.5); background: rgba(245, 158, 11, 0.08); }

/* status labels */
.status { display: inline-block; font-size: 17px; font-weight: 700; padding: 3px 12px; border-radius: 8px; letter-spacing: 0.5px; }
.status.confirmed { color: var(--green); background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.4); }
.status.assumed { color: var(--orange); background: rgba(245, 158, 11, 0.12); border: 1px solid rgba(245, 158, 11, 0.4); }
.status.technical { color: var(--cyan); background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.4); }
.status.open { color: #f87171; background: rgba(248, 113, 113, 0.12); border: 1px solid rgba(248, 113, 113, 0.45); }
.status.later { color: var(--muted); background: rgba(133, 147, 168, 0.12); border: 1px solid rgba(133, 147, 168, 0.4); }

/* tables */
.slide table { width: 100%; border-collapse: collapse; font-size: 19px; line-height: 1.35; margin: 0 0 12px; }
.slide th { text-align: left; color: var(--cyan); font-weight: 600; font-size: 16px; letter-spacing: 1px; text-transform: uppercase; padding: 6px 12px; border-bottom: 1px solid var(--border-strong); }
.slide td { padding: 8px 12px; border-bottom: 1px solid var(--border); color: var(--text-2); vertical-align: top; }
.slide td:first-child { color: var(--text); }
.slide tr:last-child td { border-bottom: none; }
.slide pre { background: rgba(0, 0, 0, 0.35); border: 1px solid var(--border); border-radius: 12px; padding: 18px 22px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 18px; line-height: 1.45; color: var(--text-2); overflow: hidden; white-space: pre-wrap; margin: 0 0 14px; }
.slide pre code { background: none; padding: 0; color: inherit; font-size: inherit; }

/* mascot (same construction as the site header, scaled) */
.mascot { position: relative; width: 78px; height: 90px; margin: 0 auto; }
.mascot span { position: absolute; left: 50%; transform: translateX(-50%); }
.mascot .m-body { bottom: 0; width: 39px; height: 51px; background: linear-gradient(180deg, #6366f1 0%, #4f46e5 100%); border-radius: 9px 9px 6px 6px; box-shadow: 0 0 24px rgba(99, 102, 241, 0.45); }
.mascot .m-head { bottom: 45px; width: 33px; height: 33px; background: linear-gradient(180deg, #818cf8 0%, #6366f1 100%); border-radius: 50%; }
.mascot .m-mask { top: 9px; width: 24px; height: 9px; background: #0f0f23; border-radius: 6px; }
.mascot .m-mask::before, .mascot .m-mask::after { content: ''; position: absolute; top: 1.5px; width: 6px; height: 6px; background: #22d3ee; border-radius: 3px; }
.mascot .m-mask::before { left: 3px; } .mascot .m-mask::after { right: 3px; }
.mascot .m-cape { bottom: 6px; width: 57px; height: 57px; background: linear-gradient(180deg, #a78bfa 0%, #7c3aed 100%); clip-path: polygon(15% 0%, 85% 0%, 100% 100%, 50% 80%, 0% 100%); }

/* fragments (step-by-step reveal) */
.fragment { opacity: 0; transform: translateY(6px); transition: opacity 0.25s ease, transform 0.25s ease; }
.fragment.visible { opacity: 1; transform: none; }
body.overview .fragment, body.print .fragment, body.speaker .fragment { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- chrome --- */
.slide-footer { position: absolute; left: 88px; right: 88px; bottom: 26px; display: flex; justify-content: space-between; align-items: center; font-size: 15px; color: var(--muted); font-family: 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 0.5px; }
.slide-footer .brand { color: var(--muted); }
.slide-footer .brand b { color: var(--text-2); font-weight: 600; }
.slide.layout-title .slide-footer { display: none; }

.progress { position: fixed; left: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--cyan), var(--indigo)); width: 0; z-index: 20; transition: width 0.2s ease; }
.chrome { position: fixed; right: 16px; top: 12px; display: flex; gap: 8px; z-index: 30; opacity: 0.35; transition: opacity 0.2s ease; }
.chrome:hover, .chrome:focus-within, body.show-chrome .chrome { opacity: 1; }
.chrome button, .chrome a {
    width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border-strong);
    background: rgba(13, 13, 22, 0.85); color: var(--text); font-size: 18px; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; text-decoration: none; padding: 0;
    font-family: 'Inter', sans-serif;
}
.chrome button:hover, .chrome a:hover { border-color: var(--cyan); }
.chrome .counter { width: auto; padding: 0 12px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 14px; color: var(--text-2); cursor: default; }
.chrome .counter:hover { border-color: var(--border-strong); }
.topbar { position: fixed; left: 16px; top: 12px; z-index: 30; display: flex; gap: 8px; opacity: 0.35; transition: opacity 0.2s ease; }
.topbar:hover, body.show-chrome .topbar { opacity: 1; }
.topbar a { font-size: 14px; color: var(--text-2); text-decoration: none; border: 1px solid var(--border); background: rgba(13, 13, 22, 0.85); border-radius: 8px; padding: 7px 12px; }
.topbar a:hover { color: var(--text); border-color: var(--cyan); }
body:fullscreen .topbar, body:-webkit-full-screen .topbar { display: none; }
@media (hover: none) { .chrome, .topbar { opacity: 0.9; } }
@media (max-width: 720px) {
    .topbar { top: auto; bottom: 14px; }
    .topbar a + a { display: none; }
    .chrome { top: auto; bottom: 12px; }
    .chrome [data-action="overview"], .chrome [data-action="notes"], .chrome [data-action="speaker"], .chrome [data-action="help"] { display: none; }
}

/* help overlay */
.help { position: fixed; inset: 0; background: rgba(7, 7, 13, 0.92); z-index: 60; display: none; align-items: center; justify-content: center; padding: 24px; }
.help.open { display: flex; }
.help .panel { max-width: 640px; width: 100%; background: var(--bg-2); border: 1px solid var(--border-strong); border-radius: 16px; padding: 28px 32px; }
.help h3 { margin: 0 0 16px; font-size: 22px; }
.help table { width: 100%; border-collapse: collapse; font-size: 16px; }
.help td { padding: 7px 4px; border-bottom: 1px solid var(--border); color: var(--text-2); }
.help td:first-child { width: 190px; }
.help kbd { display: inline-block; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--border-strong); background: rgba(99, 102, 241, 0.12); color: var(--text); margin-right: 4px; }
.help p { color: var(--muted); font-size: 14px; margin: 16px 0 0; }

/* black screen */
.blackout { position: fixed; inset: 0; background: #000; z-index: 55; display: none; }
body.black .blackout { display: block; }

/* notes panel (audience window, toggled with N) */
.notes-panel { position: fixed; left: 0; right: 0; bottom: 0; max-height: 34vh; overflow: auto; background: rgba(13, 13, 22, 0.96); border-top: 1px solid var(--border-strong); padding: 16px 28px 22px; z-index: 40; display: none; font-size: 16px; line-height: 1.5; color: var(--text-2); }
body.notes .notes-panel { display: block; }
.notes-panel h4 { margin: 0 0 8px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.notes-panel p { margin: 0 0 10px; }
.notes-panel ul { margin: 0 0 10px; padding-left: 22px; }
.notes-panel .empty { color: var(--muted); font-style: italic; }

/* ------------------------------------------------------------- overview --- */
body.overview { overflow: auto; }
body.overview .viewport { position: static; display: block; padding: 24px; }
body.overview .stage { width: auto; height: auto; transform: none !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
body.overview .slide { position: relative; display: block; inset: auto; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; border: 1px solid var(--border); cursor: pointer; }
body.overview .slide.current { border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.4); }
body.overview .slide .inner { transform: scale(var(--thumb-scale, 0.25)); transform-origin: top left; pointer-events: none; }
body.overview .slide .thumb-index { position: absolute; left: 10px; bottom: 8px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; color: var(--text); background: rgba(7, 7, 13, 0.8); padding: 3px 8px; border-radius: 6px; z-index: 2; }
body.overview .chrome, body.overview .progress, body.overview .notes-panel { display: none; }

/* -------------------------------------------------------------- speaker --- */
body.speaker { background: #111119; }
body.speaker .viewport { position: static; display: grid; align-items: stretch; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr); grid-template-rows: auto 1fr; gap: 18px; padding: 18px; min-height: 100vh; }
body.speaker .stage-box { grid-column: 1; grid-row: 1; aspect-ratio: 16 / 9; position: relative; overflow: hidden; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--bg); }
body.speaker .stage { position: absolute; left: 0; top: 0; transform-origin: top left; }
body.speaker .next-box { grid-column: 1; grid-row: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: start; }
body.speaker .next-box .panel { border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; background: var(--bg-2); }
body.speaker .next-box h4 { margin: 0 0 8px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
body.speaker .next-box .timer { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 40px; color: var(--text); }
body.speaker .next-box .timer small { font-size: 14px; color: var(--muted); display: block; margin-top: 4px; }
body.speaker .next-box .next-title { font-size: 20px; color: var(--text); line-height: 1.3; }
body.speaker .next-box .next-title .eyebrow-small { display: block; font-size: 12px; color: var(--cyan); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px; }
body.speaker .speaker-notes { grid-column: 2; grid-row: 1 / span 2; border: 1px solid rgba(212, 175, 55, 0.4); border-radius: 12px; padding: 20px 24px; background: var(--bg-2); overflow: auto; font-size: 20px; line-height: 1.55; color: var(--text); }
body.speaker .speaker-notes h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
body.speaker .speaker-notes ul { padding-left: 24px; }
body.speaker .speaker-notes li { margin-bottom: 10px; }
body.speaker .speaker-notes .empty { color: var(--muted); font-style: italic; }
body.speaker .chrome, body.speaker .progress, body.speaker .topbar, body.speaker .notes-panel { display: none; }
@media (max-width: 900px) {
    body.speaker .viewport { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
    body.speaker .stage-box { grid-column: 1; grid-row: 1; }
    body.speaker .speaker-notes { grid-column: 1; grid-row: 2; }
    body.speaker .next-box { grid-column: 1; grid-row: 3; }
}

/* ---------------------------------------------------------------- print --- */
/* ?print=1 stacks every slide at full size (a scroll-through view and the layout Ctrl+P prints) */
body.print { overflow: auto; }
body.print .viewport { position: static; display: block; padding: 0; }
body.print .stage { width: var(--stage-w); height: auto; margin: 0 auto; transform: none !important; }
body.print .slide { position: relative; display: block; inset: auto; width: var(--stage-w); height: var(--stage-h); margin: 0 0 16px; border-bottom: 1px solid var(--border); }
body.print .chrome, body.print .progress, body.print .notes-panel { display: none; }
@page { size: 1280px 720px; margin: 0; }
@media print {
    html, body { overflow: visible; height: auto; background: var(--bg); }
    .viewport { position: static; display: block; padding: 0; }
    .stage { width: var(--stage-w); height: auto; margin: 0; transform: none !important; }
    .slide { position: relative; display: block !important; inset: auto; width: var(--stage-w); height: var(--stage-h); margin: 0; border: 0; page-break-after: always; break-after: page; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .slide:last-child { page-break-after: auto; break-after: auto; }
    .chrome, .topbar, .progress, .help, .notes-panel, .blackout { display: none !important; }
    .fragment { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .fragment, .progress { transition: none; }
}
