:where(ml-scrollytelling){--ml-scrolly-map-height: 100vh}ml-scrollytelling{display:block;position:relative;width:100%}ml-scrollytelling>script[type="text/yaml"],ml-scrollytelling>script[type="application/yaml"],ml-scrollytelling>script[type="text/x-yaml"],ml-scrollytelling>script[type="application/x-yaml"],ml-scrollytelling>script[type="application/json"],ml-scrollytelling>script[type="text/json"],ml-scrollytelling>script[type="application/toml"],ml-scrollytelling>script[type="text/toml"],ml-scrollytelling>script[type="application/x-toml"],ml-scrollytelling>script[type="text/x-toml"],ml-scrollytelling>[slot]{display:none}ml-scrollytelling>.scrolly-map-container{position:sticky;top:var(--ml-scrolly-map-top, 0px);width:100%;height:var(--ml-scrolly-map-height, 100vh);z-index:0}ml-scrollytelling>.scrolly-map-container>ml-map{display:block;width:100%;height:100%}ml-scrollytelling>.scrolly-chapters{position:relative;z-index:1;margin-top:calc(-1 * var(--ml-scrolly-map-height, 100vh));pointer-events:none}ml-scrollytelling>.scrolly-chapters .chapter-content,ml-scrollytelling>.scrolly-chapters>.scrolly-footer,ml-scrollytelling>.scrolly-chapters>.chapters-loading,ml-scrollytelling>.scrolly-chapters>.scrolly-error{pointer-events:auto}ml-scrollytelling .chapters-loading{min-height:var(--ml-scrolly-map-height, 100vh);display:flex;flex-direction:column;align-items:center;justify-content:center;color:#64748b}ml-scrollytelling .loading-spinner{width:48px;height:48px;border:4px solid #e2e8f0;border-top-color:#3b82f6;border-radius:50%;animation:ml-scrolly-spin .8s linear infinite;margin-bottom:16px}@keyframes ml-scrolly-spin{to{transform:rotate(360deg)}}ml-scrollytelling .chapter-markers{position:absolute;top:50%;right:14px;transform:translateY(-50%);display:flex;flex-direction:column;gap:2px;z-index:10}ml-scrollytelling .chapter-marker{display:grid;place-items:center;width:24px;height:24px;padding:0;margin:0;border:0;border-radius:50%;background:transparent;cursor:pointer}ml-scrollytelling .chapter-marker:before{content:"";display:block;width:12px;height:12px;box-sizing:border-box;border:2px solid var(--ml-marker-outline, #1f2937);border-radius:50%;background:var(--ml-marker-color, #ffffff);box-shadow:0 1px 3px #00000059;transition:width .15s ease,height .15s ease}ml-scrollytelling .chapter-marker:hover:before{width:14px;height:14px}ml-scrollytelling .chapter-marker.active:before{width:18px;height:18px;border:3px solid #ffffff;background:var(--ml-marker-color, var(--ml-marker-outline, #1f2937));box-shadow:0 0 0 2px var(--ml-marker-outline, #1f2937),0 1px 4px #0006}ml-scrollytelling .chapter-marker:focus-visible{outline:3px solid var(--ml-marker-outline, #1f2937);outline-offset:0;box-shadow:0 0 0 5px #fff}ml-scrollytelling .scrolly-footer{position:relative;min-height:50vh;padding:40px 20px;background:var(--footer-bg, #f8fafc);color:var(--footer-text, #1f2937);text-align:center}ml-scrollytelling.theme-dark .scrolly-footer{--footer-bg: #1f2937;--footer-text: #f9fafb}ml-scrollytelling .scrolly-error{box-sizing:border-box;max-width:760px;margin:24px auto;padding:24px 28px;border:1px solid #fecaca;border-radius:10px;background:#fef2f2;color:#991b1b;font-family:system-ui,-apple-system,sans-serif;font-size:15px;line-height:1.5;text-align:left}ml-scrollytelling .scrolly-error h2{margin:0 0 8px;font-size:1.25rem;color:#b91c1c}ml-scrollytelling .scrolly-error ul{margin:8px 0;padding-left:1.25rem}ml-scrollytelling .scrolly-error code{font-weight:600}ml-scrollytelling .scrolly-error-source,ml-scrollytelling .scrolly-error-line{color:#7f1d1d;opacity:.85}ml-scrollytelling .scrolly-error-source{margin:0 0 8px;font-family:ui-monospace,monospace;font-size:13px;word-break:break-all}ml-scrollytelling .scrolly-error-hints-title{margin:12px 0 0;font-weight:600}ml-scrollytelling .scrolly-error-hint{margin:12px 0 0;padding:12px 16px;border-radius:6px;background:#fff7ed;color:#7c2d12}ml-scrollytelling .scrolly-error-help{margin-top:12px;padding:12px 16px;border-radius:6px;background:#fef3c7;color:#92400e}ml-scrollytelling .scrolly-error-help pre{margin:8px 0 0;white-space:pre-wrap;font-size:12px}ml-scrollytelling.debug .scrolly-chapter,ml-scrollytelling[debug] .scrolly-chapter{outline:2px dashed rgba(255,0,0,.5);outline-offset:-2px}ml-scrollytelling.debug .scrolly-chapter.is-active,ml-scrollytelling[debug] .scrolly-chapter.is-active{outline-color:#0f0c}.scrolly-chapter{box-sizing:border-box;min-height:100vh;display:flex;align-items:center;padding:20vh 5vw;position:relative}.scrolly-chapter.is-hidden{min-height:50vh;padding:10vh 0}.scrolly-chapter.align-left{justify-content:flex-start}.scrolly-chapter.align-right{justify-content:flex-end}.scrolly-chapter.align-center,.scrolly-chapter.align-full{justify-content:center}.scrolly-chapter.align-full .chapter-content{max-width:none;width:100%;text-align:center}.scrolly-chapter .chapter-content{box-sizing:border-box;background:var(--chapter-bg, rgba(255, 255, 255, .95));color:var(--chapter-text, #1f2937);padding:32px;border-radius:12px;max-width:450px;box-shadow:0 4px 20px #00000026;position:relative;z-index:10;transition:opacity .3s ease,transform .3s ease}.scrolly-chapter.theme-dark .chapter-content{--chapter-bg: rgba(31, 41, 55, .95);--chapter-text: #f9fafb}.scrolly-chapter.theme-light .chapter-content{--chapter-bg: rgba(255, 255, 255, .95);--chapter-text: #1f2937}.scrolly-chapter:not(.is-active) .chapter-content{opacity:.4;transform:scale(.98)}.scrolly-chapter.is-active .chapter-content{opacity:1;transform:scale(1)}.scrolly-chapter .chapter-title{font-size:1.75rem;font-weight:700;margin:0 0 16px;line-height:1.2;color:inherit}.scrolly-chapter .chapter-description{font-size:1rem;line-height:1.6;color:inherit}.scrolly-chapter .chapter-description p{margin:0 0 12px}.scrolly-chapter .chapter-description p:last-child{margin-bottom:0}.scrolly-chapter .chapter-description a{color:var(--chapter-link, #2563eb);text-decoration:underline}.scrolly-chapter .chapter-description a:hover{color:var(--chapter-link-hover, #1d4ed8)}.scrolly-chapter.theme-dark .chapter-description a{--chapter-link: #93c5fd;--chapter-link-hover: #bfdbfe}.scrolly-chapter .chapter-media{margin-bottom:20px;border-radius:8px;overflow:hidden}.scrolly-chapter .chapter-media img,.scrolly-chapter .chapter-media video{width:100%;height:auto;display:block}.scrolly-chapter .chapter-media video{background:#000}ml-scrollytelling>.scrolly-legend-layer{position:sticky;top:var(--ml-scrolly-map-top, 0px);height:var(--ml-scrolly-map-height, 100vh);margin-top:calc(-1 * var(--ml-scrolly-map-height, 100vh));z-index:2;pointer-events:none}ml-scrollytelling .scrolly-legend{position:absolute;display:flex;flex-direction:column;align-items:flex-start;gap:4px;max-width:min(300px,calc(100% - 20px));pointer-events:auto;font:12px/1.5 system-ui,-apple-system,sans-serif}ml-scrollytelling .scrolly-legend[data-corner$=right]{align-items:flex-end}ml-scrollytelling .scrolly-legend[data-corner^=bottom]{flex-direction:column-reverse}ml-scrollytelling .scrolly-legend-toggle{display:inline-flex;align-items:center;gap:6px;min-height:32px;margin:0;padding:6px 10px;border:1px solid rgba(31,41,55,.35);border-radius:4px;background:#fffffff7;color:#1f2937;box-shadow:0 1px 4px #0000004d;font:600 13px/1.2 system-ui,-apple-system,sans-serif;cursor:pointer}ml-scrollytelling .scrolly-legend-toggle:after{content:"";width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translate(-1px,-1px)}ml-scrollytelling .scrolly-legend.is-open .scrolly-legend-toggle:after{transform:rotate(225deg) translate(-1px,-1px)}ml-scrollytelling .scrolly-legend-toggle:focus-visible{outline:3px solid #1f2937;outline-offset:2px;box-shadow:0 0 0 5px #fff}ml-scrollytelling .scrolly-legend-panel{box-sizing:border-box;min-width:140px;max-width:100%;max-height:calc(var(--ml-scrolly-map-height, 100vh) - 32px - 4px - var(--ml-story-legend-offset, 20px));overflow:auto;overscroll-behavior:contain;padding:8px 12px;border-radius:4px;background:#fffffff7;color:#333;box-shadow:0 1px 4px #0000004d}ml-scrollytelling .scrolly-legend-panel[hidden]{display:none}ml-scrollytelling .scrolly-legend-heading{margin:0 0 6px;font-weight:600;font-size:13px}ml-scrollytelling .scrolly-legend-panel .legend-item:first-child{margin-top:0!important}ml-scrollytelling.theme-dark .scrolly-legend-toggle,ml-scrollytelling.theme-dark .scrolly-legend-panel{background:#1f2937f7;color:#f9fafb;border-color:#f9fafb59}@media(prefers-reduced-motion:no-preference){ml-scrollytelling .scrolly-legend.is-open .scrolly-legend-panel{animation:ml-scrolly-legend-in .12s ease-out}}@keyframes ml-scrolly-legend-in{0%{opacity:0}}.scrolly-chapter .chapter-media img{width:auto;max-width:100%;max-height:40vh;margin:0 auto}.scrolly-chapter .chapter-media video{max-height:40vh}.scrolly-chapter .chapter-media-missing{margin:0;padding:10px 12px;border:1px dashed currentColor;border-radius:6px;font-size:.875rem;line-height:1.4;opacity:.85}.scrolly-chapter .chapter-media-missing p{margin:0}.scrolly-chapter .chapter-media-missing details{margin-top:4px;font-size:.8125rem}.scrolly-chapter .chapter-media-missing summary{cursor:pointer}@media(max-width:768px){.scrolly-chapter{align-items:flex-end;padding:15vh 4vw 10vh}.scrolly-chapter.is-hidden{min-height:40vh;padding:8vh 0}.scrolly-chapter .chapter-content{padding:24px;max-width:100%}.scrolly-chapter .chapter-title{font-size:1.5rem}.scrolly-chapter .chapter-description{font-size:1rem}ml-scrollytelling.has-markers .scrolly-chapter{padding-right:44px}ml-scrollytelling .chapter-markers{right:8px}}@media(max-height:500px)and (max-width:1000px)and (min-width:769px)and (pointer:coarse){.scrolly-chapter{padding:8vh 3vw}.scrolly-chapter.align-center,.scrolly-chapter.align-full{justify-content:flex-start}.scrolly-chapter .chapter-content,.scrolly-chapter.align-full .chapter-content{max-width:min(46%,420px);padding:14px 18px;text-align:left}ml-scrollytelling.has-markers .scrolly-chapter{padding-right:44px}.scrolly-chapter .chapter-media img,.scrolly-chapter .chapter-media video{max-height:30vh}.scrolly-chapter .chapter-media{margin-bottom:10px}.scrolly-chapter .chapter-title{font-size:1.25rem;margin-bottom:8px}}@media(max-width:480px){.scrolly-chapter{padding:12vh 3vw 8vh}.scrolly-chapter .chapter-content{padding:20px;border-radius:8px;box-shadow:0 2px 12px #00000026}.scrolly-chapter .chapter-title{font-size:1.375rem;margin-bottom:12px}.scrolly-chapter .chapter-description{font-size:.9375rem;line-height:1.5}.scrolly-chapter .chapter-media{margin-bottom:16px}ml-scrollytelling.has-markers .scrolly-chapter{padding-right:40px}}@media(prefers-reduced-motion:reduce){.scrolly-chapter .chapter-content{transition:opacity .5s ease;transform:none!important}ml-scrollytelling .chapter-marker:before{transition:none}ml-scrollytelling .loading-spinner{animation-duration:3s}}@media(prefers-contrast:more){.scrolly-chapter .chapter-content{border:2px solid currentColor}.scrolly-chapter.theme-dark .chapter-content{--chapter-bg: rgba(0, 0, 0, .95)}.scrolly-chapter.theme-light .chapter-content{--chapter-bg: rgba(255, 255, 255, 1)}}
