.stage-root{--stage-primary:var(--color-primary,#514fbb);--stage-primary-soft:var(--color-primary-fixed,#e2dfff);--stage-accent:var(--color-accent,#5f3dc4);--stage-bg:var(--color-background,#f9f9f9);--stage-surface:var(--color-surface-lowest,#fff);--stage-surface-low:var(--color-surface-low,#f3f3f4);--stage-ink:var(--color-on-background,#1a1c1c);--stage-hand-ink:var(--color-ink,#1e1e1e);--stage-muted:var(--color-on-surface-variant,#464553);--stage-meta:var(--color-secondary,#5b5d75);--stage-outline:var(--color-outline-variant,#c7c5d5);--stage-dot:var(--color-grid-dot,#c7c5d5);--stage-highlight:#d9d6ff;--stage-success:var(--color-success,#1a7f57);--stage-error:var(--color-error,#ba1a1a);--stage-letterbox:var(--color-surface-container,#eee);--stage-font:var(--font-sans,"Nunito", "Rubik", ui-sans-serif, system-ui, sans-serif);--stage-mono:var(--font-mono,"JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace);--stage-hand:var(--font-hand,"Virgil", "Rubik", cursive);--stage-ease-soft:cubic-bezier(.22, 1, .36, 1);--stage-ease-write:cubic-bezier(.5, 0, .3, 1);--stage-shadow:0 10px 30px -8px #2d285a38, 0 2px 6px #2d285a14;font-family:var(--stage-font);color:var(--stage-ink);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility}.stage-root *,.stage-root :before,.stage-root :after{box-sizing:border-box}.stage-frame{transform-origin:0 0;width:1280px;height:720px;position:absolute;top:0;left:0;overflow:hidden}.stage-scaled{aspect-ratio:16/9;background:var(--stage-bg);border-radius:1rem;width:100%;position:relative;overflow:hidden}.stage-scene{background-color:var(--stage-bg);flex-direction:column;gap:28px;width:1280px;height:720px;padding:64px 88px;font-size:32px;line-height:1.35;display:flex;position:relative;overflow:hidden}.stage-scene[data-dotgrid]{background-image:radial-gradient(var(--stage-dot) 1px, transparent 1px);background-position:12px 12px;background-size:24px 24px}.stage-scene[data-layout=center]{text-align:center;justify-content:center;align-items:center}.stage-scene[data-layout=title]{justify-content:center;padding:88px 112px}.stage-scene[data-layout=full]{gap:0;padding:0}.stage-scene[data-static] *,.stage-scene[data-static] :before,.stage-scene[data-static] :after{transition:none!important;animation:none!important}.stage-live{background:var(--stage-letterbox);-webkit-user-select:none;user-select:none;touch-action:pan-y pinch-zoom;position:fixed;inset:0;overflow:hidden}.stage-live:fullscreen{background:var(--stage-letterbox)}.stage-viewport{position:absolute;inset:0}.stage-frame-live{box-shadow:0 0 0 1px #2d285a0a}.stage-frame-live .stage-scene{view-transition-name:stage-scene}html:has(.stage-live){view-transition-name:none}::view-transition-group(stage-scene){animation-duration:.38s;animation-timing-function:var(--stage-ease-soft,cubic-bezier(.22, 1, .36, 1))}::view-transition-old(stage-scene){animation:.22s ease-out both stage-vt-out}::view-transition-new(stage-scene){animation:.38s cubic-bezier(.22,1,.36,1) both stage-vt-in}@keyframes stage-vt-out{to{opacity:0}}@keyframes stage-vt-in{0%{opacity:0;transform:translateY(8px)}}@media (prefers-reduced-motion:reduce){::view-transition-group(stage-scene){animation:none!important}::view-transition-old(stage-scene){animation:none!important}::view-transition-new(stage-scene){animation:none!important}.stage-root *,.stage-root :before,.stage-root :after{transition-duration:1ms!important;transition-delay:0s!important;animation-duration:1ms!important}}.stage-progress{inset-inline:0;pointer-events:none;background:0 0;height:4px;position:absolute;bottom:0}.stage-progress-bar{background:var(--stage-primary);height:100%;transition:inline-size .3s var(--stage-ease-soft);border-start-end-radius:4px;border-end-end-radius:4px}.stage-toolbar{bottom:16px;background:var(--stage-surface);box-shadow:var(--stage-shadow);opacity:0;transition:opacity .2s ease, transform .2s var(--stage-ease-soft);pointer-events:none;border-radius:999px;align-items:center;gap:2px;padding:4px;display:flex;position:absolute;inset-inline-end:16px;transform:translateY(6px)}.stage-live[data-chrome] .stage-toolbar,.stage-toolbar:focus-within{opacity:1;pointer-events:auto;transform:none}.stage-toolbar-sep{background:var(--stage-outline);width:1px;height:20px;margin-inline:4px}.stage-counter{text-align:center;font-variant-numeric:tabular-nums;min-width:64px;color:var(--stage-muted);padding-inline:6px;font-size:14px;font-weight:600}.stage-counter-step{color:var(--stage-meta);font-weight:500}.stage-btn{min-width:36px;height:36px;color:var(--stage-muted);font:600 14px/1 var(--stage-font);cursor:pointer;background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:0 8px;text-decoration:none;transition:background-color .15s,color .15s;display:inline-flex}.stage-btn:hover{background:var(--stage-surface-low);color:var(--stage-ink)}.stage-btn:focus-visible{outline:2px solid var(--stage-primary);outline-offset:2px}.stage-btn:disabled{opacity:.6;cursor:default}.stage-btn-wide{background:var(--stage-surface);border-radius:1rem;padding:0 16px}.stage-btn-primary{background:var(--stage-primary);color:#fff}.stage-btn-primary:hover{background:var(--color-primary-container,#6a69d6);color:#fff}.stage-btn kbd{font:500 11px/1 var(--stage-mono);opacity:.7}.stage-icon{flex:none}[dir=rtl] .stage-flip{transform:scaleX(-1)}.stage-overview{z-index:10;background:var(--stage-bg);background-image:radial-gradient(var(--stage-dot) 1px, transparent 1px);-webkit-user-select:none;user-select:none;animation:stage-fade-up .24s var(--stage-ease-soft) both;background-size:24px 24px;padding:24px 32px 48px;position:absolute;inset:0;overflow-y:auto}.stage-overview-head{z-index:1;background:var(--stage-surface);box-shadow:var(--stage-shadow);border-radius:999px;align-items:center;gap:16px;margin-bottom:20px;padding-inline:20px 8px;display:flex;position:sticky;top:0}.stage-overview-title{font-size:18px;font-weight:700}.stage-overview-hint{color:var(--stage-meta);flex:1;font-size:13px}.stage-overview-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px;display:grid}.stage-overview-card{background:var(--stage-surface);font:inherit;color:inherit;text-align:start;cursor:pointer;transition:transform .2s var(--stage-ease-soft), box-shadow .2s ease;border:0;border-radius:1.5rem;flex-direction:column;gap:8px;padding:8px;display:flex}.stage-overview-card:hover{transform:translateY(-4px);box-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a}.stage-overview-card[aria-current=true]{outline:3px solid var(--stage-primary);outline-offset:0}.stage-overview-card:focus-visible{outline:3px solid var(--stage-primary)}.stage-overview-card .stage-scaled{pointer-events:none}.stage-overview-label{color:var(--stage-muted);align-items:center;gap:8px;padding:0 6px 4px;font-size:14px;font-weight:600;display:flex}.stage-overview-num{background:var(--stage-primary-soft);min-width:24px;height:24px;color:var(--stage-primary);font-variant-numeric:tabular-nums;border-radius:999px;place-items:center;font-size:12px;display:inline-grid}.stage-presenter{background:var(--stage-bg);background-image:radial-gradient(var(--stage-dot) 1px, transparent 1px);background-size:24px 24px;flex-direction:column;min-height:100dvh;display:flex}.stage-presenter-bar{background:var(--stage-surface);align-items:center;gap:24px;padding:12px 24px;display:flex}.stage-presenter-title{flex:1;font-size:18px;font-weight:700}.stage-presenter-counter{color:var(--stage-muted);font-variant-numeric:tabular-nums;font-weight:600}.stage-presenter-timer{align-items:center;gap:4px;display:flex}.stage-presenter-elapsed{font:700 28px/1 var(--stage-font);font-variant-numeric:tabular-nums;color:var(--stage-primary);margin-inline-end:4px}.stage-presenter-elapsed[data-paused]{color:var(--stage-meta)}.stage-presenter-clock{color:var(--stage-meta);font-variant-numeric:tabular-nums;margin-inline-start:12px;font-weight:600}.stage-presenter-main{flex:1;grid-template-columns:minmax(0,1.75fr) minmax(0,1fr);gap:24px;min-height:0;padding:24px;display:grid}.stage-presenter-current{flex-direction:column;gap:16px;display:flex}.stage-presenter-current .stage-scaled{box-shadow:var(--stage-shadow)}.stage-presenter-nav{justify-content:space-between;gap:12px;display:flex}.stage-presenter-nav .stage-btn{height:48px;font-size:16px}.stage-presenter-side{flex-direction:column;gap:10px;min-height:0;display:flex}.stage-presenter-label{letter-spacing:.06em;text-transform:uppercase;color:var(--stage-meta);font-size:12px;font-weight:700}.stage-presenter-next{opacity:.92}.stage-presenter-end{aspect-ratio:16/9;background:var(--stage-surface-low);color:var(--stage-meta);border-radius:1rem;place-items:center;font-weight:600;display:grid}.stage-presenter-notes{background:var(--stage-surface);border-radius:1.5rem;flex:1;padding:20px 24px;font-size:22px;line-height:1.55;overflow-y:auto}.stage-presenter-notes p{margin:0 0 .6em}@media (max-width:900px){.stage-presenter-main{grid-template-columns:1fr}}.stage-reading{flex-direction:column;gap:28px;display:flex}.stage-reading-tools{justify-content:flex-end;display:flex}.stage-reading-item{flex-direction:column;gap:12px;scroll-margin-top:24px;display:flex}.stage-reading-frame,.stage-presenter-next{box-shadow:0 0 0 1px color-mix(in srgb, var(--stage-outline) 70%, transparent);border-radius:1.5rem}.stage-reading-notes{background:var(--stage-surface);color:var(--stage-muted);border-radius:1.5rem;gap:12px;padding:16px 20px;font-size:17px;line-height:1.65;display:flex}.stage-reading-notes p{margin:0 0 .5em}.stage-reading-num{background:var(--stage-primary-soft);width:28px;height:28px;color:var(--stage-primary);border-radius:999px;flex:none;place-items:center;font-size:13px;font-weight:700;display:grid}.stage-print{background:#fff}.stage-print-page{break-after:page;page-break-after:always;-webkit-print-color-adjust:exact;print-color-adjust:exact;width:1280px;height:720px;position:relative;overflow:hidden}.stage-print-page:last-child{break-after:auto;page-break-after:auto}.stage-reveal{opacity:0;transform:translateY(var(--reveal-y,8px));transition-property:opacity,transform;transition-timing-function:var(--stage-ease-soft)}.stage-reveal[data-visible]{opacity:1;transform:none}.stage-title-block{flex-direction:column;gap:20px;display:flex}.stage-kicker{letter-spacing:.04em;color:var(--stage-primary);font-size:22px;font-weight:700}.stage-title{letter-spacing:-.025em;margin:0;font-weight:800;line-height:1.05}.stage-sub{color:var(--stage-muted);max-width:900px;margin:0;font-size:30px}.stage-heading-block{flex-direction:column;gap:8px;display:flex}.stage-heading{letter-spacing:-.02em;margin:0;font-size:56px;font-weight:800;line-height:1.1}.stage-gradient-word{color:#0000;background-image:linear-gradient(90deg,#514fbb,#6a69d6 55%,#a9a6f0);-webkit-background-clip:text;background-clip:text}[dir=rtl] .stage-gradient-word{background-image:linear-gradient(-90deg,#514fbb,#6a69d6 55%,#a9a6f0)}.stage-bullets{flex-direction:column;gap:.55em;margin:0;padding:0;list-style:none;display:flex}.stage-bullets>li{align-items:baseline;gap:.6em;display:flex;position:relative}.stage-bullets:not(.stage-bullets-numbered)>li:before{content:"";background:var(--stage-primary);border-radius:999px;flex:none;width:.36em;height:.36em;transform:translateY(-.12em)}.stage-bullet-num{background:var(--stage-primary-soft);min-width:1.3em;height:1.3em;color:var(--stage-primary);border-radius:999px;flex:none;place-items:center;font-size:.7em;font-weight:800;display:inline-grid;transform:translateY(-.1em)}.stage-columns{display:grid}.stage-card{background:var(--stage-surface);border-radius:1.5rem;padding:28px 32px}.stage-card-primary{background:var(--stage-primary-soft)}.stage-card-muted{background:var(--stage-surface-low)}.stage-mono{font-family:var(--stage-mono);background:var(--stage-surface-low);color:var(--stage-primary);unicode-bidi:isolate;border-radius:.35em;padding:.04em .32em;font-size:.88em}.stage-muted{color:var(--stage-meta);margin:0;font-size:.8em}.stage-code{background:var(--stage-surface);text-align:left;direction:ltr;unicode-bidi:isolate;border-radius:1.5rem;margin:0;overflow:hidden}.stage-code-title{font:600 18px/1.2 var(--stage-mono);color:var(--stage-meta);padding:14px 28px 0}.stage-code pre,.stage-code .shiki-magic-move-container{font-family:var(--stage-mono);white-space:pre;tab-size:4;margin:0;padding:24px 32px;line-height:1.55;background:0 0!important}.stage-code-line{transition:opacity .35s var(--stage-ease-soft), background-color .35s ease;border-radius:.3em;margin-inline:-.4em;padding-inline:.4em;display:block}.stage-code-line[data-dim]{opacity:.28}.stage-code-line[data-focus]{background:color-mix(in srgb, var(--stage-primary) 7%, transparent)}.stage-code-ln{text-align:right;width:2ch;color:var(--stage-outline);-webkit-user-select:none;user-select:none;margin-inline-end:1.2ch;display:inline-block}.stage-math{direction:ltr;unicode-bidi:isolate}.stage-hand{font-family:var(--stage-hand);color:var(--stage-hand-ink);line-height:1.2}.stage-handwrite{clip-path:inset(-20% 102% -20% -4%);transition-property:clip-path;transition-timing-function:var(--stage-ease-write);display:inline-block}.stage-handwrite[dir=rtl]{clip-path:inset(-20% -4% -20% 102%)}.stage-handwrite[data-written]{clip-path:inset(-20% -4%)}.stage-circle{display:inline-block;position:relative}.stage-circle-svg{pointer-events:none;position:absolute;overflow:visible}.stage-draw{stroke-dasharray:1 1;stroke-dashoffset:1px;transition-property:stroke-dashoffset;transition-timing-function:var(--stage-ease-write)}.stage-draw[data-drawn]{stroke-dashoffset:0}.stage-fade{opacity:0;transition-property:opacity;transition-timing-function:var(--stage-ease-soft)}.stage-fade[data-visible]{opacity:1}.stage-highlight{color:inherit;background-color:#0000;background-image:linear-gradient(transparent 52%, var(--hl-color) 52%, var(--hl-color) 92%, transparent 92%);-webkit-box-decoration-break:clone;box-decoration-break:clone;transition-property:background-size;transition-timing-function:var(--stage-ease-write);background-position:0;background-repeat:no-repeat;background-size:0% 100%;padding:0 .12em}[dir=rtl] .stage-highlight{background-position:100%}.stage-highlight[data-visible]{background-size:100% 100%}.stage-diagram{display:block;overflow:visible}.stage-diagram text{stroke:none;fill:var(--stage-hand-ink)}.stage-livecode,.stage-pyrunner,.stage-embed{background:var(--stage-surface);-webkit-user-select:text;user-select:text;border-radius:1.5rem;overflow:hidden}.stage-livecode-loading{background:var(--stage-surface-low)}.stage-pyrunner{text-align:left;flex-direction:column;display:flex}.stage-pyrunner-editor{resize:none;background:var(--stage-surface);width:100%;color:var(--stage-ink);font-family:var(--stage-mono);tab-size:4;white-space:pre;border:0;outline:none;padding:24px 32px;line-height:1.55;display:block}.stage-pyrunner-editor:focus-visible{box-shadow:inset 0 0 0 3px color-mix(in srgb, var(--stage-primary) 20%, transparent)}.stage-pyrunner-bar{background:var(--stage-surface-low);gap:8px;padding:10px 24px;display:flex}.stage-pyrunner-bar .stage-btn{height:44px;font-size:17px}.stage-pyrunner-out{background:#f6f5ff;padding:14px 32px 20px}.stage-pyrunner-label{letter-spacing:.06em;text-transform:uppercase;color:var(--stage-meta);font-size:14px;font-weight:700}.stage-pyrunner-out pre{min-height:1.5em;font-family:var(--stage-mono);white-space:pre-wrap;color:var(--stage-ink);margin:6px 0 0;font-size:22px}.stage-embed iframe{border:0;width:100%;height:100%;display:block}.stage-embed-placeholder{border:2px dashed var(--stage-outline);background:var(--stage-surface-low);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:24px;display:flex}.stage-embed-title{font-size:28px;font-weight:700}.stage-embed-src{font-family:var(--stage-mono);color:var(--stage-meta);font-size:18px}@keyframes stage-fade-up{0%{opacity:0;transform:translateY(8px)}}.stage-reading-open{cursor:zoom-in;width:100%;text-align:inherit;font:inherit;color:inherit;background:0 0;border:0;padding:0;display:block;position:relative}.stage-reading-open:focus-visible{outline:3px solid var(--stage-accent);outline-offset:4px;border-radius:1.5rem}.stage-reading-enlarge{background:color-mix(in srgb, var(--stage-surface) 92%, transparent);border-radius:999px;place-items:center;width:40px;height:40px;display:grid;position:absolute;inset-block-end:12px;inset-inline-end:12px;box-shadow:0 1px 4px #0000001f}.stage-reading-zoom{z-index:100;background:#14141eeb;place-items:center;display:grid;position:fixed;inset:0}.stage-reading-zoom-box{width:min(96vw,177.778dvh - 128px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.stage-reading-zoom-frame{border-radius:1rem;overflow:hidden}.stage-reading-zoom-bar{color:#fff;justify-content:center;align-items:center;gap:8px;margin-top:12px;display:flex}.stage-reading-zoom-bar .stage-btn{color:inherit}.stage-reading-zoom-count{text-align:center;font-variant-numeric:tabular-nums;min-width:64px}@media (orientation:portrait) and (max-width:760px){.stage-reading-zoom-box{width:min(100dvh - 24px,177.778vw - 113.778px);transform:translate(-50%,-50%)rotate(90deg)}}
