/* SI100B circuit theme: 160 × 90 mm canvas rendered at 1920 × 1080. */
@font-face{font-family:Inter;src:url(fonts/Inter-Regular.ttf)}
@font-face{font-family:Inter;src:url(fonts/Inter-Bold.ttf);font-weight:700}
@font-face{font-family:'Noto Serif';src:url(fonts/NotoSerif-Regular.ttf)}
@font-face{font-family:'Noto Serif';src:url(fonts/NotoSerif-Bold.ttf);font-weight:700}
:root{--bg:#0a1020;--band:#111a2b;--ink:#e8edf7;--muted:#a8b5cb;--dim:#7586a3;--accent:#63c8ff;--lilac:#b296ff;--panel:#162239;--line:#31445f;--panel-top:#1d2d49;--shadow:#0009;--art:url(art-edge.svg)}
:root.light{color-scheme:light;--bg:#f3f5f9;--band:#e8edf5;--ink:#172a48;--muted:#4b5d77;--dim:#65758c;--accent:#1865a8;--lilac:#7054ad;--panel:#fff;--panel-top:#f8faff;--line:#c3cede;--shadow:#53678930;--art:url(art-edge-light.svg)}
body,.reveal-viewport{background:var(--bg);color:var(--ink)}.reveal{font:42px/1.4 Inter,sans-serif;color:var(--ink)}
.reveal h1,.reveal h2{font-family:'Noto Serif',Georgia,serif;font-weight:700;letter-spacing:-.025em;margin:0;color:var(--ink)}
.reveal header{position:absolute;inset:0 0 auto;height:210px;background:var(--band);border-bottom:2px solid var(--accent);box-shadow:0 8px 36px var(--shadow);display:flex;align-items:center;padding:0 144px;overflow:hidden}
.reveal header::after{content:'';position:absolute;right:220px;top:0;width:660px;height:210px;background:var(--art) right center/contain no-repeat;opacity:.7;pointer-events:none}
.reveal .heading{position:relative;z-index:1;padding-right:40px;background:linear-gradient(90deg,var(--band) 94%,transparent);max-width:1490px}
.reveal .eyebrow{font-size:25px;line-height:1.4;letter-spacing:.16em;text-transform:uppercase;color:var(--accent);font-weight:700;margin-bottom:10px}
.reveal header h2{font-size:65px;line-height:1.2}.reveal .header-logo{position:absolute;right:144px;width:auto;height:53px;z-index:2}
.reveal main{position:absolute;left:144px;right:144px;top:230px;bottom:110px;display:flex;align-items:center;justify-content:center}
.reveal footer{position:absolute;bottom:0;height:108px;left:144px;right:144px;display:flex;align-items:center;justify-content:space-between;font-size:23px;font-weight:700;color:var(--muted)}
.footer-separator{padding:0 18px;color:var(--dim)}.page-number{white-space:nowrap;margin-left:34px;color:var(--dim)}
.reveal main>div,.widget-fallback>div{width:100%;max-height:100%;text-align:center}.reveal .photo{display:inline-flex;flex-direction:column;align-items:center;max-width:100%;background:linear-gradient(var(--panel-top),var(--panel));box-shadow:0 8px 26px var(--shadow);border:1px solid var(--line);border-radius:10px;overflow:hidden;vertical-align:middle;flex-shrink:0}
.reveal .photo p{line-height:0}.reveal .photo img{display:block;max-height:660px;object-fit:contain}.reveal figcaption{padding:12px 22px;font-size:25px;font-weight:700;line-height:1.25;color:var(--muted)}
.reveal .photo-viewport{position:relative;overflow:hidden;flex:none}.reveal .photo-viewport img{position:absolute;left:var(--crop-x,0);top:var(--crop-y,0);max-width:none;max-height:none;object-fit:fill}
.reveal .note{font-size:26px;line-height:1.4;color:var(--muted);font-weight:700;margin-top:16px;text-align:center}.reveal .credit{position:absolute;bottom:-45px;right:150px;color:var(--dim);font-size:22px;font-weight:700}.reveal .description{color:var(--muted);font-size:35px}.reveal .statement{font-size:42px}.reveal .statistic{font-size:92px;line-height:1.1;font-weight:700;color:var(--accent)}.reveal .name{font-size:75px;line-height:1.2;font-weight:700}
.reveal .profile{display:grid;grid-template-columns:504px 1fr;gap:18px 120px;text-align:left;align-items:start}.reveal .profile>.photo{grid-column:1;grid-row:1/5;width:432px;height:648px;justify-self:center;display:block}.reveal .profile>.photo .widget-host{height:648px;width:432px}.reveal .profile>.photo si-instructor-shades{display:block;width:100%;height:100%}.reveal .profile>.name,.reveal .profile>.details,.reveal .profile>.note{grid-column:2;text-align:left;margin:0}.reveal .profile>.note:last-child{position:absolute;bottom:-15px;left:0;right:0;text-align:left;font-size:23px}.reveal .profile>.name{font-size:84px}.details{display:grid;grid-template-columns:150px 1fr;gap:16px 45px;font-size:31px;line-height:1.4;margin:26px 0 0}.details dt{color:var(--dim);font-weight:700}.details dd{margin:0}.profile>.note{font-size:32px}
.reveal .research{display:flex;flex-direction:column;gap:15px}.research>.description{font-size:37px;margin-bottom:30px}.research-area{display:flex;text-align:left;gap:30px;align-items:center;min-height:152px;padding:22px 65px;background:linear-gradient(var(--panel-top),var(--panel));border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 26px var(--shadow)}.research-area h3{font-size:43px;color:var(--accent);font-weight:700;width:470px;margin:0;flex:none}.research-area>div{font-size:37px}.research-area small{display:block;color:var(--muted);font-size:29px;margin-top:8px;font-weight:700}
.reveal .paper{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px 35px}.paper>.photo{margin:0 200px 20px}.paper>.statement{font-size:40px}.paper>.description{font-size:33px}.paper>.note{width:100%;font-size:23px;margin-top:0}
.reveal .gallery,.reveal .comparison,.reveal .milestone{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:22px 55px}.gallery>.note,.comparison>.note{width:100%;font-size:26px;margin-top:0}.gallery[layout=three-up-with-caption]>.photo{max-width:30%}.gallery[layout=three-up-with-two-cards]>.photo{max-width:31%}.gallery[layout=three-up-with-two-cards]>.statement{font-size:35px;width:43%}.gallery[layout=three-up-with-two-cards]>.statistic{font-size:52px}.comparison>.statistic{font-size:72px}.comparison>.note{font-size:28px}
.reveal .assessment{display:grid;grid-template-columns:624px 624px;grid-template-rows:200px 200px;justify-content:center;gap:0 96px}.assessment>.statistic{display:flex;align-items:flex-end;justify-content:center;background:var(--panel);padding-bottom:30px;border:1px solid var(--line);border-bottom:0;border-radius:12px 12px 0 0;font-size:126px}.assessment>.statistic:nth-child(1){grid-area:1/1}.assessment>.statistic:nth-child(3){grid-area:1/2}.assessment>.note{margin:0;padding-top:25px;border:1px solid var(--line);border-top:0;background:var(--panel);font-size:35px;border-radius:0 0 12px 12px}.assessment>.note:nth-child(2){grid-area:2/1}.assessment>.note:nth-child(4){grid-area:2/2}
.reveal .reference{max-width:1416px!important;padding:90px 108px;background:linear-gradient(var(--panel-top),var(--panel));border:1px solid var(--line);border-radius:12px;text-align:left;box-shadow:0 12px 36px var(--shadow)}.reference>.statement:first-child{font-size:65px;line-height:1.2;font-weight:700}.reference>.statement:nth-child(2){font-size:46px;color:var(--accent);margin:24px 0 74px}.reference>.note{text-align:left;font-size:35px}
.reveal .abstraction{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:25px 96px}.abstraction>.note{width:100%;font-size:27px;margin-top:0}.abstraction>.name{font-size:114px;font-weight:400;width:100%;margin-bottom:90px}.abstraction>.statistic{width:264px;height:264px;background:var(--panel);border:1px solid var(--line);border-radius:14px;display:flex;align-items:center;justify-content:center;color:var(--ink);font-size:128px;font-weight:400}.abstraction>.code{max-width:1008px;width:100%;background:var(--panel);padding:45px 108px;border:1px solid var(--line);border-radius:12px}.abstraction pre{font:72px/1.4 'Cascadia Mono',monospace;margin:0}.abstraction>.note:first-child{width:1008px;text-align:left;font:29px monospace;color:var(--dim);margin-bottom:-40px;z-index:1;padding-left:108px}.abstraction[layout=framed-figure]>.photo{padding:36px}
.reveal .level-bar{display:flex;gap:26px;align-items:center;font-size:22px}.level-bar span{padding:10px 12px;color:var(--dim);border-radius:7px}.level-bar .active{color:var(--accent);background:var(--panel);border:1px solid var(--line)}
.reveal .chart,.reveal .figure{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 40px}.chart>.photo,.figure>.photo{background:none;box-shadow:none;border:0;border-radius:0}.chart>.note{width:100%;font-size:23px;margin-top:0}.figure>.note{width:100%;font-size:26px;margin-top:0}.chart[layout=full]>.photo img{max-height:730px}.theme-figure img{max-height:610px;max-width:1400px}.ladder>.note{font-size:24px;margin-top:5px}.ladder>.theme-figure{margin-bottom:20px}
.reveal .devices{display:flex;flex-wrap:wrap;gap:25px 40px;justify-content:center;align-items:center}.devices>.device{display:none}.devices>.photo{width:44%;height:230px;justify-content:center}.devices>.photo img{max-height:180px}.devices>.note{width:100%;font-size:23px;margin:0}.device strong{color:var(--accent);font-size:55px}.device span{font-size:25px}
.reveal .milestone>.statistic{font-size:105px}.milestone>.statement{font-size:43px}.milestone>.note{font-size:27px}.milestone[layout=photo-fact-right]>.photo{max-width:66%}.milestone[layout=photo-fact-right]>.statistic{width:25%;font-size:100px}.milestone[layout=photo-fact-right]>.statement,.milestone[layout=photo-fact-right]>.note{margin-left:70%;text-align:left}.milestone[layout=three-crops-fact-below]>.statistic{font-size:88px}
.reveal .summary{font-size:49px;line-height:1.6;text-align:left;padding-left:80px}.summary>.statement{position:relative;font-size:49px;margin:22px 0}.summary>.statement::before{content:'•';color:var(--accent);position:absolute;left:-45px}.reveal .outlook{display:flex;align-items:center;justify-content:center;gap:70px}.outlook>.diagram{max-width:70%}.outlook>.statement{font-size:47px;max-width:350px}.outlook>.statement:last-child{font-weight:700}.outlook .tikz-diagram{height:690px}
.reveal .widget-host{width:100%;height:100%}.reveal .widget-host>:first-child{display:block;width:100%!important;height:100%!important;text-align:left}.reveal .level-bar button{font:inherit;color:var(--dim);background:none;border:1px solid transparent;border-radius:7px;padding:10px 12px;cursor:pointer;white-space:nowrap}.reveal .level-bar button.active{color:var(--accent);background:var(--panel);border-color:var(--line)}.reveal .level-bar button:hover{color:var(--accent);border-color:var(--line)}.reveal .widget-fallback{display:flex;align-items:center;justify-content:center;position:relative}.reveal .widget-fallback>div{max-height:100%}
.reveal .cover{background:var(--bg);overflow:hidden}.cover-content{position:absolute;left:144px;top:96px;width:1040px;z-index:1}.cover-logo{height:90px;margin-bottom:52px;align-self:flex-start}.reveal .cover h1{font-size:74px;line-height:1.25;max-width:1080px;margin-bottom:65px}.cover .course{font-size:37px;color:var(--accent);font-weight:700;margin-bottom:90px}.reveal .cover h2{font-size:57px;margin-bottom:50px}.cover p{font-size:38px;margin-bottom:15px}.cover small{font-size:26px;color:var(--muted)}.cover-art{position:absolute;inset:0;background:url(art-cover.svg) center/cover no-repeat;opacity:.7}.light .cover-art{background-image:url(art-cover-light.svg)}
.reveal .profile>div.details{display:block;grid-column:2;font-size:30px;line-height:1.45;margin:0}.reveal dl.details{display:grid;grid-template-columns:190px 1fr;gap:12px 20px;margin:15px 0 0}.reveal dl.details dt{color:var(--dim);font-weight:700}.reveal dl.details dd{margin:0;color:var(--ink)}.reveal .profile>.note:last-child{grid-column:1/-1;font-size:23px;text-align:left;margin-top:2px}.reveal .profile>.name{grid-column:2}.reveal .profile>.note:nth-child(3){grid-column:2;text-align:left;margin:8px 0 18px;font-size:30px}
/* Semantic layout slots keep related photos, labels and quantities together. */
.reveal .slide-content{width:100%;display:block;max-height:none!important;transform-origin:center center}.reveal .slide-content>.widget-host{height:740px}.reveal .slide-content>div{width:100%;max-height:none;text-align:center}.reveal .slide-content>.profile{text-align:left}.reveal .slide-content>.reference{text-align:left}.reveal .slide-content>.summary{text-align:left}
.reveal .layout-row{display:flex;align-items:center;justify-content:center;gap:45px;width:100%;flex-wrap:nowrap}.reveal .layout-row>.photo{max-width:none}.reveal .layout-row+.layout-row{margin-top:24px}.reveal .layout-row+.note{margin:22px 0}.reveal .layout-row p{margin:0}.reveal .theme-figure img{display:block;width:1260px;height:auto;max-height:550px;margin:auto}.reveal .ladder .theme-figure{margin-bottom:18px}.reveal .ladder>.note{font-size:25px;line-height:1.4}
.reveal .devices{display:block}.reveal .device-card{display:flex;align-items:center;justify-content:space-between;width:804px;min-height:228px;padding:20px 35px;background:linear-gradient(var(--panel-top),var(--panel));border:1px solid var(--line);border-radius:12px;text-align:left}.reveal .device-card .photo{border:0;box-shadow:none;background:none;max-width:300px;height:auto}.reveal .device-card .photo img{height:180px!important;width:270px!important;object-fit:contain}.reveal .device-copy{max-width:450px}.device-copy strong{display:block;font-size:58px;color:var(--accent);line-height:1.2}.device-copy span{display:block;font-size:26px;color:var(--muted);font-weight:700;margin-top:12px}.reveal .devices>.note{margin:16px 0;font-size:24px}
.reveal .gallery[layout=three-up-with-two-cards]{display:block}.reveal .gallery[layout=three-up-with-two-cards] .layout-row:first-child{margin-bottom:28px;gap:48px}.reveal .metric-card{width:800px;padding:22px 34px;background:linear-gradient(var(--panel-top),var(--panel));border:1px solid var(--line);border-radius:12px;text-align:center}.metric-card h3{font-size:36px;margin:0 0 12px;font-weight:700}.metric-card h3 p{display:inline}.metric-card>div{display:flex;gap:12px;align-items:baseline;justify-content:center}.metric-card strong{font-size:55px;color:var(--accent)}.metric-card span{font-size:28px;color:var(--muted)}.metric-card p{display:inline}.gallery[layout=three-up-with-two-cards]>.note{font-size:24px}
.reveal .comparison[layout=image-over-two-columns]{display:block}.comparison[layout=image-over-two-columns] .layout-row:first-child{margin-bottom:24px}.reveal .caption-column{width:648px;text-align:center}.caption-column h3{font-size:49px;margin:0 0 12px;font-weight:700}.caption-column p{font-size:34px;color:var(--muted)}.reveal .caption-column h3 p{font-size:49px;color:var(--ink)}.reveal .comparison[layout=image-over-two-columns]>.note{font-size:28px;margin:12px 0}
.reveal .milestone{display:block}.reveal .fact-column{flex:1;min-width:340px;max-width:510px;text-align:left}.fact-column strong{font-size:110px;font-weight:700;color:var(--accent);line-height:1.15;display:block}.fact-column h3{font-size:45px;font-weight:400;margin:12px 0 40px}.fact-column>p{font-size:29px;color:var(--muted);line-height:1.45;font-weight:700}.fact-column p p{display:inline}.fact-column strong p{display:inline}.fact-column h3 p{display:inline}.reveal .milestone>.note{font-size:26px;margin:20px 0 0}.reveal .milestone .layout-row{gap:60px}.reveal .milestone .layout-row>.photo{flex:none}.reveal .milestone[layout=photo-fact-right] .layout-row>.photo{max-width:65%}.reveal .milestone[layout=three-crops-fact-below] .layout-row{gap:54px}.reveal .metric-line{display:flex;align-items:baseline;justify-content:center;gap:45px;margin-top:60px}.metric-line strong{font-size:92px;color:var(--accent);line-height:1.1}.metric-line span{font-size:42px;color:var(--muted)}.metric-line p{display:inline}
.reveal .comparison[layout=two-column-with-callout]{display:block}.reveal .feature-column{width:816px;flex:none;text-align:center}.feature-column h3{font-size:49px;color:var(--accent);margin:60px 0 20px}.feature-column h4{font-size:42px;margin:0 0 20px}.feature-column .note{font-size:24px;line-height:1.4;margin-top:24px}.feature-column .photo{width:100%}.reveal .comparison[layout=two-column-with-callout]>.layout-row>.photo{max-width:570px}.reveal .comparison[layout=two-column-with-callout] .layout-row{align-items:flex-end;gap:65px}
.reveal .figure[layout=diagram-left-text-right]{display:block}.reveal .explanation-column{width:816px;text-align:left;font-size:49px;line-height:1.35}.explanation-column>p+p{margin-top:70px;color:var(--muted)}.explanation-column p p{display:inline}
.reveal .comparison[layout=three-up-with-statistics],.reveal .comparison[layout=two-up-with-statistics]{display:block}.reveal .metric-photo{display:flex;flex-direction:column;align-items:center;justify-content:center;width:528px;gap:45px}.metric-photo strong{font-size:76px;font-weight:700;line-height:1.1;color:var(--accent)}.metric-photo strong p{display:inline}.metric-photo span{font-size:36px;color:var(--muted);margin-top:-25px}.metric-photo .photo{height:405px;justify-content:flex-start}.metric-photo .photo img{height:336px!important;width:auto!important}.comparison[layout=two-up-with-statistics] .metric-photo{width:720px;gap:40px}.comparison[layout=two-up-with-statistics] .metric-photo .photo{height:440px;max-width:720px;width:720px}.comparison[layout=two-up-with-statistics] .metric-photo strong{display:inline;font-size:80px}.comparison[layout=two-up-with-statistics] .metric-photo .photo-viewport{width:720px!important;height:360px!important}.comparison[layout=two-up-with-statistics] .metric-photo .photo img{height:360px!important;width:640px!important}
.reveal .outlook{display:flex;align-items:center;justify-content:center;gap:72px}.reveal .outlook>.diagram{width:1193px;max-width:none;flex:none}.reveal .outlook .tikz-diagram{width:1193px;height:691px;object-fit:contain;display:block}.reveal .next-topic{max-width:360px;text-align:left;font-size:49px;line-height:1.3}.next-topic span,.next-topic strong{display:inline}.next-topic p{display:inline}.next-topic strong{font-weight:700}.next-topic span::after{content:' '}
.motion{position:relative}.motion img,.motion video{display:block;max-height:648px;width:auto}.motion video{object-fit:cover}.reveal .controls{right:24px;bottom:18px}

/* A short annotation remains visible when the interactive figure replaces its PDF fallback. */
.reveal .slide-content:has(>.widget-host):has(>.annotation)>.widget-host{height:654px}.reveal .annotation{margin-top:10px;font-size:29px;line-height:1.32;color:var(--muted)}
.reveal .side-copy{flex:1;max-width:590px;text-align:left;font-size:42px;line-height:1.35}.side-description{color:var(--muted);font-size:32px}.side-credit{color:var(--muted);font-size:24px}.side-description:not(:empty),.side-credit:not(:empty){margin-top:24px}.outlook-note:not(:empty){margin-top:26px;font-size:29px;color:var(--muted)}

/* Cover: HypoDoc's scaffold (vendor/slides.css) pads .cover-content by 120px and gives the cover h2 a 60px top margin.
   Inside a fixed-width box placed at a fixed top, that squeezed the title to three lines and pushed the stack below the
   1080px canvas. The column now spans the canvas height and centres its content; the auto margins keep the top in view
   if a long title ever makes the stack taller than the canvas. Specific enough to override per-deck top/width tweaks. */
.reveal section.cover>.cover-content{inset:0 auto 0 144px;width:1080px;padding:0;display:flex;flex-direction:column}
.reveal section.cover>.cover-content>:first-child{margin-top:auto}.reveal section.cover>.cover-content>:last-child{margin-bottom:auto}.reveal section.cover h2{margin-top:0}

/* Section divider (finish-web.py --section-dividers): full-bleed chapter opener on the cover artwork. The big outlined
   numeral, kicker and title sit on the left; the chapter's slides are clickable rows on the right. Reveal sets each
   section's display inline, so only the children are positioned here. */
.reveal section.section-divider{background:var(--bg);overflow:hidden}
.reveal section.section-divider::before{content:attr(data-section-index);position:absolute;left:96px;bottom:-150px;font:700 600px/1 'Noto Serif',Georgia,serif;letter-spacing:-.06em;color:transparent;-webkit-text-stroke:2px color-mix(in srgb,var(--accent) 30%,transparent);opacity:.5;pointer-events:none}
.reveal .section-divider-art{position:absolute;inset:0;background:url(art-cover.svg) center/cover no-repeat;opacity:.34;pointer-events:none}
.reveal .section-divider-art::after{content:'';position:absolute;inset:0;background:radial-gradient(900px 640px at 74% 50%,color-mix(in srgb,var(--accent) 34%,transparent),transparent 70%),radial-gradient(700px 520px at 16% 30%,color-mix(in srgb,var(--lilac) 22%,transparent),transparent 72%)}
.light .reveal .section-divider-art{background-image:url(art-cover-light.svg);opacity:.42}
.light .reveal .section-divider-art::after{opacity:.55}
.reveal .section-divider-inner{position:absolute;inset:0 144px;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 760px;grid-template-rows:1fr auto auto 1fr;grid-template-areas:'. outline' 'kicker outline' 'title outline' '. outline';column-gap:110px;row-gap:36px}
.reveal .section-divider-inner:not(:has(.section-outline li)){grid-template-columns:minmax(0,1fr);grid-template-areas:'.' 'kicker' 'title' '.'}
.reveal .section-divider-inner:has(.section-outline li:nth-child(13)){grid-template-columns:minmax(0,1fr) 1040px;column-gap:80px}
.reveal .section-kicker{grid-area:kicker;justify-self:start;display:inline-flex;align-items:center;gap:16px;padding:12px 26px 12px 20px;border:2px solid color-mix(in srgb,var(--accent) 55%,transparent);border-radius:999px;background:color-mix(in srgb,var(--accent) 10%,var(--bg));font:700 26px/1 'Cascadia Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.22em;color:var(--accent)}
.reveal .section-kicker::before{content:'';width:12px;height:12px;border-radius:50%;background:var(--accent);box-shadow:0 0 16px var(--accent)}
.reveal h2.section-title{grid-area:title;position:relative;max-width:940px;padding-bottom:46px;font-size:84px;line-height:1.14;text-wrap:balance}
.reveal h2.section-title::after{content:'';position:absolute;left:0;bottom:0;width:190px;height:6px;border-radius:3px;background:linear-gradient(90deg,var(--accent),var(--lilac));box-shadow:0 0 24px color-mix(in srgb,var(--accent) 65%,transparent)}
.light .reveal .section-kicker::before,.light .reveal h2.section-title::after{box-shadow:none}
.reveal .section-outline{grid-area:outline;align-self:center;display:grid;gap:14px;max-height:920px;margin:0;padding:0;list-style:none;counter-reset:outline}
.reveal .section-outline li{margin:0;counter-increment:outline}
.reveal .section-outline button{display:grid;grid-template-columns:58px minmax(0,1fr) 34px;align-items:center;gap:18px;width:100%;padding:18px 24px 18px 24px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(90deg,color-mix(in srgb,var(--panel-top) 94%,transparent),color-mix(in srgb,var(--panel) 82%,transparent));box-shadow:0 6px 22px var(--shadow);color:var(--ink);font:700 32px/1.25 Inter,sans-serif;text-align:left;cursor:pointer;transition:transform .18s,border-color .18s,box-shadow .18s,color .18s}
.reveal .section-outline button::before{content:counter(outline,decimal-leading-zero);font:700 24px/1 'Cascadia Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.06em;color:var(--dim);transition:color .18s}
.reveal .section-outline button::after{content:'→';justify-self:end;color:var(--accent);opacity:0;transform:translateX(-10px);transition:opacity .18s,transform .18s}
.reveal .section-outline button:is(:hover,:focus-visible){outline:none;border-color:var(--accent);color:var(--accent);transform:translateX(10px);box-shadow:0 0 0 1px var(--accent),0 10px 32px color-mix(in srgb,var(--accent) 24%,transparent)}
.reveal .section-outline button:is(:hover,:focus-visible)::before{color:var(--accent)}.reveal .section-outline button:is(:hover,:focus-visible)::after{opacity:1;transform:none}
.reveal .section-outline:has(li:nth-child(9)){gap:10px}.reveal .section-outline:has(li:nth-child(9)) button{padding:13px 22px;font-size:27px}
.reveal .section-outline:has(li:nth-child(13)){grid-template-columns:1fr 1fr}

/* Deck navigation (deck-nav.js). Screen-pixel chrome outside the scaled 1920 × 1080 canvas: a floating toolbar in the
   top-right corner (over the header artwork, clear of the eyebrow and title), a progress bar split by chapter along the bottom edge, a contents drawer and a shortcuts dialog.
   HypoDoc's palette toggle stays in the DOM (the theme button clicks it) but is hidden, as is Reveal's progress line. */
body.deck-nav-ready .palette-toggle{visibility:hidden;pointer-events:none}
body.deck-nav-ready .reveal .progress{display:none!important}
.deck-toolbar{position:fixed;top:12px;right:12px;z-index:1000;display:flex;align-items:center;gap:2px;max-width:calc(100vw - 24px);padding:4px;border:1px solid color-mix(in srgb,var(--line) 85%,transparent);border-radius:999px;background:color-mix(in srgb,var(--band) 80%,transparent);-webkit-backdrop-filter:blur(12px) saturate(1.3);backdrop-filter:blur(12px) saturate(1.3);box-shadow:0 6px 24px var(--shadow);color:var(--ink);font:600 13px/1 Inter,system-ui,sans-serif;opacity:.48;transition:opacity .2s}
.deck-toolbar:is(:hover,:has(:focus-visible)),body.deck-dialog-open .deck-toolbar{opacity:1}
.deck-tool{display:inline-flex;flex:none;align-items:center;justify-content:center;gap:6px;height:34px;min-width:34px;padding:0 8px;border:0;border-radius:999px;background:none;color:inherit;font:inherit;text-decoration:none;white-space:nowrap;cursor:pointer;transition:background .15s,color .15s}
.deck-tool:is(:hover,:focus-visible){outline:none;background:color-mix(in srgb,var(--accent) 16%,transparent);color:var(--accent)}
.deck-tool:focus-visible{box-shadow:inset 0 0 0 2px var(--accent)}
.deck-tool:disabled{opacity:.35;cursor:default;background:none;color:inherit}
.deck-tool svg{display:block;flex:none;width:18px;height:18px}
.deck-tool[aria-pressed=true]{color:var(--accent)}
.deck-tool[hidden]{display:none}
a.deck-back{padding:0 12px 0 8px}
.deck-sep{flex:none;width:1px;height:20px;margin:0 4px;background:var(--line)}
.deck-theme .i-sun,:root.light .deck-theme .i-moon,.deck-fullscreen[aria-pressed=true] .i-expand,.deck-fullscreen .i-shrink{display:none}
:root.light .deck-theme .i-sun,.deck-fullscreen[aria-pressed=true] .i-shrink{display:block}
.deck-counter{flex:none;padding:0 8px;font-variant-numeric:tabular-nums;letter-spacing:.04em;color:var(--muted)}.deck-counter b{color:var(--ink);font-weight:700}
.deck-tool.deck-section-pill{min-width:0;flex:0 1 auto;max-width:260px;height:26px;margin:0 4px 0 2px;padding:0 12px;background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--accent);font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.deck-section-pill span{overflow:hidden;text-overflow:ellipsis}
.deck-step-btn{display:none}
@media (max-width:900px),(pointer:coarse){
  .deck-toolbar{opacity:1}.deck-tool.deck-step-btn{display:inline-flex}.deck-back-label,.deck-tool.deck-section-pill{display:none}
}
@media (pointer:coarse){.deck-tool{height:40px;min-width:40px}}
@media (max-width:420px){.deck-toolbar{right:6px;top:6px;max-width:calc(100vw - 12px)}.deck-tool{padding:0 4px}.deck-sep{margin:0 1px}.deck-counter{padding:0 2px}}

.deck-progress{position:fixed;left:0;right:0;bottom:0;z-index:999;display:flex;align-items:flex-end;height:12px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.deck-progress-track{display:flex;gap:3px;width:100%;height:4px;transition:height .18s}
.deck-progress:hover .deck-progress-track{height:7px}
.deck-progress-seg{position:relative;flex:1 1 0;min-width:4px;overflow:hidden;background:color-mix(in srgb,var(--ink) 14%,transparent);transition:background .15s}
.deck-progress-seg>i{position:absolute;inset:0;transform:scaleX(var(--fill,0));transform-origin:left;background:color-mix(in srgb,var(--accent) 50%,var(--muted));transition:transform .45s cubic-bezier(.26,.86,.44,.985)}
.deck-progress-seg.is-current{background:color-mix(in srgb,var(--accent) 22%,transparent)}
.deck-progress-seg.is-current>i{background:linear-gradient(90deg,var(--accent),var(--lilac))}
.deck-progress-seg.is-hover{background:color-mix(in srgb,var(--ink) 30%,transparent)}
.deck-progress-tip{position:fixed;left:0;bottom:20px;z-index:1001;max-width:min(600px,calc(100vw - 16px));padding:7px 13px;border:1px solid var(--line);border-radius:999px;background:color-mix(in srgb,var(--band) 94%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 8px 26px var(--shadow);color:var(--ink);font:600 12.5px/1.3 Inter,system-ui,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;opacity:0;transform:translate(-50%,4px);transition:opacity .12s,transform .12s}
.deck-progress-tip.is-visible{opacity:1;transform:translate(-50%,0)}
.deck-progress-tip b{font-weight:700;letter-spacing:.04em;color:var(--accent)}
.deck-progress-tip span{color:var(--dim);font-variant-numeric:tabular-nums}

.deck-dialog{box-sizing:border-box;padding:0;border:1px solid var(--line);background:var(--panel);color:var(--ink);font:15px/1.45 Inter,system-ui,sans-serif;box-shadow:0 24px 80px var(--shadow)}
.deck-dialog::backdrop{background:#000a;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
.deck-dialog-head{display:flex;align-items:center;gap:12px;padding:18px 14px 12px 20px}
.deck-dialog-head>div{flex:1;min-width:0}
.deck-dialog-head small{display:block;margin-bottom:4px;font:700 11px/1.2 'Cascadia Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}
.deck-dialog-head h2{margin:0;font:700 18px/1.3 'Noto Serif',Georgia,serif;color:var(--ink)}
.deck-close{display:flex;flex:none;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:1px solid var(--line);border-radius:50%;background:none;color:var(--muted);cursor:pointer}
.deck-close:is(:hover,:focus-visible){outline:none;border-color:var(--accent);color:var(--accent)}.deck-close svg{width:18px;height:18px}

.deck-toc{position:fixed;inset:0 0 0 auto;width:min(440px,100vw);max-width:100vw;height:100%;max-height:100%;margin:0;border-width:0 0 0 1px;border-radius:16px 0 0 16px;overflow:hidden}
.deck-toc[open]{display:flex;flex-direction:column;animation:deck-drawer-in .22s ease-out}
@keyframes deck-drawer-in{from{opacity:0;transform:translateX(28px)}}
.deck-toc-search{position:relative;display:block;margin:0 16px 10px}
.deck-toc-search svg{position:absolute;left:11px;top:50%;width:17px;height:17px;transform:translateY(-50%);color:var(--dim);pointer-events:none}
.deck-toc-search input{width:100%;height:38px;padding:0 12px 0 36px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);font:inherit;font-size:14px}
.deck-toc-search input::placeholder{color:var(--dim)}
.deck-toc-search input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 22%,transparent)}
.deck-toc-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:2px 10px 24px;border-top:1px solid var(--line)}
.deck-toc-chapter{margin:4px 0;border-radius:12px}
.deck-toc-chapter.is-active{background:color-mix(in srgb,var(--accent) 6%,transparent)}
.deck-toc-chapter-head{display:flex;align-items:center;gap:4px;padding-right:6px}
.deck-toc-chapter-toggle{display:grid;flex:1;min-width:0;grid-template-columns:14px 24px minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px 8px;border:0;border-radius:10px;background:none;color:var(--ink);font:700 14.5px/1.3 Inter,system-ui,sans-serif;text-align:left;cursor:pointer}
.deck-toc-chapter-toggle:is(:hover,:focus-visible){outline:none;color:var(--accent)}.deck-toc-chapter-toggle:focus-visible{box-shadow:inset 0 0 0 2px var(--accent)}
.deck-toc-chapter-toggle svg{width:14px;height:14px;color:var(--dim);transition:transform .18s}
.deck-toc-chapter-toggle[aria-expanded=true] svg{transform:rotate(90deg)}
.deck-toc-num{font:700 12px/1 'Cascadia Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--accent)}
.deck-toc-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.deck-toc-count{min-width:22px;padding:3px 7px;border-radius:999px;background:color-mix(in srgb,var(--ink) 9%,transparent);color:var(--muted);font:600 11.5px/1 Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;text-align:center}
.deck-toc-jump{flex:none;padding:5px 10px;border:1px solid var(--line);border-radius:999px;background:none;color:var(--muted);font:600 12px/1.2 Inter,system-ui,sans-serif;white-space:nowrap;cursor:pointer;opacity:0;transition:opacity .15s}
.deck-toc-chapter:is(:hover,:focus-within,.is-active) .deck-toc-jump{opacity:1}
.deck-toc-jump:is(:hover,:focus-visible){outline:none;border-color:var(--accent);color:var(--accent)}
.deck-toc-slides{margin:0;padding:0 0 8px 30px;list-style:none}
.deck-toc-item{display:grid;grid-template-columns:2.2em minmax(0,1fr);gap:8px;width:100%;padding:6px 10px;border:0;border-radius:8px;background:none;color:var(--muted);font:14px/1.35 Inter,system-ui,sans-serif;text-align:left;cursor:pointer}
.deck-toc-item>span:first-child{color:var(--dim);font-size:12.5px;font-variant-numeric:tabular-nums;text-align:right}
.deck-toc-item:is(:hover,:focus-visible){outline:none;background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--ink)}
.deck-toc-item:focus-visible{box-shadow:inset 0 0 0 2px var(--accent)}
.deck-toc-item[aria-current=page]{background:color-mix(in srgb,var(--accent) 16%,transparent);box-shadow:inset 3px 0 var(--accent);color:var(--ink);font-weight:700}
.deck-toc-item[aria-current=page]>span:first-child{color:var(--accent)}
.deck-toc-cover{margin:6px 0 2px;padding:0}.deck-toc-cover .deck-toc-item{padding:9px 10px;color:var(--ink)}
.deck-toc-empty{margin:0;padding:28px 12px;color:var(--muted);text-align:center}
.deck-toc [hidden]{display:none}

.deck-help{width:min(420px,calc(100vw - 32px));border-radius:16px}
.deck-help[open]{animation:deck-pop-in .18s ease-out}
@keyframes deck-pop-in{from{opacity:0;transform:translateY(8px) scale(.98)}}
.deck-help dl{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px 18px;margin:0;padding:6px 22px 22px}
.deck-help dt{display:flex;justify-content:flex-end;gap:4px}
.deck-help dd{margin:0;color:var(--muted)}
.deck-help kbd{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:26px;padding:0 7px;border:1px solid var(--line);border-bottom-width:2px;border-radius:6px;background:var(--panel-top);color:var(--ink);font:600 12.5px/1 'Cascadia Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}

@media (prefers-reduced-motion:reduce){.deck-toolbar,.deck-tool,.deck-progress-track,.deck-progress-seg>i,.deck-progress-tip,.deck-toc[open],.deck-help[open],.reveal .section-outline button,.reveal .section-outline button::after{transition:none;animation:none}}
@media print{.deck-toolbar,.deck-progress,.deck-progress-tip{display:none!important}}
html.reveal-print :is(.deck-toolbar,.deck-progress,.deck-progress-tip){display:none!important}

/* Tables: card surface, header band, horizontal row rules, monospace code and tabular digits.
   Excludes interactive custom-element widgets and highlight.js line-number tables. */
.reveal .table{margin:26px 0 34px}.reveal .table:first-child{margin-top:0}.reveal .table:last-child{margin-bottom:0}.reveal .table>pre.yaml{display:none}
.reveal .slide-content table:where(:not(.widget-host>:first-child *,.hljs *)){border-collapse:separate;border-spacing:0;width:auto!important;max-width:100%;margin:26px auto 34px;background:linear-gradient(var(--panel-top),var(--panel));border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 26px var(--shadow);overflow:hidden;font-size:33px;line-height:1.35;font-variant-numeric:tabular-nums;color:var(--ink)}
.reveal .slide-content .table>table:where(:not(.widget-host>:first-child *,.hljs *)){margin:0 auto}
.reveal .slide-content table:where(:not(.widget-host>:first-child *,.hljs *)) col{width:auto!important}
.reveal .slide-content :is(th,td):where(:not(.widget-host>:first-child *,.hljs *)){padding:17px 34px;text-align:left;vertical-align:middle}
.reveal .slide-content thead th:where(:not(.widget-host>:first-child *,.hljs *)){padding:17px 34px;background:color-mix(in srgb,var(--accent) 11%,var(--panel-top));border-bottom:2px solid color-mix(in srgb,var(--accent) 38%,var(--line));font-weight:700;color:var(--ink);white-space:nowrap}
.reveal .slide-content tbody tr:not(:last-child) td:where(:not(.widget-host>:first-child *,.hljs *)){border-bottom:1px solid var(--line)}
.reveal .slide-content tbody tr:last-child td:where(:not(.widget-host>:first-child *,.hljs *)){border-bottom:0}
.reveal .slide-content td:first-child:where(:not(.widget-host>:first-child *,.hljs *)){white-space:nowrap}
.reveal .slide-content table:where(:not(.widget-host>:first-child *,.hljs *)) :is(code,.math,.katex){white-space:nowrap}
.reveal .slide-content table:where(:not(.widget-host>:first-child *,.hljs *)) code{font-family:'Cascadia Mono','Cascadia Code',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.95em;font-variant-ligatures:none}
.reveal .slide-content .table[density=compact] table:where(:not(.widget-host>:first-child *,.hljs *)){font-size:30px;line-height:1.3}
.reveal .slide-content .table[density=compact] :is(th,td):where(:not(.widget-host>:first-child *,.hljs *)){padding:11px 26px}
