@font-face{font-family:Figtree;src:url(/fonts/figtree-latin-variable.woff2)format("woff2");font-style:normal;font-weight:400 700;font-display:swap}@font-face{font-family:Manrope;src:url(/fonts/manrope-latin-variable.woff2)format("woff2");font-style:normal;font-weight:600 800;font-display:swap}@font-face{font-family:JetBrains Mono;src:url(/fonts/jetbrains-mono-latin-variable.woff2)format("woff2");font-style:normal;font-weight:400 600;font-display:swap}:root{--header-height:72px;color-scheme:light;--canvas:var(--viz-page);--surface:var(--viz-panel);--surface-subtle:var(--viz-node);--surface-hover:var(--viz-hover);--ink:var(--viz-ink);--muted:var(--viz-muted);--faint:var(--viz-muted);--line:var(--viz-border);--line-soft:var(--viz-border);--state-active:var(--viz-active);--state-active-ink:var(--viz-active-ink);--state-active-tint:var(--viz-active-tint);--state-active-border:var(--viz-active);--amber:var(--viz-warning-ink);--amber-bright:var(--viz-warning);--amber-tint:var(--viz-warning-tint);--amber-line:var(--viz-warning);--state-success:var(--viz-success);--code-bg:var(--viz-code-bg);--code-ink:var(--viz-code-ink);--code-muted:var(--viz-code-muted);--shadow:0 1px 2px #00000005;--font-ui:"Figtree", "Segoe UI", sans-serif;--font-heading:"Manrope", "Figtree", sans-serif;--font-code:"JetBrains Mono", ui-monospace, monospace;font-family:var(--font-ui);font-synthesis:none;font-size:14px}html[data-theme=dark]{color-scheme:dark;--canvas:var(--viz-page);--surface:var(--viz-panel);--surface-subtle:var(--viz-node);--surface-hover:var(--viz-hover);--ink:var(--viz-ink);--muted:var(--viz-muted);--faint:var(--viz-muted);--line:var(--viz-border);--line-soft:var(--viz-border);--state-active:var(--viz-active);--state-active-ink:var(--viz-active-ink);--state-active-tint:var(--viz-active-tint);--state-active-border:var(--viz-active);--amber:var(--viz-warning-ink);--amber-bright:var(--viz-warning);--amber-tint:var(--viz-warning-tint);--amber-line:var(--viz-warning);--code-bg:var(--viz-code-bg);--shadow:none}*{box-sizing:border-box}body{background:var(--canvas);color:var(--ink);margin:0;line-height:1.5}h1,h2,h3,h4{font-family:var(--font-heading)}button,input,select,textarea{font-family:var(--font-ui)}pre,code,kbd,samp{font-family:var(--font-code)}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}.curriculum-heading .panel-toggle{color:var(--ink);background:var(--surface-subtle);border:1px solid var(--line)}button:disabled{cursor:default;opacity:.38}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}button,input,select{border-radius:6px}button{color:var(--ink)}:focus-visible{outline:3px solid var(--state-active-border);outline-offset:3px}input:focus-visible{outline:2px solid var(--state-active);outline-offset:1px}[hidden]{display:none!important}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skip-link{z-index:20;background:var(--state-active);color:#fff;border-radius:6px;padding:10px 16px;position:fixed;top:8px;left:8px;transform:translateY(-150%)}.skip-link:focus{transform:translateY(0)}.icon-definitions{width:0;height:0;position:absolute;overflow:hidden}.icon{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:18px;height:18px}.icon-button{width:36px;height:36px;color:var(--muted);background:0 0;border:1px solid #0000;flex:none;justify-content:center;align-items:center;transition:background .15s,color .15s;display:inline-flex}.icon-button:hover{background:var(--surface-hover);color:var(--ink)}.app-header{background:var(--surface);border-bottom:1px solid var(--line);z-index:5;align-items:center;gap:24px;height:72px;padding:0 22px;display:flex;position:relative}.brand{flex:none;align-items:center;gap:11px;display:flex}.brand-mark{background:var(--state-active);color:var(--viz-on-active);letter-spacing:-3px;border-radius:9px;justify-content:center;align-items:center;width:38px;height:38px;padding-right:3px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:22px;font-weight:700;display:flex}.brand strong{letter-spacing:-.45px;font-size:17px;line-height:1.2}.brand-subtitle{color:var(--muted);letter-spacing:.05px;margin-top:3px;font-size:12px;display:block}.header-breadcrumb{white-space:nowrap;color:var(--muted);border-left:1px solid var(--line);align-items:center;gap:11px;padding-left:24px;font-size:12px;display:flex}.header-breadcrumb strong{color:var(--ink);font-weight:600}.slash{color:var(--line)}.header-search{border:1px solid var(--line);background:var(--surface-subtle);min-width:160px;max-width:390px;height:37px;color:var(--faint);border-radius:7px;flex:1;align-items:center;gap:10px;margin-left:auto;padding:0 12px;display:flex}.header-search input{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:none;font-size:12px}.header-search:focus-within{border-color:var(--state-active)}.header-search input:focus-visible{outline:0}.header-search input::placeholder{color:var(--faint)}.search-hint{white-space:nowrap;font-size:12px}.header-actions{align-items:center;gap:8px;display:flex}.language-chip{border:1px solid var(--line);background:var(--surface-subtle);color:var(--ink);border-radius:5px;padding:3px 10px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;font-weight:600}.header-divider{background:var(--line);width:1px;height:24px;margin:0 4px}.mobile-menu{display:none}.app-layout{grid-template-columns:220px minmax(0,1fr);min-height:calc(100vh - 72px);display:grid}.curriculum{background:var(--surface);border-right:1px solid var(--line);flex-direction:column;min-width:0;padding:25px 12px 16px;display:flex}.curriculum-heading{justify-content:space-between;align-items:center;gap:4px;padding:0 6px 22px;display:flex}.curriculum-heading h2,.small-heading,.eyebrow,.roadmap-label{letter-spacing:1.2px;text-transform:uppercase;color:var(--muted);font-size:12px;font-weight:600}.subtle-badge{color:var(--muted);background:var(--surface-subtle);border:1px solid var(--line);white-space:nowrap;border-radius:4px;padding:3px 6px;font-size:12px}.curriculum-family{align-items:center;gap:6px;padding:8px 4px 9px;font-size:12px;font-weight:600;display:flex}.curriculum-family .icon{width:13px;height:13px;color:var(--faint)}.expanded{transform:rotate(90deg)}.family-count{background:var(--surface-subtle);white-space:nowrap;color:var(--muted);border-radius:4px;margin-left:auto;padding:2px 4px;font-size:12px;font-weight:500}.curriculum-entry{border:1px solid #0000;border-radius:6px;align-items:center;gap:7px;min-width:0;min-height:36px;padding:7px 8px 7px 23px;font-size:12px;display:flex}.curriculum-entry.is-selected{color:var(--state-active-ink);border-color:var(--state-active-border);background:var(--state-active-tint);padding-left:10px;font-weight:600}.status-dot{background:var(--state-active);border-radius:50%;flex:none;width:6px;height:6px;display:inline-block}.entry-complexity{margin-left:auto;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px}.planned-label{color:var(--faint);margin-left:auto;font-size:12px}.is-planned{color:var(--muted)}.roadmap-label{color:var(--faint);padding:24px 8px 9px;font-size:12px}.roadmap-entry{gap:7px;margin-bottom:3px;padding-left:4px}.roadmap-entry .icon{width:12px;height:12px;color:var(--faint)}.roadmap-entry span:nth-child(2){font-size:12px}.search-empty{color:var(--muted);padding:16px 8px;font-size:12px}.curriculum-bottom{margin-top:auto;padding:35px 7px 0}.track-heading{justify-content:space-between;align-items:center;font-size:12px;display:flex}.track-heading strong{font-weight:600}.track-heading>span{color:var(--viz-active-ink);font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.track-progress{background:var(--line);border-radius:4px;height:5px;margin:9px 0 6px;overflow:hidden}.track-progress span{background:var(--state-active);border-radius:4px;width:0;height:100%;transition:width .2s;display:block}.curriculum-bottom p{color:var(--muted);font-size:12px}.catalog-note{color:var(--muted);border-top:1px solid var(--line-soft);margin-top:17px;padding-top:15px;font-size:12px;line-height:1.8}.catalog-note .status-dot{margin-right:5px}.catalog-note>span:last-child{color:var(--faint);padding-left:11px}.workspace{outline:none;flex-direction:column;min-width:0;display:flex}.workspace-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:15px;min-height:100px;padding:21px 26px 20px;display:flex}.lesson-heading .eyebrow{color:var(--faint);margin-bottom:3px;font-size:12px;display:block}.lesson-heading h1{letter-spacing:-.5px;font-size:20px;font-weight:650;line-height:1.25}.lesson-description{color:var(--muted);margin-top:5px;font-size:12px;display:block}.diff-chip{text-transform:uppercase;letter-spacing:.05em;vertical-align:middle;border-radius:10px;align-items:center;padding:1px 6px;font-size:12px;font-weight:700;line-height:1.4;display:inline-flex}.diff-chip[data-diff=Easy]{background:color-mix(in srgb,var(--viz-success) 12%,transparent);color:var(--viz-success-ink)}.diff-chip[data-diff=Medium]{background:color-mix(in srgb,var(--viz-warning) 14%,transparent);color:var(--viz-warning-ink)}.diff-chip[data-diff=Hard]{background:color-mix(in srgb,var(--viz-changed) 12%,transparent);color:var(--viz-code-keyword)}html[data-theme=dark] .diff-chip[data-diff=Easy]{background:color-mix(in srgb,var(--viz-success) 20%,transparent);color:var(--viz-success)}html[data-theme=dark] .diff-chip[data-diff=Medium]{background:color-mix(in srgb,var(--viz-warning) 20%,transparent);color:var(--viz-warning)}html[data-theme=dark] .diff-chip[data-diff=Hard]{background:color-mix(in srgb,var(--viz-changed) 20%,transparent);color:var(--viz-code-keyword)}.home-search-meta{flex:none;align-items:center;gap:8px;display:flex}.lessons-menu-item .diff-chip{margin-left:auto}.chapter-guide-link{color:var(--state-active-ink);background:var(--state-active-tint);border-radius:4px;margin-left:auto;margin-right:6px;padding:2px 6px;font-size:12px;font-weight:600;text-decoration:none}.chapter-guide-link:hover{text-decoration:underline}.table-status{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:9px;display:flex}.load-badge,.size-badge{border:1px solid var(--line);background:var(--surface);white-space:nowrap;border-radius:5px;align-items:center;gap:9px;min-height:32px;padding:6px 10px;font-size:12px;display:flex}.load-badge strong,.size-badge strong{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;font-weight:600}.load-badge strong{color:var(--viz-active-ink)}.alpha{color:var(--muted)}#load-warning{background:var(--amber-tint);color:var(--amber);border-radius:3px;padding:2px 5px;font-size:12px}.size-badge{color:var(--muted)}.size-badge strong{color:var(--ink);margin-left:4px}.size-badge i{background:var(--faint);border-radius:50%;width:3px;height:3px}.studio-grid{flex:1;grid-template-columns:250px minmax(310px,1fr) minmax(300px,380px);align-items:start;gap:20px;padding:24px 26px 28px;display:grid}.operations-column,.diagram-column,.source-column{flex-direction:column;gap:18px;min-width:0;display:flex}.panel{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:10px;min-width:0;padding:18px}.panel-heading{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:6px;margin-bottom:17px;padding-bottom:14px;display:flex}.panel h2{letter-spacing:-.1px;font-size:12px;font-weight:650}.panel-heading h2{white-space:nowrap;align-items:center;gap:8px;display:flex}.panel-heading h2 .icon{width:15px;height:15px;color:var(--muted)}.panel-kicker{color:var(--faint);white-space:nowrap;font-size:12px}.operations-panel .panel-kicker{letter-spacing:1px;text-transform:uppercase;font-size:12px}.input-pair{grid-template-columns:1fr 1fr;gap:9px;display:grid}.field{min-width:0}.field label,.capacity-control>label{text-transform:uppercase;letter-spacing:.8px;color:var(--muted);margin-bottom:7px;font-size:12px;display:block}.field input,.capacity-input-wrap input{border:1px solid var(--line);background:var(--surface-subtle);width:100%;height:35px;color:var(--ink);min-width:0;padding:8px 10px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px}.operation-actions{gap:6px;margin-top:13px;display:flex}.button{border:1px solid var(--line);background:var(--surface-subtle);color:var(--ink);white-space:nowrap;justify-content:center;align-items:center;gap:5px;height:33px;padding:0 10px;font-size:12px;font-weight:500;transition:background .15s,border-color .15s;display:inline-flex}.button:hover{background:var(--surface-hover);border-color:var(--faint)}.button .icon{width:13px;height:13px}.button-primary{background:var(--state-active);color:var(--viz-on-active);border-color:var(--state-active)}.button-primary:hover{background:var(--state-active-ink);border-color:var(--state-active-ink)}html[data-theme=dark] .button-primary{color:var(--viz-panel)}.operation-actions .button{padding:0 8px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.operation-actions .button:last-child{gap:3px;padding:0 6px;font-size:12px}.input-error{color:var(--amber);margin-top:10px;font-size:12px;line-height:1.5}.capacity-control{justify-content:space-between;align-items:center;gap:8px;margin-top:18px;display:flex}.capacity-control>label{letter-spacing:0;text-transform:none;margin:0;font-size:12px}.capacity-input-wrap{align-items:center;gap:5px;display:flex}.capacity-input-wrap input{appearance:textfield;width:43px;height:28px;padding:4px 6px;font-size:12px}.capacity-input-wrap input::-webkit-inner-spin-button{appearance:none}.button-small{height:28px;padding:0 8px;font-size:12px}.section-divider{background:var(--line-soft);height:1px;margin:19px 0 14px}.small-heading{letter-spacing:.9px;font-size:12px;font-weight:500}.preset-list{flex-direction:column;gap:6px;margin-top:9px;display:flex}.preset-button{background:var(--surface-subtle);border:1px solid var(--line);text-align:left;width:100%;min-height:32px;color:var(--muted);align-items:center;gap:7px;padding:6px 9px;font-size:12px;display:flex}.preset-button>span:first-child{margin-right:auto}.preset-button>.icon{flex:none;width:13px;height:13px}.preset-button>.icon:last-child{color:var(--faint);width:11px;height:11px;margin-left:auto}.preset-button:hover{border-color:var(--state-active-border);color:var(--state-active-ink);background:var(--state-active-tint)}.preset-collision{border-color:var(--amber-line);background:var(--amber-tint);color:var(--amber-ink)}.preset-collision>span:nth-child(2){margin-right:auto}.preset-detail{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px}.key-stream{flex-wrap:wrap;gap:5px;min-height:27px;margin-top:10px;display:flex}.stream-key{border:1px solid var(--line);min-width:27px;height:27px;color:var(--muted);background:var(--surface-subtle);border-radius:5px;justify-content:center;align-items:center;padding:0 6px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;display:flex}.stream-key.is-current{background:var(--amber-tint);border-color:var(--amber-line);color:var(--amber);font-weight:700}.stream-key.is-complete{color:var(--faint);background:var(--surface-subtle);text-decoration:line-through}.complexity-panel .panel-heading{margin-bottom:12px}.complexity-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;display:grid}.complexity-grid>div{background:var(--surface-subtle);border:1px solid var(--line-soft);text-align:center;border-radius:5px;min-width:0;padding:9px 3px 10px}.complexity-grid span{color:var(--faint);margin-bottom:5px;font-size:12px;display:block}.complexity-grid strong{white-space:nowrap;color:var(--state-active-ink);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;font-weight:600;display:block}.complexity-grid>div:last-child strong{color:var(--amber)}.complexity-panel p{color:var(--muted);margin-top:13px;font-size:12px;line-height:1.65}.space-complexity{color:var(--muted);border-top:1px solid var(--line-soft);justify-content:space-between;margin-top:10px;padding-top:10px;font-size:12px;display:flex}.space-complexity code{color:var(--ink);font-size:12px}.legend-panel{padding:15px 18px}.legend-panel h2.small-heading{color:var(--faint);letter-spacing:1px;font-size:12px;font-weight:500}.legend-grid{color:var(--muted);grid-template-columns:1fr 1fr;gap:10px 7px;margin-top:12px;font-size:12px;display:grid}.legend-grid>span{white-space:nowrap;align-items:center;gap:6px;display:flex}.legend-dot{border-radius:50%;flex:none;width:8px;height:8px}.teal{background:var(--state-active)}.amber{background:var(--amber-bright)}.gray{background:var(--faint)}.green{background:var(--state-success)}.sigma{color:var(--muted);font-family:Georgia,serif;font-size:19px;line-height:1}.pipeline-panel .panel-heading{margin-bottom:14px}.hash-pipeline{background:var(--surface-subtle);border:1px solid var(--line-soft);border-radius:7px;grid-template-columns:minmax(40px,1fr) 14px minmax(60px,1fr) 14px minmax(70px,1fr) 14px minmax(75px,1fr);align-items:center;gap:4px;padding:17px 10px;display:grid}.pipeline-stage{text-align:center;flex-direction:column;align-items:center;gap:7px;min-width:0;display:flex}.pipeline-stage>span{color:var(--faint);white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px}.pipeline-stage strong{text-overflow:ellipsis;border:1px solid var(--line);background:var(--surface);white-space:nowrap;border-radius:4px;min-width:40px;max-width:100%;padding:4px 7px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;font-weight:600;overflow:hidden}.pipeline-stage strong.hash-result{color:var(--state-active-ink)}.pipeline-stage strong.bucket-result{color:var(--amber);border-color:var(--amber-line);background:var(--amber-tint)}.pipeline-arrow{color:var(--faint);width:12px;height:12px;margin-top:18px}.bucket-panel{padding:19px}.bucket-panel-heading{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:start;gap:10px;margin-bottom:17px;padding-bottom:17px;display:flex}.bucket-panel-heading h2{font-size:13px}.bucket-panel-heading h2 code{color:var(--muted);margin-left:3px;font-size:12px;font-weight:500}.bucket-panel-heading p{color:var(--muted);margin-top:4px;font-size:12px;line-height:1.6}.diagram-tag{white-space:nowrap;color:var(--faint);padding-top:3px;font-size:12px}.bucket-array{border:1px solid var(--line-soft);background:var(--surface-subtle);scrollbar-width:thin;scrollbar-color:var(--line) transparent;border-radius:8px;flex-direction:column;gap:10px;min-height:312px;padding:15px 12px;display:flex;overflow-x:auto}.bucket-array[data-strategy=linear]{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px;display:grid}.bucket-array[data-strategy=linear] .bucket-row{min-width:0}.bucket-array[data-strategy=linear] .linear-slot{border:1px dashed var(--line);border-radius:5px;flex-wrap:wrap;flex:1;min-height:42px;padding:4px;overflow:hidden}.bucket-row{border:1px solid #0000;border-radius:6px;align-items:center;gap:11px;min-width:max-content;min-height:48px;padding:8px 4px;display:flex}.bucket-row.is-active,.bucket-row.is-target{background:var(--amber-tint);border-color:var(--amber-line)}.bucket-row.is-current{background:var(--state-active-tint);border-color:var(--state-active-border)}.bucket-label{background:var(--surface);border:1px solid var(--line);white-space:nowrap;min-width:46px;color:var(--muted);border-radius:5px;flex:none;padding:8px 7px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px}.bucket-row.is-active .bucket-label,.bucket-row.is-current .bucket-label,.bucket-label.is-active{background:var(--state-active);border-color:var(--state-active);color:#fff}.chain{align-items:center;gap:8px;min-width:0;display:flex}.hash-node{border:1px solid var(--line);background:var(--surface);white-space:nowrap;border-radius:5px;flex:none;align-items:stretch;min-height:30px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;display:flex;overflow:hidden}.node-key,.node-value{align-items:center;padding:5px 8px;display:flex}.node-key{background:var(--surface-subtle);border-right:1px solid var(--line);font-weight:600}.node-value{color:var(--muted);text-overflow:ellipsis;max-width:120px;display:block;overflow:hidden}.hash-node.is-active,.hash-node.is-current,.hash-node.is-target{border-color:var(--amber-line);background:var(--amber-tint)}.hash-node.is-current .node-key,.hash-node.is-target .node-key{background:var(--viz-warning-tint);color:var(--viz-warning-ink);border-color:var(--amber-line)}html[data-theme=dark] .hash-node.is-current .node-key,html[data-theme=dark] .hash-node.is-target .node-key{background:var(--viz-warning-tint);color:var(--amber)}.hash-node.is-active .node-key{color:var(--state-active-ink);background:var(--state-active-tint)}.chain-arrow{color:var(--faint);text-align:center;flex:none;min-width:16px;font-size:19px;line-height:1}.bucket-row.is-active .chain-arrow{color:var(--amber-bright)}.null-node{color:var(--faint);flex:none;padding:3px 6px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;font-style:italic}.visual-caption{border-top:1px solid var(--line-soft);align-items:start;gap:8px;margin-top:16px;padding:10px 0 0;display:flex}.caption-dot{background:var(--state-active);border-radius:50%;flex:none;width:5px;height:5px;margin-top:6px;display:block}.visual-caption p{color:var(--muted);font-size:12px;line-height:1.65}.practice-toggle{border:1px dashed var(--line);width:100%;min-height:43px;color:var(--muted);text-align:left;background:0 0;border-radius:7px;align-items:center;gap:10px;padding:9px 13px;font-size:12px;display:flex}.practice-toggle:hover{background:var(--surface);border-color:var(--state-active-border);color:var(--state-active-ink)}.practice-toggle>.icon{width:12px;height:12px;margin-left:auto}.practice-symbol{border:1px solid var(--line);border-radius:50%;justify-content:center;align-items:center;width:20px;height:20px;font-size:12px;font-weight:600;display:flex}.practice-panel{margin-top:-8px}.practice-panel p{color:var(--muted);margin:10px 0;font-size:12px}.practice-panel p:last-child{color:var(--state-active-ink);margin-bottom:0}.source-panel{padding:18px}.source-panel .panel-heading{margin-bottom:11px}.source-context{color:var(--muted);align-items:center;gap:6px;min-width:0;margin-bottom:13px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;display:flex}.source-context>span:nth-child(2){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.source-dot{background:var(--state-active);border-radius:50%;flex:none;width:5px;height:5px}.source-sync{color:var(--faint);white-space:nowrap;margin-left:auto;font:12px -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.source-code{background:var(--code-bg);color:var(--code-ink);scrollbar-width:thin;scrollbar-color:var(--viz-muted) transparent;tab-size:2;font-variant-numeric:tabular-nums;border-radius:8px;height:326px;padding:15px 0;font:12px/1.95 ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;overflow:auto}.code-placeholder{color:var(--code-muted);padding:6px 16px}.code-line{border-left:3px solid #0000;min-width:max-content;min-height:24px;padding:0 14px 0 0;display:flex}.line-number{text-align:right;width:34px;color:var(--code-muted);user-select:none;flex:none;padding-right:12px;font-size:12px}.code-text{white-space:pre;padding-right:14px;display:block}.code-line.is-active{background:color-mix(in srgb,var(--viz-active) 19%,transparent);border-left-color:var(--viz-active);color:var(--viz-active-tint)}.code-line.is-active .line-number{color:var(--viz-active);font-weight:700}.source-footnote{color:var(--faint);align-items:center;gap:6px;margin-top:12px;font-size:12px;display:flex}.source-line-indicator{background:var(--state-active);border-radius:2px;width:3px;height:11px}.source-guide{background:var(--surface-subtle);border:1px solid var(--line-soft);border-radius:8px;flex-direction:column;gap:10px;margin-bottom:12px;padding:12px 14px;font-size:13px;line-height:1.5;display:flex}.source-guide-section{flex-direction:column;gap:4px;display:flex}.source-guide-heading{letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin:0;font:700 12px Manrope,Figtree,sans-serif}.source-guide-text{color:var(--ink);margin:0;font-size:13px;line-height:1.45}.source-example-box{background:var(--surface);border:1px solid var(--line-soft);border-radius:6px;flex-direction:column;gap:4px;padding:8px 10px;display:flex}.source-example-row{align-items:baseline;gap:8px;font-size:12px;display:flex}.source-example-label{color:var(--muted);text-transform:uppercase;min-width:48px;font-size:12px;font-weight:600}.source-example-code{color:var(--state-active-ink,var(--viz-active-ink));background:var(--state-active-tint,var(--viz-panel));border-radius:4px;padding:1px 5px;font:600 12px JetBrains Mono,Consolas,monospace}.source-example-note{color:var(--muted);margin:2px 0 0;font-size:12px;line-height:1.4}body .variables-panel{display:none!important}.braces{color:var(--muted);letter-spacing:-2px;margin-right:3px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:14px}.variables-panel .panel-heading{margin-bottom:13px}.variables-list{flex-direction:column;gap:6px;display:flex}.variable-row{background:var(--surface-subtle);border:1px solid var(--line);border-radius:5px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:7px;min-height:32px;padding:6px 9px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;display:grid}.variable-name{overflow-wrap:anywhere;min-width:0;color:var(--ink);padding-left:13px;position:relative}.variable-name:before{content:"";background:var(--state-active);border-radius:50%;width:5px;height:5px;position:absolute;top:5px;left:0}.variable-type{color:var(--faint);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:12px}.variable-value{color:var(--state-active-ink);overflow-wrap:anywhere;text-align:right;min-width:0;max-width:120px;font-weight:600}.variable-row.is-active,.variable-row.is-current{background:var(--amber-tint);border-color:var(--amber-line)}.variable-row.is-active .variable-value,.variable-row.is-current .variable-value{color:var(--amber)}.playback{background:var(--surface);border-top:1px solid var(--line);z-index:4;padding:16px 26px 15px;position:sticky;bottom:0;box-shadow:0 -4px 16px #191e2805}.step-summary{align-items:start;gap:12px;min-width:0;display:flex}.step-symbol{width:31px;height:31px;color:var(--amber);background:var(--amber-tint);border:1px solid var(--amber-line);border-radius:5px;flex:none;justify-content:center;align-items:center;margin-top:1px;display:flex}.step-symbol .icon{width:17px;height:17px}.step-copy{flex:1;min-width:0}.step-heading{align-items:center;gap:9px;display:flex}.step-heading h2{font-size:12px;font-weight:600}.step-state{color:var(--muted);background:var(--surface-subtle);border:1px solid var(--line);white-space:nowrap;border-radius:4px;padding:2px 6px;font-size:12px}.step-copy p{color:var(--muted);max-width:900px;margin-top:3px;font-size:12px;line-height:1.7}.step-metrics{white-space:nowrap;color:var(--faint);gap:13px;margin-left:auto;padding-top:3px;font-size:12px;display:flex}.step-metrics strong{color:var(--muted);margin-left:3px;font:12px ui-monospace,SFMono-Regular,Consolas,monospace}.playback-controls{align-items:center;gap:20px;margin-top:14px;display:flex}.transport{flex:none;gap:5px;display:flex}.transport .icon-button{background:var(--surface-subtle);border-color:var(--line);border-radius:5px;width:31px;height:31px}.transport .icon-button:hover{background:var(--surface-hover)}.transport .icon-button .icon{width:15px;height:15px}.backward{transform:rotate(180deg)}.play-button{gap:7px;min-width:74px;height:31px;font-size:12px}.restart-button{margin-left:4px}.timeline-control{flex:1;align-items:center;gap:14px;min-width:130px;display:flex}.timeline-control>span{color:var(--muted);white-space:nowrap;font:12px ui-monospace,SFMono-Regular,Consolas,monospace}.timeline-control strong{color:var(--ink);font-weight:600}.counter-slash{color:var(--faint);padding:0 6px}#timeline{min-width:0;accent-color:var(--state-active);cursor:pointer;flex:1;height:5px}.speed-control{border-left:1px solid var(--line);color:var(--muted);flex:none;align-items:center;gap:9px;padding:0 0 0 17px;font-size:12px;display:flex}.speed-control select{background:var(--surface-subtle);border:1px solid var(--line);color:var(--ink);min-width:60px;height:30px;padding:0 8px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px}@media (width>=1600px){.studio-grid{grid-template-columns:250px minmax(390px,1fr) 380px;gap:24px;padding:30px 30px 38px}.workspace-heading,.playback{padding-left:30px;padding-right:30px}.panel{padding:20px}.bucket-panel{padding:22px}.hash-pipeline{gap:8px;padding:21px 13px}.pipeline-stage>span{font-size:12px}.pipeline-stage strong{font-size:13px}.bucket-array{gap:15px;min-height:365px;padding:20px 16px}.bucket-row{min-height:52px;padding:9px 7px}.hash-node,.bucket-label{font-size:12px}.source-code{height:350px;font-size:12px}.line-number{width:38px}.panel h2{font-size:13px}.step-copy p{font-size:12px}.step-heading h2{font-size:13px}.lesson-heading h1{font-size:22px}}@media (width<=1370px){.app-header{gap:17px}.header-breadcrumb{gap:8px;padding-left:17px;font-size:12px}.brand-subtitle{font-size:12px}.search-hint{display:none}.studio-grid{grid-template-columns:225px minmax(280px,1fr) minmax(270px,330px);gap:16px;padding:20px}.operations-panel{padding:15px}.operation-actions{gap:4px}.operation-actions .button{gap:4px;padding:0 6px;font-size:12px}.operation-actions .button:last-child{padding:0 5px;font-size:12px}.panel-heading h2{gap:6px}.panel-kicker{font-size:12px}.hash-pipeline{grid-template-columns:minmax(30px,1fr) 10px minmax(49px,1fr) 10px minmax(65px,1fr) 10px minmax(58px,1fr);gap:2px;padding:15px 5px}.pipeline-stage strong{padding:4px 5px;font-size:12px}.pipeline-stage>span{font-size:12px}.bucket-panel{padding:16px}.bucket-panel-heading p{font-size:12px}.diagram-tag{display:none}.step-metrics{flex-direction:column;gap:2px}.step-state{display:none}.playback{padding-left:20px;padding-right:20px}.playback-controls{gap:14px}.timeline-control{gap:10px}.transport{gap:4px}.speed-control{padding-left:12px}}@media (width<=1150px){.header-breadcrumb{display:none}.brand{min-width:200px}.app-layout{grid-template-columns:195px minmax(0,1fr)}.curriculum{padding-left:8px;padding-right:8px}.curriculum-heading{padding-left:4px;padding-right:4px}.curriculum-entry,.entry-complexity,.roadmap-entry span:nth-child(2){font-size:12px}.studio-grid{grid-template-columns:210px minmax(270px,1fr);gap:16px}.source-column{grid-column:1/-1;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:start;display:grid}.source-code{height:280px}.workspace-heading{align-items:start;padding:18px 20px}.lesson-heading h1{font-size:18px}.lesson-description{max-width:220px;font-size:12px}.table-status{gap:5px;max-width:220px}.load-badge,.size-badge{min-height:28px;font-size:12px}.step-metrics{display:none}.playback-controls{flex-wrap:wrap;gap:10px}.timeline-control{flex:1;min-width:120px}.speed-control{gap:5px;padding-left:10px}.speed-control label{display:none}}@media (width<=800px){:root{--header-height:62px}.app-header{gap:12px;height:62px;padding:0 16px}.brand{min-width:0}.brand-mark{border-radius:7px;width:32px;height:32px;font-size:19px}.brand strong{font-size:15px}.brand-subtitle{display:none}.header-search{max-width:280px}.header-actions{gap:3px}.header-divider,.header-actions .language-chip{display:none}.header-actions .icon-button{width:31px;height:31px}.mobile-menu{width:29px;height:31px;display:inline-flex}.app-layout{min-height:calc(100vh - 62px);display:block}.curriculum{z-index:10;width:240px;padding:25px 14px 20px;transition:transform .2s;position:fixed;top:62px;bottom:0;left:0;overflow:auto;transform:translate(-101%);box-shadow:10px 0 30px #0000001a}.curriculum-entry,.roadmap-entry span:nth-child(2){font-size:12px}.curriculum-bottom{margin-top:25px}html[data-sidebar-open=true] .curriculum,.curriculum.is-open{transform:translate(0)}.studio-grid{grid-template-columns:225px minmax(280px,1fr);gap:16px;padding:18px}.workspace-heading{padding:18px}.table-status{max-width:none}.playback{padding:14px 18px}.timeline-control{min-width:180px}.speed-control label{display:block}body[data-teaching=true] .button,body[data-teaching=true] .icon-button,body[data-teaching=true] .curriculum-entry,body[data-teaching=true] .learning-tab,body[data-teaching=true] .story-nav-button,body[data-teaching=true] details>summary,body[data-teaching=true] select{min-height:40px}body[data-teaching=true] .icon-button,body[data-teaching=true] .transport .icon-button{width:40px;height:40px}}@media (width<=600px){.app-header{flex-wrap:wrap;gap:8px 10px;height:auto;min-height:62px;padding:12px 14px}.brand{margin-right:auto}.brand strong{font-size:15px}.header-actions{gap:3px}.header-search{flex-basis:100%;order:5;max-width:none;height:34px;margin:2px 0 0}.header-search input{font-size:12px}.search-hint{font-size:12px;display:block}.curriculum{top:110px}.workspace-heading{flex-direction:column;align-items:start;gap:14px;padding:19px 16px 17px}.lesson-heading h1{font-size:22px}.lesson-description{max-width:none;font-size:12px}.lesson-heading .eyebrow{font-size:12px}.table-status{justify-content:flex-start;gap:7px}.load-badge,.size-badge{min-height:29px;padding:5px 8px;font-size:12px}.studio-grid{flex-direction:column;gap:18px;padding:16px;display:flex}.operations-column,.diagram-column,.source-column{gap:14px;width:100%}.operations-column{grid-template-columns:1fr;display:grid}.operations-panel{padding:18px}.operation-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.operation-actions .button,.operation-actions .button:last-child{flex:none;gap:6px;width:100%;min-width:0;height:36px;padding:0 8px;font-size:12px}.operation-actions .button:nth-child(3){grid-column:1/-1}.operation-actions .button .icon{width:14px;height:14px}.field input{height:39px;font-size:13px}.field label,.capacity-control>label{font-size:12px}.preset-list{grid-template-columns:1fr 1fr;gap:7px;display:grid}.preset-button{gap:5px;min-height:36px;padding:6px 8px;font-size:12px}.preset-collision{grid-column:1/-1}.preset-detail{font-size:12px}.complexity-panel{padding:16px 18px}.complexity-panel .panel-heading{margin-bottom:10px}.complexity-grid>div{padding:8px 4px}.complexity-grid strong{white-space:normal;overflow-wrap:anywhere}.complexity-panel p{margin-top:10px}.legend-panel{display:none}.diagram-column{order:-1}.pipeline-panel{padding:17px}.hash-pipeline{grid-template-columns:minmax(30px,1fr) 10px minmax(48px,1fr) 10px minmax(60px,1fr) 10px minmax(60px,1fr);gap:2px;padding:16px 7px}.pipeline-stage>span{font-size:12px}.pipeline-stage strong{min-width:33px;padding:4px 5px;font-size:12px}.bucket-panel{padding:17px}.bucket-panel-heading{margin-bottom:14px;padding-bottom:14px}.bucket-panel-heading p{font-size:12px}.bucket-array{gap:8px;min-height:290px;padding:10px 7px}.bucket-row{gap:7px;padding:6px 3px}.bucket-label{min-width:43px;padding:7px 5px;font-size:12px}.chain{gap:5px}.hash-node{font-size:12px}.node-key,.node-value{padding:5px 6px}.node-value{max-width:85px}.chain-arrow{min-width:12px;font-size:16px}.null-node{padding:3px;font-size:12px}.source-column{display:flex}.source-code{height:310px;font-size:12px}.source-panel,.variables-panel{padding:17px}.variable-row{min-height:35px;font-size:12px}.variable-type{font-size:12px}.variable-value{max-width:135px}.playback{padding:13px 14px 14px;padding-bottom:calc(14px + env(safe-area-inset-bottom));position:sticky}.step-summary{gap:9px}.step-symbol{width:28px;height:28px}.step-heading h2{font-size:12px}.step-copy p{font-size:12px;line-height:1.65}.playback-controls{gap:12px;margin-top:14px}.transport{justify-content:center;gap:7px;width:100%}.transport .icon-button{width:40px;height:40px}.play-button{min-width:90px;height:40px}.timeline-control{gap:9px;min-width:0}.timeline-control>span{font-size:12px}.speed-control{gap:5px;padding-left:9px}.speed-control select{min-width:52px;height:29px;padding:0 5px}.speed-control label,.source-footnote,.practice-toggle,.curriculum-heading h2{font-size:12px}.source-column{align-items:stretch}}.lesson-notes{border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:7px;font-size:12px}.lesson-notes summary{cursor:pointer;color:var(--ink);padding:12px 14px;font-weight:500}.notes-summary-detail{color:var(--faint);margin-left:9px;font-size:12px;font-weight:400}.notes-content{padding:0 15px 15px;line-height:1.75}.notes-content p+p{margin-top:10px}.notes-content strong{color:var(--ink);font-weight:600}.notes-content code{color:var(--state-active-ink);font-size:12px}.notes-content ul{margin:11px 0 0;padding-left:17px}.notes-content li+li{margin-top:4px}.token-keyword{color:var(--viz-active)}.token-string{color:var(--viz-warning)}.token-number{color:var(--viz-code-number)}.token-comment{color:var(--viz-muted)}body[data-redesign=true]{--amber-ink:var(--viz-warning-ink);--shadow:0 1px 2px #00000008;--font-ui:"Figtree", "Segoe UI", sans-serif;--font-heading:"Manrope", "Figtree", sans-serif;--font-code:"JetBrains Mono", ui-monospace, monospace;background:var(--viz-panel);color:var(--ink);font-family:var(--font-ui);font-size:14px}html[data-theme=dark] body[data-redesign=true]{--canvas:var(--viz-page);--surface:var(--viz-panel);--surface-subtle:var(--viz-node);--surface-hover:var(--viz-hover);--ink:var(--viz-ink);--muted:var(--viz-muted);--faint:var(--viz-muted);--line:var(--viz-border);--line-soft:var(--viz-border);--state-active:var(--viz-active);--state-active-ink:var(--viz-active-ink);--state-active-tint:var(--viz-active-tint);--state-active-border:var(--viz-active);--state-success:var(--viz-success);--amber-ink:var(--viz-warning-ink);background:var(--canvas)}body[data-redesign=true] .app-header{height:60px;font-family:var(--font-ui);gap:18px;padding:0 22px}body[data-redesign=true] .brand-mark{background:var(--state-active);color:var(--viz-on-active);border-radius:8px}body[data-redesign=true] .brand strong,body[data-redesign=true] h1,body[data-redesign=true] h2,body[data-redesign=true] h3,body[data-redesign=true] h4{font-family:var(--font-heading)}body[data-redesign=true] .app-layout{grid-template-columns:220px minmax(0,1fr);min-height:calc(100vh - 60px)}body[data-redesign=true] .curriculum{padding:20px 12px 16px}body[data-redesign=true] .curriculum-heading{padding-bottom:14px}body[data-redesign=true] .curriculum-heading h2,body[data-redesign=true] .small-heading,body[data-redesign=true] .eyebrow,body[data-redesign=true] .roadmap-label{letter-spacing:.03em;text-transform:none;color:var(--muted);font-size:12px}body[data-redesign=true] .subtle-badge,body[data-redesign=true] .family-count,body[data-redesign=true] .entry-complexity,body[data-redesign=true] .planned-label,body[data-redesign=true] .search-hint,body[data-redesign=true] .curriculum-bottom p,body[data-redesign=true] .catalog-note,body[data-redesign=true] .brand-subtitle,body[data-redesign=true] #load-warning,body[data-redesign=true] .operation-actions .button:last-child,body[data-redesign=true] .visual-caption p{font-size:12px}body[data-redesign=true] .load-badge strong,body[data-redesign=true] .track-heading>span{color:var(--state-active-ink)}body[data-redesign=true] .bucket-row.is-active .bucket-label,body[data-redesign=true] .bucket-row.is-current .bucket-label,body[data-redesign=true] .bucket-label.is-active{background:var(--state-active-ink);border-color:var(--state-active-ink);color:var(--canvas)}body[data-redesign=true] .bucket-row.is-active .chain-arrow{color:var(--amber)}body[data-redesign=true] .variable-row.is-active .variable-value,body[data-redesign=true] .variable-row.is-current .variable-value,body[data-redesign=true] .variable-row.is-target .variable-value{color:var(--amber-ink)}body[data-redesign=true] .curriculum-entry,body[data-redesign=true] .curriculum-group summary{min-height:40px;font-size:13px}body[data-redesign=true] .legend-panel{display:none}body[data-redesign=true] .workspace-heading{gap:14px;min-height:78px;padding:14px 24px}body[data-redesign=true] .lesson-heading .eyebrow{margin-bottom:2px}body[data-redesign=true] .lesson-heading h1{letter-spacing:-.04em;font-size:24px}body[data-redesign=true] .lesson-description{color:var(--muted);font-size:13px}body[data-redesign=true] .theater-actions{flex-wrap:wrap;gap:8px;display:flex}body[data-redesign=true] .button,body[data-redesign=true] .button-small,body[data-redesign=true] .icon-button,body[data-redesign=true] .panel-toggle{font-family:var(--font-ui)}body[data-redesign=true] .button-primary{color:var(--viz-on-active);background:var(--state-active);border-color:var(--state-active)}body[data-redesign=true] .button-primary:hover{background:var(--viz-active);border-color:var(--viz-active);color:var(--viz-on-active)}body[data-redesign=true] .studio-grid{grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) 310px;align-items:start;gap:14px 20px;padding:18px 24px 20px}body[data-redesign=true] .operations-column{grid-area:1/1;gap:0}body[data-redesign=true] .diagram-column{grid-area:2/1;gap:14px}body[data-redesign=true] .source-column{border:1px solid var(--line);background:var(--surface);border-radius:10px;grid-area:1/2/span 2;gap:0;display:flex;overflow:hidden}body[data-redesign=true] .panel{border-color:var(--line);box-shadow:none;border-radius:8px}body[data-redesign=true] .operations-panel{padding:14px 16px}body[data-redesign=true] .operations-panel .panel-heading{margin-bottom:10px;padding-bottom:10px}body[data-redesign=true] .operations-panel .panel-heading h2,body[data-redesign=true] .bucket-panel-heading h2,body[data-redesign=true] .pipeline-panel h2{font-size:15px}body[data-redesign=true] .operations-panel form{grid-template-columns:minmax(130px,1fr) minmax(130px,1fr) auto;align-items:end;gap:12px;display:grid}body[data-redesign=true] .input-pair{display:contents}body[data-redesign=true] .field label,body[data-redesign=true] .capacity-control>label{color:var(--muted);margin-bottom:5px;font-size:12px}body[data-redesign=true] .field input{border-radius:6px;height:40px;font-size:14px}body[data-redesign=true] .operation-actions{gap:6px}body[data-redesign=true] .operation-actions .button{min-height:40px;font-size:13px}body[data-redesign=true] .section-divider{margin:12px 0}body[data-redesign=true] .small-heading{margin-bottom:7px}body[data-redesign=true] .preset-list{flex-wrap:wrap;gap:7px;display:flex}body[data-redesign=true] .preset-button{min-height:34px;padding:5px 9px;font-size:12px}body[data-redesign=true] .scenario-disclosure{border-top:1px solid var(--line-soft);color:var(--muted);margin-top:10px}body[data-redesign=true] .scenario-disclosure>summary{cursor:pointer;color:var(--muted);padding:9px 2px 3px;font-size:12px}body[data-redesign=true] .scenario-disclosure[open]>summary{margin-bottom:8px}body[data-redesign=true] .bucket-panel,body[data-redesign=true] .pipeline-panel{padding:16px 18px}body[data-redesign=true] .bucket-panel-heading{margin-bottom:10px;padding-bottom:10px}body[data-redesign=true] .bucket-panel-heading p{color:var(--muted);font-size:13px}body[data-redesign=true] .diagram-tag,body[data-redesign=true] .pipeline-stage>span,body[data-redesign=true] .pipeline-stage strong{font-size:12px}body[data-redesign=true] .hash-pipeline{padding:12px 10px}body[data-redesign=true] .pipeline-stage strong{font-family:var(--font-code);color:var(--ink)}body[data-redesign=true] .bucket-array{gap:6px;min-height:0;padding:10px}body[data-redesign=true] .bucket-row{gap:10px;min-height:42px;padding:5px 6px}body[data-redesign=true] .bucket-label{min-width:56px;font-size:13px;font-family:var(--font-code)}body[data-redesign=true] .hash-node{font-size:13px}body[data-redesign=true] .node-key,body[data-redesign=true] .node-value{padding:7px 10px}body[data-redesign=true] .null-node{font-size:12px}body[data-redesign=true] .visual-caption{padding-top:9px;font-size:12px}body[data-redesign=true] .learning-tabs{border-bottom:1px solid var(--line);background:var(--surface);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}body[data-redesign=true] .learning-tab{min-height:46px;color:var(--muted);font:600 12px var(--font-ui);background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;padding:8px 4px}body[data-redesign=true] .learning-tab:hover,body[data-redesign=true] .learning-tab.is-active{color:var(--state-active-ink)}body[data-redesign=true] .learning-tab.is-active{border-bottom-color:var(--state-active)}body[data-redesign=true] .learning-tab-content{min-width:0}body[data-redesign=true] .learning-tab-content[hidden]{display:none}body[data-redesign=true] .source-panel,body[data-redesign=true] .explain-panel{border:0;border-radius:0;padding:15px}body[data-redesign=true] .source-panel .panel-heading{margin-bottom:10px;padding-bottom:10px}body[data-redesign=true] .source-panel .panel-heading h2{text-overflow:ellipsis;flex:100px;min-width:0;font-size:14px;overflow:hidden}body[data-redesign=true] .code-controls{align-items:center;gap:1px;margin-left:auto;display:inline-flex}body[data-redesign=true] .code-controls .icon-button{border-color:var(--line);background:var(--surface-subtle);width:34px;min-width:34px;height:34px;color:var(--ink);font-size:18px}body[data-redesign=true] .source-context,body[data-redesign=true] .source-footnote{font-size:12px}body[data-redesign=true] .source-code{height:min(390px,44vh);min-height:250px;font-size:13px;line-height:1.7;font-family:var(--font-code);border-radius:7px}body[data-redesign=true] .source-code[data-code-theme=light]{background:var(--viz-node);color:var(--viz-ink);border:1px solid var(--line)}body[data-redesign=true] .source-code[data-code-theme=light] .line-number{color:var(--viz-muted)}body[data-redesign=true] .source-code .line-number{color:var(--viz-muted);font-size:12px}body[data-redesign=true] .source-code .token-comment,body[data-redesign=true] .source-code[data-code-theme=light] .token-comment{color:var(--viz-muted)}body[data-redesign=true] .header-breadcrumb,body[data-redesign=true] #presentation-toggle,body[data-redesign=true] #panel-toggle,body[data-redesign=true] #presentation-exit,body[data-redesign=true] .load-badge>span,body[data-redesign=true] .size-badge>span,body[data-redesign=true] .notes-summary-detail{font-size:12px}body[data-redesign=true] .source-code .code-line{padding-top:3px;padding-bottom:3px}body[data-redesign=true] .source-code[data-code-theme=light] .code-line.is-active{background:var(--viz-active-tint)}body[data-redesign=true] .variables-panel{background:var(--surface-subtle);margin-top:14px;padding:12px}body[data-redesign=true] .variables-panel .panel-heading{margin-bottom:8px;padding-bottom:8px}body[data-redesign=true] .variable-row{min-height:34px;font-size:12px}body[data-redesign=true] .variable-type{font-size:12px}body[data-redesign=true] .panel-kicker,body[data-redesign=true] .source-sync,body[data-redesign=true] .step-state{color:var(--muted);font-size:12px}body[data-redesign=true] .explain-panel h2{margin:7px 0 10px;font-size:19px}body[data-redesign=true] .explain-panel p,body[data-redesign=true] .explain-panel li{color:var(--muted);font-size:14px;line-height:1.6}body[data-redesign=true] .explain-panel ol{margin:16px 0 0;padding-left:20px}body[data-redesign=true] .explain-panel li+li{margin-top:9px}body[data-redesign=true] .text-button{color:var(--state-active-ink);font:600 13px var(--font-ui);text-underline-offset:3px;background:0 0;border:0;margin-top:16px;padding:8px 0;text-decoration:underline}body[data-redesign=true] .complexity-panel{border:0;padding:15px}body[data-redesign=true] .complexity-grid>div{padding:12px 5px}body[data-redesign=true] .complexity-grid>div span{font-size:12px}body[data-redesign=true] .complexity-grid>div strong{font-size:14px}body[data-redesign=true] .complexity-panel p,body[data-redesign=true] .space-complexity{font-size:13px}body[data-redesign=true] .playback{padding:12px 24px;box-shadow:0 -2px 8px #0000000a}body[data-redesign=true] .step-heading h2{font-size:14px}body[data-redesign=true] .step-copy p{font-size:13px;line-height:1.45}body[data-redesign=true] .step-metrics,body[data-redesign=true] .step-metrics strong,body[data-redesign=true] .timeline-control>span,body[data-redesign=true] .speed-control{font-size:12px}body[data-redesign=true] .transport .icon-button,body[data-redesign=true] .play-button{height:40px;min-height:40px}body[data-redesign=true] .transport .icon-button{width:40px}body[data-redesign=true] .understand-section{max-width:1400px;margin:0 auto;padding:48px 28px 72px;scroll-margin-top:20px}body[data-redesign=true] .understand-heading{justify-content:space-between;align-items:end;gap:24px;margin-bottom:24px;display:flex}body[data-redesign=true] .understand-heading h2{letter-spacing:-.04em;margin:4px 0;font-size:clamp(24px,2.5vw,32px)}body[data-redesign=true] .understand-heading p,body[data-redesign=true] .history-controls label{color:var(--muted);font-size:14px}body[data-redesign=true] .history-controls{align-items:center;gap:10px;display:flex}body[data-redesign=true] .history-controls select{background:var(--surface);border:1px solid var(--line);max-width:270px;min-height:40px;color:var(--ink);font:13px var(--font-ui);padding:0 10px}body[data-redesign=true] .story-layout{grid-template-columns:minmax(190px,240px) minmax(0,1fr);align-items:start;gap:18px;display:grid}body[data-redesign=true] .story-navigation{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:14px 10px;position:sticky;top:20px}body[data-redesign=true] .story-navigation ol{margin:0;padding:0;list-style:none}body[data-redesign=true] .story-nav-item+.story-nav-item{margin-top:4px}body[data-redesign=true] .story-nav-button{text-align:left;width:100%;min-height:48px;color:var(--muted);font:600 13px var(--font-ui);background:0 0;border:1px solid #0000;align-items:center;gap:10px;padding:7px 8px;display:flex}body[data-redesign=true] .story-nav-button[aria-current=step]{color:var(--state-active-ink);background:var(--state-active-tint);border-color:var(--state-active-border)}body[data-redesign=true] .story-step-number{border:1px solid var(--line);background:var(--surface);width:28px;height:28px;color:var(--ink);font:600 12px var(--font-code);border-radius:50%;flex:none;place-items:center;display:grid}body[data-redesign=true] .story-content{min-width:0}body[data-redesign=true] .story-moment{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:22px;scroll-margin-top:16px}body[data-redesign=true] .story-moment+.story-moment{margin-top:12px}body[data-redesign=true] .story-moment h3{letter-spacing:-.025em;margin:5px 0 8px;font-size:21px}body[data-redesign=true] .story-explanation{max-width:780px;color:var(--muted);font-size:15px;line-height:1.65}body[data-redesign=true] .story-pipeline{border:1px solid var(--line-soft);background:var(--surface-subtle);border-radius:7px;align-items:center;gap:10px;margin:16px 0;padding:12px;display:flex}body[data-redesign=true] .story-pipeline-stage{border:1px solid var(--line);background:var(--surface);border-radius:6px;gap:4px;min-width:110px;padding:9px 12px;display:grid}body[data-redesign=true] .story-pipeline-stage small{color:var(--muted);font-size:12px}body[data-redesign=true] .story-pipeline-stage strong{font:600 14px var(--font-code)}body[data-redesign=true] .story-subheading{margin:18px 0 8px;font-size:14px}body[data-redesign=true] .story-table{border:1px solid var(--line-soft);border-radius:7px;gap:5px;padding:8px;display:grid}body[data-redesign=true] .story-bucket{border-radius:5px;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:10px;min-height:42px;padding:4px 8px;display:grid}body[data-redesign=true] .story-bucket.is-active{background:var(--state-active-tint);outline:1px solid var(--state-active-border)}body[data-redesign=true] .story-bucket-label,body[data-redesign=true] .story-null{color:var(--muted);font:12px var(--font-code)}body[data-redesign=true] .story-chain{flex-wrap:wrap;align-items:center;gap:7px;min-width:0;display:flex}body[data-redesign=true] .story-entry{border:1px solid var(--line);background:var(--surface);font:12px var(--font-code);border-radius:5px;gap:8px;padding:6px 9px;display:inline-flex}body[data-redesign=true] .story-arrow{color:var(--muted)}body[data-redesign=true] .story-source{border:1px solid var(--line);background:var(--surface-subtle);border-radius:6px;margin-top:12px}body[data-redesign=true] .story-source summary,body[data-redesign=true] .execution-details summary{cursor:pointer;color:var(--ink);padding:12px 14px;font-size:13px;font-weight:600}body[data-redesign=true] .story-source pre,body[data-redesign=true] .execution-inspector pre{background:var(--viz-code-bg);color:var(--viz-code-ink);font:12px/1.65 var(--font-code);border-radius:5px;margin:0 12px 12px;padding:12px;overflow:auto}body[data-redesign=true] .execution-details{border:1px solid var(--line);background:var(--surface);border-radius:8px;margin-top:12px}body[data-redesign=true] .execution-help{color:var(--muted);padding:0 14px 10px;font-size:13px}body[data-redesign=true] #execution-steps{gap:4px;padding:0 10px 12px;list-style:none;display:grid}body[data-redesign=true] .execution-step{text-align:left;background:var(--surface);border:1px solid var(--line);width:100%;min-height:42px;color:var(--ink);grid-template-columns:30px minmax(0,1fr) minmax(0,auto);align-items:center;gap:9px;padding:5px 8px;display:grid}body[data-redesign=true] .execution-number{border:1px solid var(--line);width:26px;height:26px;font:12px var(--font-code);border-radius:50%;place-items:center;display:grid}body[data-redesign=true] .execution-name{font-size:13px}body[data-redesign=true] .execution-anchor{color:var(--muted);font:12px var(--font-code)}body[data-redesign=true] .execution-inspector{border:1px solid var(--state-active-border);background:var(--state-active-tint);border-radius:6px;margin:0 12px 12px;padding:14px}body[data-redesign=true] .execution-inspector>span{font-weight:700}body[data-redesign=true] .execution-inspector p{margin:7px 0 10px;font-size:13px;line-height:1.55}body[data-redesign=true] .execution-inspector pre{margin:0}body[data-redesign=true] .return-theater{border:1px solid var(--state-active-border);background:var(--state-active-tint);border-radius:8px;justify-content:space-between;align-items:center;gap:18px;margin-top:14px;padding:17px;display:flex}body[data-redesign=true] .return-theater strong{font-size:14px}body[data-redesign=true] .return-theater p{color:var(--muted);margin-top:4px;font-size:13px}body[data-redesign=true] .return-theater .button{white-space:nowrap;align-items:center;min-height:42px;display:inline-flex}body[data-redesign=true] .panel-toggle{color:var(--ink);background:var(--surface-subtle);border:1px solid var(--line);padding:5px 8px;font-size:12px}body[data-redesign=true] .source-code .code-line{width:100%;min-width:0}body[data-redesign=true] .source-code .code-text{white-space:pre-wrap;overflow-wrap:anywhere;flex:1;min-width:0}body[data-curriculum-collapsed=true] .curriculum{display:none}body[data-curriculum-collapsed=true] .app-layout{grid-template-columns:minmax(0,1fr)}body[data-redesign=true][data-learning-panel-hidden=true] .source-column{display:none}body[data-redesign=true][data-learning-panel-hidden=true] .studio-grid{grid-template-columns:minmax(0,1fr)}body[data-redesign=true][data-learning-panel-hidden=true] .operations-column,body[data-redesign=true][data-learning-panel-hidden=true] .diagram-column{grid-column:1}body[data-redesign=true][data-presentation=true] .app-header,body[data-redesign=true][data-presentation=true] .curriculum,body[data-redesign=true][data-presentation=true] .lesson-notes,body[data-redesign=true][data-presentation=true] #practice-toggle,body[data-redesign=true][data-presentation=true] #practice-panel{display:none}body[data-redesign=true][data-presentation=true] .app-layout{min-height:100vh;display:block}body[data-redesign=true][data-presentation=true] .workspace-heading{min-height:70px;padding:10px 22px}body[data-redesign=true][data-presentation=true] .workspace-heading .lesson-heading .eyebrow,body[data-redesign=true][data-presentation=true] .workspace-heading .lesson-description{display:none}body[data-redesign=true][data-presentation=true] .workspace-heading .lesson-heading h1{font-size:22px}body[data-redesign=true][data-presentation=true] .studio-grid{grid-template-columns:minmax(0,1fr);gap:9px;padding:10px 22px 12px}body[data-redesign=true][data-presentation=true] .operations-column,body[data-redesign=true][data-presentation=true] .diagram-column{grid-column:1}body[data-redesign=true][data-presentation=true] .operations-panel{padding:9px 12px}body[data-redesign=true][data-presentation=true] .operations-panel .panel-heading,body[data-redesign=true][data-presentation=true] .operations-panel .section-divider,body[data-redesign=true][data-presentation=true] .operations-panel .small-heading,body[data-redesign=true][data-presentation=true] .operations-panel .preset-list,body[data-redesign=true][data-presentation=true] .operations-panel .key-stream,body[data-redesign=true][data-presentation=true] .operations-panel .scenario-disclosure,body[data-redesign=true][data-presentation=true] .operations-panel .capacity-control{display:none}body[data-redesign=true][data-presentation=true] .operations-panel form{grid-template-columns:minmax(150px,1fr) minmax(150px,1fr) auto;gap:10px}body[data-redesign=true][data-presentation=true] .field label{display:none}body[data-redesign=true][data-presentation=true] .field input,body[data-redesign=true][data-presentation=true] .operation-actions .button{height:38px;min-height:38px}body[data-redesign=true][data-presentation=true] .diagram-column{gap:8px}body[data-redesign=true][data-presentation=true] .pipeline-panel{padding:9px 13px}body[data-redesign=true][data-presentation=true] .pipeline-panel .panel-heading{margin-bottom:6px;padding-bottom:6px}body[data-redesign=true][data-presentation=true] .hash-pipeline{padding:6px 10px}body[data-redesign=true][data-presentation=true] .bucket-panel{padding:9px 13px}body[data-redesign=true][data-presentation=true] .bucket-panel-heading{margin-bottom:5px;padding-bottom:5px}body[data-redesign=true][data-presentation=true] .bucket-panel-heading p,body[data-redesign=true][data-presentation=true] .diagram-tag,body[data-redesign=true][data-presentation=true] .visual-caption{display:none}body[data-redesign=true][data-presentation=true] .bucket-array{gap:2px;padding:4px 8px}body[data-redesign=true][data-presentation=true] .bucket-row{min-height:35px;padding:2px 5px}body[data-redesign=true][data-presentation=true] .node-key,body[data-redesign=true][data-presentation=true] .node-value{padding:5px 8px}body[data-redesign=true][data-presentation=true] .playback{padding:8px 22px}body[data-redesign=true][data-presentation=true] .playback-controls{margin-top:7px}body[data-redesign=true][data-presentation=true] #presentation-exit{display:inline-flex}@media (width<=1100px){body[data-redesign=true] .app-layout{grid-template-columns:190px minmax(0,1fr)}body[data-redesign=true] .studio-grid{grid-template-columns:minmax(0,1fr) 285px;gap:12px;padding:14px}body[data-redesign=true] .source-column{display:flex}body[data-redesign=true] .operations-panel form{grid-template-columns:minmax(110px,1fr) minmax(110px,1fr) auto;gap:8px}}@media (width<=800px){body[data-redesign=true] .app-header{height:58px;padding:0 12px}body[data-redesign=true] .app-layout{display:block}body[data-redesign=true] .curriculum{top:58px}body[data-redesign=true] .studio-grid{flex-direction:column;gap:12px;padding:12px;display:flex}body[data-redesign=true] .operations-column,body[data-redesign=true] .diagram-column,body[data-redesign=true] .source-column{width:100%}body[data-redesign=true] .operations-column{order:1}body[data-redesign=true] .diagram-column{order:2}body[data-redesign=true] .source-column{order:3}body[data-redesign=true] .workspace-heading{flex-wrap:wrap;align-items:center;padding:13px 14px}body[data-redesign=true] .lesson-heading h1{font-size:21px}body[data-redesign=true] .lesson-description{font-size:13px}body[data-redesign=true] .table-status{justify-content:flex-start}body[data-redesign=true] .operations-panel form{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}body[data-redesign=true] .operation-actions{grid-column:1/-1}body[data-redesign=true] .hash-pipeline{grid-template-columns:repeat(7,minmax(0,auto));gap:4px}body[data-redesign=true] .source-code{height:330px;min-height:220px}body[data-redesign=true] .playback{padding:10px 12px calc(10px + env(safe-area-inset-bottom))}body[data-redesign=true] .playback-controls{flex-wrap:wrap;gap:8px}body[data-redesign=true] .transport{width:auto}body[data-redesign=true] .timeline-control{min-width:120px}body[data-redesign=true] .understand-section{padding:30px 12px 76px}body[data-redesign=true] .understand-heading,body[data-redesign=true] .history-controls,body[data-redesign=true] .return-theater{flex-direction:column;align-items:stretch}body[data-redesign=true] .history-controls select{max-width:none}body[data-redesign=true] .story-layout{grid-template-columns:minmax(0,1fr)}body[data-redesign=true] .story-navigation{position:static}body[data-redesign=true] .story-navigation ol{gap:4px;display:flex;overflow:auto}body[data-redesign=true] .story-nav-item{flex:none}body[data-redesign=true] .story-nav-button{min-height:42px}body[data-redesign=true] .story-moment{padding:16px}body[data-redesign=true] .story-pipeline{flex-wrap:wrap}body[data-redesign=true] .story-pipeline-stage{flex:100px;min-width:0}body[data-redesign=true] .execution-step{grid-template-columns:28px minmax(0,1fr)}body[data-redesign=true] .execution-anchor{grid-column:2}}@media (width<=500px){body[data-redesign=true] .header-actions .language-chip{display:none}body[data-redesign=true] .workspace-heading{align-items:start}body[data-redesign=true] .lesson-description{max-width:none}body[data-redesign=true] .table-status{width:100%}body[data-redesign=true] .load-badge,body[data-redesign=true] .size-badge{font-size:12px}body[data-redesign=true] .operation-actions .button{flex:1}body[data-redesign=true] .bucket-panel{padding:12px 9px}body[data-redesign=true] .bucket-array{padding:5px 3px}body[data-redesign=true] .bucket-row{gap:5px}body[data-redesign=true] .bucket-label{min-width:47px}body[data-redesign=true] .chain{gap:3px}body[data-redesign=true] .node-key,body[data-redesign=true] .node-value{padding:5px 6px}body[data-redesign=true] .story-bucket{grid-template-columns:52px minmax(0,1fr);gap:4px;padding-inline:3px}body[data-redesign=true] .story-entry{gap:4px;padding:5px;font-size:12px}body[data-redesign=true] .step-metrics{display:none}body[data-redesign=true] .transport .icon-button{width:34px}}@media (prefers-reduced-motion:reduce){body[data-redesign=true] .story-nav-button,body[data-redesign=true] .learning-tab{transition:none}}@media (width<=800px){body[data-teaching=true]{--header-height:104px}body[data-teaching=true] .app-header{flex-wrap:wrap;gap:8px;height:auto;min-height:104px;padding:8px 12px}body[data-teaching=true] #sidebar-toggle,body[data-teaching=true] .header-breadcrumb{display:none}body[data-teaching=true] .brand{flex:none;order:1;min-width:0}body[data-teaching=true] .brand-mark{width:40px;height:40px}body[data-teaching=true] .header-actions{order:2;gap:6px;margin-left:auto}body[data-teaching=true] .header-actions .button,body[data-teaching=true] .header-actions .icon-button{min-height:40px}body[data-teaching=true] .header-actions .icon-button{width:40px;height:40px}body[data-teaching=true] .lessons-menu{flex:0 0 100%;order:3}body[data-teaching=true] .lessons-menu-trigger,body[data-teaching=true] #curriculum-collapse,body[data-teaching=true] .preset-button{min-height:40px}}@media (width<=360px){body[data-teaching=true] .brand>span:last-child{display:none}}.variable-row{grid-template-columns:minmax(0,1fr) auto}.variable-row.is-target{border-color:var(--amber-line);background:var(--amber-tint)}.variable-row.is-target .variable-value{color:var(--amber)}.variable-name .variable-type{margin-left:5px}.preset-button.is-active{border-color:var(--state-active-border);background:var(--state-active-tint);color:var(--state-active-ink)}.preset-collision.is-active{border-color:var(--amber-line);background:var(--amber-tint);color:var(--amber-ink)}.rehash-pending{border:1px dashed var(--amber-line);background:var(--amber-tint);color:var(--amber);border-radius:6px;flex-wrap:wrap;align-items:center;gap:7px;margin-top:12px;padding:13px;font-size:12px;display:flex}.rehash-pending .hash-node{opacity:.75;border-color:var(--amber-line)}.old-table{border:1px dashed var(--amber-line);background:var(--amber-tint);color:var(--amber);border-radius:7px;padding:10px}.bucket-array[data-strategy=linear] .old-table{grid-column:1/-1}.old-slots{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:6px;display:grid}.old-slot{border:1px solid var(--amber-line);background:var(--surface);border-radius:5px;flex-wrap:wrap;align-items:center;gap:6px;min-width:0;padding:5px;display:flex}.old-slot.is-current{box-shadow:inset 0 0 0 1px var(--amber)}.old-slot-index{font:12px var(--mono);color:var(--muted);flex:none}.old-slot .hash-node{box-sizing:border-box;border-color:var(--amber-line);min-width:0;max-width:100%}.pending-label{flex-basis:100%;font-size:12px}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.curriculum-group{margin:5px 0}.curriculum-group summary{cursor:pointer;color:var(--ink);align-items:center;gap:8px;padding:11px 8px;font-size:12px;list-style:none;display:flex}.curriculum-group summary::-webkit-details-marker{display:none}.curriculum-group summary .icon{width:12px;height:12px;color:var(--faint);flex:none}.curriculum-group[open] summary .icon{transform:rotate(90deg)}.curriculum-group summary .family-count{margin-left:auto}.curriculum-group .curriculum-entry{align-items:start;gap:5px;padding-left:14px;font-size:12px}.curriculum-group .curriculum-entry>span:first-child{overflow-wrap:anywhere;min-width:0}.curriculum-group .planned-label{flex:none;margin-left:auto}.curriculum-group[hidden]{display:none}.curriculum-filter{border:1px solid var(--line);background:var(--surface-subtle);min-height:38px;color:var(--faint);border-radius:7px;align-items:center;gap:8px;margin:0 0 12px;padding:0 10px;display:flex}.curriculum-filter .icon{flex:none;width:15px;height:15px}.curriculum-filter input{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:0;font-size:13px}.curriculum-filter input::placeholder{color:var(--faint)}.curriculum-nav{min-height:0;overflow:auto}.curriculum-heading h2,.roadmap-label{font-size:12px}.curriculum-group summary{font-size:13px}.curriculum-group .curriculum-entry{align-items:center;font-size:12px}.family-count,.subtle-badge,.planned-label{font-size:12px}.curriculum-entry{min-height:38px}.entry-complexity{display:none}.curriculum-bottom{font-size:12px}.lessons-menu{flex:none;position:relative}.lessons-menu-trigger{white-space:nowrap;gap:8px;min-height:38px}.lessons-menu-trigger .icon{width:16px;height:16px}.lessons-menu-chevron{transition:transform .12s}#lessons-menu-toggle[aria-expanded=true] .lessons-menu-chevron{transform:rotate(90deg)}.lessons-menu-panel{z-index:80;border:1px solid var(--line);background:var(--surface);border-radius:12px;flex-direction:column;width:min(600px,100vw - 30px);max-height:min(78vh,720px);padding:16px;display:flex;position:absolute;top:calc(100% + 9px);left:0;overflow:hidden;box-shadow:0 18px 54px #00000029}.lessons-menu-panel[hidden]{display:none}.lessons-menu-heading{justify-content:space-between;align-items:baseline;gap:10px;padding-bottom:12px;display:flex}.lessons-menu-heading strong{font:700 16px var(--font-heading)}.lessons-menu-heading span{color:var(--muted);font-size:12px}.lessons-menu-search{border:1px solid var(--line);min-height:42px;color:var(--muted);background:var(--surface-subtle);border-radius:8px;align-items:center;gap:9px;padding:0 12px;display:flex}.lessons-menu-search .icon{flex:none;width:16px;height:16px}.lessons-menu-search input{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:0;font-size:14px}.lessons-menu-list{padding-top:10px;overflow:auto}.lessons-menu-chapter{border-bottom:1px solid var(--line-soft)}.lessons-menu-chapter[hidden]{display:none}.lessons-menu-chapter summary{cursor:pointer;align-items:center;gap:9px;min-height:42px;font-size:14px;font-weight:650;list-style:none;display:flex}.lessons-menu-chapter summary::-webkit-details-marker{display:none}.lessons-menu-chapter summary .icon{width:14px;height:14px;color:var(--faint);flex:none;transition:transform .12s}.lessons-menu-chapter[open] summary .icon{transform:rotate(90deg)}.lessons-menu-count{color:var(--muted);font:12px var(--font-code);margin-left:auto}.lessons-menu-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 8px;padding:0 0 9px 22px;display:grid}.lessons-menu-item{border:1px solid #0000;border-radius:6px;align-items:center;gap:8px;min-height:38px;padding:6px 8px;font-size:13px;display:flex}.lessons-menu-item:hover,.lessons-menu-item:focus-visible{border-color:var(--state-active-border);background:var(--state-active-tint);outline:none}.lessons-menu-item[aria-current=page]{color:var(--state-active-ink);font-weight:650}.lessons-menu-item[hidden]{display:none}.lessons-menu-empty{color:var(--muted);padding:16px 8px;font-size:13px}.lessons-menu-empty[hidden]{display:none}@media (width<=800px){.lessons-menu-panel{inset:var(--header-height,54px) 0 0;border-radius:0;width:100vw;max-height:none;padding:16px 18px 22px;position:fixed}.lessons-menu-items{grid-template-columns:minmax(0,1fr)}.lessons-menu-item{min-height:42px;font-size:14px}}body #workspace p,body #workspace li{font-size:max(15px,1em)!important}body #workspace small{font-size:12px!important}body .home-main p,body .home-main li{font-size:max(15px,1em)!important}body .home-hero-copy>p{font-size:17px!important}body #workspace .source-code,body #workspace pre,body #workspace code,body #workspace .line-number,body #workspace .variable-name,body #workspace .variable-value,body #workspace .variable-type,body #workspace .array-index,body #workspace .array-value,body #workspace .array-identity,body #workspace .array-meta-chip,body #workspace .stream-key,body #workspace .hash-node,body #workspace .node-key,body #workspace .node-value,body #workspace .segment-index,body #workspace .linked-chain-index,body #workspace .radix-slot-index,body #workspace .array-bit-cell,body #workspace .array-track-title,body #workspace .array-cache-map-row,body #workspace .array-maze-cell,body #workspace .array-counters,body #workspace .array-bst-cell,body #workspace .array-cache-sentinel,body #workspace .array-frame-chip,body #workspace .array-complexity strong,body #workspace .list-complexity strong,body #workspace .list-empty,body #workspace .list-counters,body #workspace .list-root-label,body #workspace .list-node-value,body #workspace .linked-chain-references,body #workspace .linked-chain-cell,body #workspace .tree-level-chip,body #workspace .electricity-candidate-order,body #workspace .electricity-candidate-route,body #workspace .electricity-candidate-weight,body #workspace .electricity-candidate-status,body #workspace .electricity-parent-building,body #workspace .electricity-parent-value,body #workspace .electricity-parent-size,body #workspace .null-node,body #workspace .radix-ellipsis,body #workspace .bucket-label,body #workspace .story-step-number,body #workspace .story-bucket-label,body #workspace .story-null,body #workspace .execution-number,body #workspace .source-example-code,body #workspace .lessons-menu-count,body .lessons-menu-count,body #workspace .size-badge strong,body #workspace .load-badge strong,body #workspace .track-heading span,body #workspace .operation-actions small,body #workspace .timeline-control span,body #workspace .source-context-title,body #workspace .language-chip,body #workspace .complexity-grid strong,body #workspace .timeline-control strong,body #workspace .story-entry strong,body #workspace .story-entry span,body #workspace .hash-result,body #workspace .bucket-result,body #workspace .radix-bits span,body #workspace .card-node text,body #workspace .wc-result-grid strong,body #workspace .wc-counters strong,body #workspace .wc-complexity strong,body #workspace option,body #workspace th,body #workspace td,body #workspace select,body #workspace textarea,body #workspace .wc-type-badge,body #workspace .wc-size-badge,body #workspace .text,body #workspace svg text:not([class]),body #workspace .list-state-chip{font-size:max(13px,1em)}html[data-theme=light] body[data-lesson-id=functional-list] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=computer-virus] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=electricity] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg){--viz-font-code:"JetBrains Mono", ui-monospace, monospace;--font-code:var(--viz-font-code);--viz-font-ui:"Figtree", "Segoe UI", sans-serif;--font-ui:var(--viz-font-ui);--viz-font-heading:"Manrope", "Figtree", sans-serif;--font-heading:var(--viz-font-heading);font-family:Figtree,Segoe UI,sans-serif}html[data-theme=light] body[data-lesson-id=functional-list] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=computer-virus] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=electricity] :where(.heap-motion-ghost){--font-code:"JetBrains Mono", ui-monospace, monospace;--font-ui:"Figtree", "Segoe UI", sans-serif;--font-heading:"Manrope", "Figtree", sans-serif}html[data-theme=light] body[data-lesson-id=circular-linked-list] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=linked-chain] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg){--viz-font-code:"JetBrains Mono", ui-monospace, monospace;--font-code:var(--viz-font-code);--viz-font-ui:"Figtree", "Segoe UI", sans-serif;--font-ui:var(--viz-font-ui);--viz-font-heading:"Manrope", "Figtree", sans-serif;--font-heading:var(--viz-font-heading);font-family:Figtree,Segoe UI,sans-serif}html[data-theme=light] body[data-lesson-id=circular-linked-list] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=linked-chain] :where(.heap-motion-ghost){--font-code:"JetBrains Mono", ui-monospace, monospace;--font-ui:"Figtree", "Segoe UI", sans-serif;--font-heading:"Manrope", "Figtree", sans-serif}html[data-theme=light] body[data-lesson-id=segmented-list] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg){--viz-font-code:"JetBrains Mono", ui-monospace, monospace;--font-code:var(--viz-font-code);--viz-font-ui:"Figtree", "Segoe UI", sans-serif;--font-ui:var(--viz-font-ui);--viz-font-heading:"Manrope", "Figtree", sans-serif;--font-heading:var(--viz-font-heading);font-family:Figtree,Segoe UI,sans-serif}html[data-theme=light] body[data-lesson-id=segmented-list] :where(.heap-motion-ghost){--font-code:"JetBrains Mono", ui-monospace, monospace;--font-ui:"Figtree", "Segoe UI", sans-serif;--font-heading:"Manrope", "Figtree", sans-serif}html[data-theme=light] body[data-lesson-id=stack] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=card-sorter] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=safe-points] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=team-photo] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=training-sessions] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=array-bst-delete] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=bst-iterator] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=red-black-converter] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=huffman] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=evacuation] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=task-scheduler] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=word-transformation] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=file-system] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg){--viz-font-code:"JetBrains Mono", ui-monospace, monospace;--font-code:var(--viz-font-code);--viz-font-ui:"Figtree", "Segoe UI", sans-serif;--font-ui:var(--viz-font-ui);--viz-font-heading:"Manrope", "Figtree", sans-serif;--font-heading:var(--viz-font-heading);font-family:Figtree,sans-serif}html[data-theme=light] body[data-lesson-id=stack] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=card-sorter] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=safe-points] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=team-photo] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=training-sessions] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=array-bst-delete] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=bst-iterator] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=red-black-converter] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=huffman] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=evacuation] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=task-scheduler] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=word-transformation] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=file-system] :where(.heap-motion-ghost){--font-code:"JetBrains Mono", ui-monospace, monospace;--font-ui:"Figtree", "Segoe UI", sans-serif;--font-heading:"Manrope", "Figtree", sans-serif}html[data-theme=dark] body[data-lesson-id=functional-list] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=computer-virus] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=electricity] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg){--viz-font-code:"JetBrains Mono", ui-monospace, monospace;--font-code:var(--viz-font-code);--viz-font-ui:"Figtree", "Segoe UI", sans-serif;--font-ui:var(--viz-font-ui);--viz-font-heading:"Manrope", "Figtree", sans-serif;--font-heading:var(--viz-font-heading);font-family:Figtree,Segoe UI,sans-serif}html[data-theme=dark] body[data-lesson-id=functional-list] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=computer-virus] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=electricity] :where(.heap-motion-ghost){--font-code:"JetBrains Mono", ui-monospace, monospace;--font-ui:"Figtree", "Segoe UI", sans-serif;--font-heading:"Manrope", "Figtree", sans-serif}html[data-theme=dark] body[data-lesson-id=segmented-list] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg){--viz-font-code:"JetBrains Mono", ui-monospace, monospace;--font-code:var(--viz-font-code);--viz-font-ui:"Figtree", "Segoe UI", sans-serif;--font-ui:var(--viz-font-ui);--viz-font-heading:"Manrope", "Figtree", sans-serif;--font-heading:var(--viz-font-heading);font-family:Figtree,Segoe UI,sans-serif}html[data-theme=dark] body[data-lesson-id=segmented-list] :where(.heap-motion-ghost){--font-code:"JetBrains Mono", ui-monospace, monospace;--font-ui:"Figtree", "Segoe UI", sans-serif;--font-heading:"Manrope", "Figtree", sans-serif}html[data-theme=dark] body[data-lesson-id=stack] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=card-sorter] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=safe-points] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=team-photo] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=training-sessions] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=array-bst-delete] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=bst-iterator] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=red-black-converter] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=huffman] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=evacuation] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=task-scheduler] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=word-transformation] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=file-system] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg){--viz-font-code:"JetBrains Mono", ui-monospace, monospace;--font-code:var(--viz-font-code);--viz-font-ui:"Figtree", "Segoe UI", sans-serif;--font-ui:var(--viz-font-ui);--viz-font-heading:"Manrope", "Figtree", sans-serif;--font-heading:var(--viz-font-heading);font-family:Figtree,sans-serif}html[data-theme=dark] body[data-lesson-id=stack] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=card-sorter] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=safe-points] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=team-photo] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=training-sessions] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=array-bst-delete] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=bst-iterator] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=red-black-converter] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=huffman] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=evacuation] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=task-scheduler] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=word-transformation] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=file-system] :where(.heap-motion-ghost){--font-code:"JetBrains Mono", ui-monospace, monospace;--font-ui:"Figtree", "Segoe UI", sans-serif;--font-heading:"Manrope", "Figtree", sans-serif}html[data-theme=light] body[data-lesson-id=stack-two-queues] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=fix-quicksort] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=merge-sort] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=bst-ceiling] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=birthday-map] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=skyline] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=trie-autocomplete] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=binary-heap] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=island-connectivity] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=connected-components] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=directed-graph] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=island-shortest-path] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=trains] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=drone-contest] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg){--viz-font-code:"JetBrains Mono", ui-monospace, monospace;--font-code:var(--viz-font-code);--viz-font-ui:"Figtree", "Segoe UI", sans-serif;--font-ui:var(--viz-font-ui);--viz-font-heading:"Manrope", "Figtree", sans-serif;--font-heading:var(--viz-font-heading);font-family:Figtree,sans-serif}html[data-theme=light] body[data-lesson-id=stack-two-queues] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=fix-quicksort] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=merge-sort] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=bst-ceiling] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=birthday-map] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=skyline] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=trie-autocomplete] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=binary-heap] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=island-connectivity] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=connected-components] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=directed-graph] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=island-shortest-path] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=trains] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=drone-contest] :where(.heap-motion-ghost){--font-code:"JetBrains Mono", ui-monospace, monospace;--font-ui:"Figtree", "Segoe UI", sans-serif;--font-heading:"Manrope", "Figtree", sans-serif}html[data-theme=light] body[data-lesson-id=aggregate] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=linked-merge-sort] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=array-bst] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=lru-cache] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=monkeys] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=rabin-karp] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=median-heap] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=min-max-heap] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=ternary-heap] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=contact-bubbles] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=depth-first-paths] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=galaxy-path] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=mine-climbing] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=wildfire] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg){--viz-font-code:"JetBrains Mono", ui-monospace, monospace;--font-code:var(--viz-font-code);--viz-font-ui:"Figtree", "Segoe UI", sans-serif;--font-ui:var(--viz-font-ui);--viz-font-heading:"Manrope", "Figtree", sans-serif;--font-heading:var(--viz-font-heading);font-family:Figtree,sans-serif}html[data-theme=light] body[data-lesson-id=aggregate] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=linked-merge-sort] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=array-bst] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=lru-cache] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=monkeys] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=rabin-karp] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=median-heap] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=min-max-heap] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=ternary-heap] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=contact-bubbles] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=depth-first-paths] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=galaxy-path] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=mine-climbing] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=wildfire] :where(.heap-motion-ghost){--font-code:"JetBrains Mono", ui-monospace, monospace;--font-ui:"Figtree", "Segoe UI", sans-serif;--font-heading:"Manrope", "Figtree", sans-serif}html[data-theme=dark] body[data-lesson-id=circular-linked-list] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=linked-chain] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg){--viz-font-code:"JetBrains Mono", ui-monospace, monospace;--font-code:var(--viz-font-code);--viz-font-ui:"Figtree", "Segoe UI", sans-serif;--font-ui:var(--viz-font-ui);--viz-font-heading:"Manrope", "Figtree", sans-serif;--font-heading:var(--viz-font-heading);font-family:Figtree,Segoe UI,sans-serif}html[data-theme=dark] body[data-lesson-id=circular-linked-list] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=linked-chain] :where(.heap-motion-ghost){--font-code:"JetBrains Mono", ui-monospace, monospace;--font-ui:"Figtree", "Segoe UI", sans-serif;--font-heading:"Manrope", "Figtree", sans-serif}html[data-theme=dark] body[data-lesson-id=stack-two-queues] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=fix-quicksort] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=merge-sort] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=bst-ceiling] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=birthday-map] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=skyline] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=trie-autocomplete] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=binary-heap] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=island-connectivity] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=connected-components] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=directed-graph] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=island-shortest-path] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=trains] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=drone-contest] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg){--viz-font-code:"JetBrains Mono", ui-monospace, monospace;--font-code:var(--viz-font-code);--viz-font-ui:"Figtree", "Segoe UI", sans-serif;--font-ui:var(--viz-font-ui);--viz-font-heading:"Manrope", "Figtree", sans-serif;--font-heading:var(--viz-font-heading);font-family:Figtree,sans-serif}html[data-theme=dark] body[data-lesson-id=stack-two-queues] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=fix-quicksort] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=merge-sort] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=bst-ceiling] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=birthday-map] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=skyline] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=trie-autocomplete] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=binary-heap] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=island-connectivity] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=connected-components] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=directed-graph] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=island-shortest-path] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=trains] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=drone-contest] :where(.heap-motion-ghost){--font-code:"JetBrains Mono", ui-monospace, monospace;--font-ui:"Figtree", "Segoe UI", sans-serif;--font-heading:"Manrope", "Figtree", sans-serif}html[data-theme=dark] body[data-lesson-id=aggregate] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=linked-merge-sort] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=array-bst] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=lru-cache] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=monkeys] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=rabin-karp] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=median-heap] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=min-max-heap] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=ternary-heap] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=contact-bubbles] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=depth-first-paths] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=galaxy-path] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=mine-climbing] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=wildfire] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg){--viz-font-code:"JetBrains Mono", ui-monospace, monospace;--font-code:var(--viz-font-code);--viz-font-ui:"Figtree", "Segoe UI", sans-serif;--font-ui:var(--viz-font-ui);--viz-font-heading:"Manrope", "Figtree", sans-serif;--font-heading:var(--viz-font-heading);font-family:Figtree,sans-serif}html[data-theme=dark] body[data-lesson-id=aggregate] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=linked-merge-sort] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=array-bst] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=lru-cache] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=monkeys] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=rabin-karp] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=median-heap] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=min-max-heap] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=ternary-heap] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=contact-bubbles] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=depth-first-paths] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=galaxy-path] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=mine-climbing] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=wildfire] :where(.heap-motion-ghost){--font-code:"JetBrains Mono", ui-monospace, monospace;--font-ui:"Figtree", "Segoe UI", sans-serif;--font-heading:"Manrope", "Figtree", sans-serif}html[data-theme=light] body[data-lesson-id=median-selection] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=radix-sort] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=interval-union] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=bst-higher-key] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=preorder-to-bst] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=bitset] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=incremental-hash] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=linked-min-heap] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=multi-source-bfs] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=maze] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=light] body[data-lesson-id=closest-pair] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg){--viz-font-code:"JetBrains Mono", ui-monospace, monospace;--font-code:var(--viz-font-code);--viz-font-ui:"Figtree", "Segoe UI", sans-serif;--font-ui:var(--viz-font-ui);--viz-font-heading:"Manrope", "Figtree", sans-serif;--font-heading:var(--viz-font-heading);font-family:Figtree,sans-serif}html[data-theme=light] body[data-lesson-id=median-selection] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=radix-sort] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=interval-union] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=bst-higher-key] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=preorder-to-bst] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=bitset] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=incremental-hash] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=linked-min-heap] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=multi-source-bfs] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=maze] :where(.heap-motion-ghost),html[data-theme=light] body[data-lesson-id=closest-pair] :where(.heap-motion-ghost){--font-code:"JetBrains Mono", ui-monospace, monospace;--font-ui:"Figtree", "Segoe UI", sans-serif;--font-heading:"Manrope", "Figtree", sans-serif}html[data-theme=dark] body[data-lesson-id=median-selection] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=radix-sort] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=interval-union] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=bst-higher-key] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=preorder-to-bst] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=bitset] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=incremental-hash] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=linked-min-heap] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=multi-source-bfs] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=maze] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg),html[data-theme=dark] body[data-lesson-id=closest-pair] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg){--viz-font-code:"JetBrains Mono", ui-monospace, monospace;--font-code:var(--viz-font-code);--viz-font-ui:"Figtree", "Segoe UI", sans-serif;--font-ui:var(--viz-font-ui);--viz-font-heading:"Manrope", "Figtree", sans-serif;--font-heading:var(--viz-font-heading);font-family:Figtree,sans-serif}html[data-theme=dark] body[data-lesson-id=median-selection] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=radix-sort] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=interval-union] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=bst-higher-key] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=preorder-to-bst] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=bitset] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=incremental-hash] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=linked-min-heap] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=multi-source-bfs] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=maze] :where(.heap-motion-ghost),html[data-theme=dark] body[data-lesson-id=closest-pair] :where(.heap-motion-ghost){--font-code:"JetBrains Mono", ui-monospace, monospace;--font-ui:"Figtree", "Segoe UI", sans-serif;--font-heading:"Manrope", "Figtree", sans-serif}html[data-theme=light] body[data-lesson-id=linear-probing] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg){--viz-font-code:"JetBrains Mono", ui-monospace, monospace;--font-code:var(--viz-font-code);--viz-font-ui:"Figtree", "Segoe UI", sans-serif;--font-ui:var(--viz-font-ui);--viz-font-heading:"Manrope", "Figtree", sans-serif;--font-heading:var(--viz-font-heading);font-family:Figtree,Segoe UI,sans-serif}html[data-theme=light] body[data-lesson-id=linear-probing] :where(.heap-motion-ghost){--font-code:"JetBrains Mono", ui-monospace, monospace;--font-ui:"Figtree", "Segoe UI", sans-serif;--font-heading:"Manrope", "Figtree", sans-serif}html[data-theme=dark] body[data-lesson-id=linear-probing] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg){--viz-font-code:"JetBrains Mono", ui-monospace, monospace;--font-code:var(--viz-font-code);--viz-font-ui:"Figtree", "Segoe UI", sans-serif;--font-ui:var(--viz-font-ui);--viz-font-heading:"Manrope", "Figtree", sans-serif;--font-heading:var(--viz-font-heading);font-family:Figtree,Segoe UI,sans-serif}html[data-theme=dark] body[data-lesson-id=linear-probing] :where(.heap-motion-ghost){--font-code:"JetBrains Mono", ui-monospace, monospace;--font-ui:"Figtree", "Segoe UI", sans-serif;--font-heading:"Manrope", "Figtree", sans-serif}html[data-theme=light] body[data-lesson-id=word-counter] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg){--viz-font-code:"JetBrains Mono", ui-monospace, monospace;--font-code:var(--viz-font-code);--viz-font-ui:"Figtree", "Segoe UI", sans-serif;--font-ui:var(--viz-font-ui);--viz-font-heading:"Manrope", "Figtree", sans-serif;--font-heading:var(--viz-font-heading);font-family:Figtree,Segoe UI,sans-serif}html[data-theme=light] body[data-lesson-id=word-counter] :where(.heap-motion-ghost){--font-code:"JetBrains Mono", ui-monospace, monospace;--font-ui:"Figtree", "Segoe UI", sans-serif;--font-heading:"Manrope", "Figtree", sans-serif}html[data-theme=dark] body[data-lesson-id=word-counter] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg){--viz-font-code:"JetBrains Mono", ui-monospace, monospace;--font-code:var(--viz-font-code);--viz-font-ui:"Figtree", "Segoe UI", sans-serif;--font-ui:var(--viz-font-ui);--viz-font-heading:"Manrope", "Figtree", sans-serif;--font-heading:var(--viz-font-heading);font-family:Figtree,Segoe UI,sans-serif}html[data-theme=dark] body[data-lesson-id=word-counter] :where(.heap-motion-ghost){--font-code:"JetBrains Mono", ui-monospace, monospace;--font-ui:"Figtree", "Segoe UI", sans-serif;--font-heading:"Manrope", "Figtree", sans-serif}html[data-theme=light] body[data-lesson-id=library-store] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg){--viz-font-code:"JetBrains Mono", ui-monospace, monospace;--font-code:var(--viz-font-code);--viz-font-ui:"Figtree", "Segoe UI", sans-serif;--font-ui:var(--viz-font-ui);--viz-font-heading:"Manrope", "Figtree", sans-serif;--font-heading:var(--viz-font-heading);font-family:Figtree,Segoe UI,sans-serif}html[data-theme=light] body[data-lesson-id=library-store] :where(.heap-motion-ghost){--font-code:"JetBrains Mono", ui-monospace, monospace;--font-ui:"Figtree", "Segoe UI", sans-serif;--font-heading:"Manrope", "Figtree", sans-serif}html[data-theme=dark] body[data-lesson-id=library-store] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg){--viz-font-code:"JetBrains Mono", ui-monospace, monospace;--font-code:var(--viz-font-code);--viz-font-ui:"Figtree", "Segoe UI", sans-serif;--font-ui:var(--viz-font-ui);--viz-font-heading:"Manrope", "Figtree", sans-serif;--font-heading:var(--viz-font-heading);font-family:Figtree,Segoe UI,sans-serif}html[data-theme=dark] body[data-lesson-id=library-store] :where(.heap-motion-ghost){--font-code:"JetBrains Mono", ui-monospace, monospace;--font-ui:"Figtree", "Segoe UI", sans-serif;--font-heading:"Manrope", "Figtree", sans-serif}html[data-theme=light] body[data-lesson-id=separate-chaining] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg){--viz-font-code:"JetBrains Mono", ui-monospace, monospace;--font-code:var(--viz-font-code);--viz-font-ui:"Figtree", "Segoe UI", sans-serif;--font-ui:var(--viz-font-ui);--viz-font-heading:"Manrope", "Figtree", sans-serif;--font-heading:var(--viz-font-heading);font-family:Figtree,Segoe UI,sans-serif}html[data-theme=light] body[data-lesson-id=separate-chaining] :where(.heap-motion-ghost){--font-code:"JetBrains Mono", ui-monospace, monospace;--font-ui:"Figtree", "Segoe UI", sans-serif;--font-heading:"Manrope", "Figtree", sans-serif}html[data-theme=light] body[data-lesson-id=erdos] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg){--viz-font-code:"JetBrains Mono", ui-monospace, monospace;--font-code:var(--viz-font-code);--viz-font-ui:"Figtree", "Segoe UI", sans-serif;--font-ui:var(--viz-font-ui);--viz-font-heading:"Manrope", "Figtree", sans-serif;--font-heading:var(--viz-font-heading);font-family:Figtree,Segoe UI,sans-serif}html[data-theme=light] body[data-lesson-id=erdos] :where(.heap-motion-ghost){--font-code:"JetBrains Mono", ui-monospace, monospace;--font-ui:"Figtree", "Segoe UI", sans-serif;--font-heading:"Manrope", "Figtree", sans-serif}html[data-theme=dark] body[data-lesson-id=separate-chaining] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg){--viz-font-code:"JetBrains Mono", ui-monospace, monospace;--font-code:var(--viz-font-code);--viz-font-ui:"Figtree", "Segoe UI", sans-serif;--font-ui:var(--viz-font-ui);--viz-font-heading:"Manrope", "Figtree", sans-serif;--font-heading:var(--viz-font-heading);font-family:Figtree,Segoe UI,sans-serif}html[data-theme=dark] body[data-lesson-id=separate-chaining] :where(.heap-motion-ghost){--font-code:"JetBrains Mono", ui-monospace, monospace;--font-ui:"Figtree", "Segoe UI", sans-serif;--font-heading:"Manrope", "Figtree", sans-serif}html[data-theme=dark] body[data-lesson-id=erdos] :where(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-render-surface,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg){--viz-font-code:"JetBrains Mono", ui-monospace, monospace;--font-code:var(--viz-font-code);--viz-font-ui:"Figtree", "Segoe UI", sans-serif;--font-ui:var(--viz-font-ui);--viz-font-heading:"Manrope", "Figtree", sans-serif;--font-heading:var(--viz-font-heading);font-family:Figtree,Segoe UI,sans-serif}html[data-theme=dark] body[data-lesson-id=erdos] :where(.heap-motion-ghost){--font-code:"JetBrains Mono", ui-monospace, monospace;--font-ui:"Figtree", "Segoe UI", sans-serif;--font-heading:"Manrope", "Figtree", sans-serif}html body .source-panel{flex-direction:column;display:flex}html body[data-teaching=true] .source-panel>.panel-heading{order:0;margin-bottom:8px;padding-bottom:0}html body .source-panel>.source-code{order:1;min-width:0;max-width:100%}html body .source-panel>.source-context{order:2;margin:8px 0}html body .source-panel>.source-footnote{order:3}html body .source-panel>.source-guide{order:4;margin:12px 0 0}html body .source-example-code{white-space:pre-wrap;overflow-wrap:anywhere;box-sizing:border-box;min-width:0;max-width:100%}:root{--viz-page:#fff;--viz-panel:#fff;--viz-node:#f5f5f5;--viz-hover:#eee;--viz-border:#191919;--viz-ink:#151515;--viz-muted:#555;--viz-edge:#777;--viz-on-active:#fff;--viz-active:#df2038;--viz-active-ink:#ba152b;--viz-active-hover:#bc142b;--viz-active-tint:#ffe2e6;--viz-changed:#0a84ff;--viz-changed-ink:#0064c5;--viz-changed-tint:#d3e9ff;--viz-success:#2cbb5d;--viz-success-ink:#177739;--viz-success-tint:#d9f3e2;--viz-warning:#ffb800;--viz-warning-ink:#795500;--viz-warning-tint:#f3f4f6;--viz-error:#ff375f;--viz-error-ink:#bb1638;--viz-error-tint:#ffdbe2;--viz-focus:#ba152b;--viz-control-border:#191919;--viz-code-bg:#fff;--viz-code-ink:#262626;--viz-code-muted:#595959;--viz-code-keyword:#8b258c;--viz-code-string:#806000;--viz-code-number:#6d319b;--viz-code-light-bg:#fff;--viz-code-light-ink:#262626;--viz-code-light-muted:#595959;--viz-code-dark-bg:#1e1e1e;--viz-code-dark-ink:#eff1f6;--viz-code-dark-muted:#b0b6bc;--viz-code-light-keyword:#8b258c;--viz-code-light-string:#806000;--viz-code-light-number:#6d319b;--viz-code-dark-keyword:#d4a5dc;--viz-code-dark-string:#dfb28c;--viz-code-dark-number:#cbb5e9;--viz-code-light-active:#ffe2e6;--viz-code-dark-active:#481e24;--viz-inverse:#fff}@media (width>=801px){html body[data-teaching=true][data-reference-open=true] :is(.list-grid,.wc-grid){grid-template-columns:minmax(230px,.65fr) minmax(0,1.8fr)}html body[data-teaching=true][data-reference-open=true] .list-input-panel{grid-area:1/1}html body[data-teaching=true][data-reference-open=true] .list-source-column{grid-area:2/1;display:block}html body[data-teaching=true][data-reference-open=true] .list-visual-column{grid-area:1/2/span 2}html body[data-teaching=true][data-reference-open=true] .wc-source-column{grid-area:2/1/auto/-1;display:block}html body[data-redesign=true][data-reference-open=true] .studio-grid{grid-template-columns:minmax(0,1fr) clamp(310px,20vw,360px)}html body[data-redesign=true][data-reference-open=true] .source-column{contain:size;grid-area:1/2/span 2;align-self:stretch;min-height:0;overflow:auto}html body[data-sort-teacher][data-reference-open=true] .array-grid{padding:0 20px}}html[data-theme=dark]{--viz-control-border:#858585;--viz-page:#1a1a1a;--viz-panel:#282828;--viz-node:#333;--viz-hover:#333;--viz-border:#858585;--viz-ink:#eff1f6;--viz-muted:#b0b6bc;--viz-edge:#9aa0a6;--viz-active-ink:#ff8796;--viz-active-tint:#50262c;--viz-changed-ink:#6cb6ff;--viz-changed-tint:#23394f;--viz-success-ink:#54d17d;--viz-success-tint:#294232;--viz-warning-ink:#ffb800;--viz-warning-tint:#4f4221;--viz-error-ink:#ff7c96;--viz-error-tint:#4f2b32;--viz-focus:#ff8796;--viz-code-bg:#1e1e1e;--viz-code-ink:#eff1f6;--viz-code-muted:#b0b6bc;--viz-code-keyword:#d4a5dc;--viz-code-string:#dfb28c;--viz-code-number:#cbb5e9}html body .source-panel .panel-heading{flex-wrap:wrap;gap:8px}html body .source-panel .code-controls{order:1;gap:4px;margin-left:auto;display:inline-flex}html body .source-panel .code-controls .icon-button{width:40px;min-width:40px;height:40px;min-height:40px;color:var(--shell-text);background:var(--shell-panel);border-color:var(--shell-control-border);border-radius:0}html body #java-toggle{min-height:40px}html body :is(#java-toggle,.source-panel .icon-button,.pilot-controls button):hover{background:var(--shell-hover);color:var(--shell-text)}html body :is(#java-toggle,.source-panel .icon-button,.pilot-controls button):focus-visible{outline:3px solid var(--shell-focus);outline-offset:3px}@media (width<=600px){html body :is(#java-toggle,#circular-java,#word-java-toggle,.source-panel .icon-button,.pilot-controls .button,.pilot-tabs button){min-width:44px;height:44px;min-height:44px;max-height:none}html body .story-pilot .pilot-stage{grid-template-rows:44px minmax(0,1fr) auto}html body .story-pilot .pilot-controls{grid-template-rows:14px 44px;grid-template-columns:repeat(5,minmax(44px,1fr));row-gap:2px;display:grid}html body .story-pilot .pilot-controls .pilot-count{grid-area:1/1/auto/-1;line-height:14px}html body .story-pilot .pilot-controls .button{grid-row:2;width:100%}}:root{--shell-page:var(--viz-page);--shell-panel:var(--viz-panel);--shell-subtle:var(--viz-node);--shell-hover:var(--viz-hover);--shell-border:var(--viz-border);--shell-text:var(--viz-ink);--shell-muted:var(--viz-muted);--shell-accent:var(--viz-active);--shell-accent-hover:var(--viz-active-hover);--shell-accent-ink:var(--viz-active-ink);--shell-accent-tint:var(--viz-active-tint);--shell-focus:var(--viz-focus);--shell-easy:var(--viz-success-ink);--shell-medium:var(--viz-warning-ink);--shell-hard:var(--viz-error-ink);--shell-easy-tint:var(--viz-success-tint);--shell-medium-tint:var(--viz-warning-tint);--shell-hard-tint:var(--viz-error-tint);--shell-code:var(--viz-code-bg);--shell-code-ink:var(--viz-code-ink);--shell-code-muted:var(--viz-code-muted);--shell-font:-apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--shell-control-border:var(--viz-control-border)}html[data-theme=dark]{--shell-page:var(--viz-page);--shell-panel:var(--viz-panel);--shell-subtle:var(--viz-node);--shell-hover:var(--viz-hover);--shell-border:var(--viz-border);--shell-text:var(--viz-ink);--shell-muted:var(--viz-muted);--shell-accent-ink:var(--viz-active-ink);--shell-accent-tint:var(--viz-active-tint);--shell-focus:var(--viz-focus);--shell-easy:var(--viz-success-ink);--shell-medium:var(--viz-warning-ink);--shell-hard:var(--viz-error-ink);--shell-easy-tint:var(--viz-success-tint);--shell-medium-tint:var(--viz-warning-tint);--shell-hard-tint:var(--viz-error-tint);--shell-code:var(--viz-code-bg);--shell-code-ink:var(--viz-code-ink);--shell-code-muted:var(--viz-code-muted);--shell-control-border:var(--viz-control-border)}html:is([data-theme],html) body:is([data-lesson-id],.home-page,.chapter-page,body){--canvas:var(--viz-page);--surface:var(--viz-panel);--surface-subtle:var(--viz-node);--surface-hover:var(--viz-hover);--ink:var(--viz-ink);--muted:var(--viz-muted);--faint:var(--viz-muted);--line:var(--viz-border);--line-soft:var(--viz-border);--state-active:var(--viz-active);--state-active-ink:var(--viz-active-ink);--state-active-tint:var(--viz-active-tint);--state-active-border:var(--viz-active);--state-success:var(--viz-success);--amber:var(--viz-warning-ink);--amber-bright:var(--viz-warning);--amber-tint:var(--viz-warning-tint);--amber-line:var(--viz-warning);--amber-ink:var(--viz-warning-ink);--font-ui:var(--shell-font);--font-heading:var(--shell-font);--code-bg:var(--viz-code-bg);--code-ink:var(--viz-code-ink);--code-muted:var(--viz-code-muted);--text:var(--shell-text);--text-muted:var(--shell-muted);background:var(--shell-page);color:var(--shell-text);font-family:var(--shell-font)}html body :is(h1,h2,h3,h4,button,input,select,textarea):not(:where(#array-diagram *,#list-diagram *,#bucket-array *,#word-map *,.pilot-diagram *,.pilot-zoom-content *,.diagram-zoom-dialog>svg *)){font-family:var(--shell-font)}@scope(body) to (:is(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg,.heap-motion-ghost)){:scope:is(body) :is(.app-header,.curriculum,.lessons-menu-panel){background:var(--shell-panel);border-color:var(--shell-border);color:var(--shell-text)}:scope:is(body) .brand-mark{background:var(--shell-accent);color:var(--viz-on-active);border-radius:8px}:scope:is(body) :is(.brand-subtitle,.header-breadcrumb,.header-breadcrumb .slash,.curriculum-heading,.chapter-count,.lesson-complexity){color:var(--shell-muted)}:scope:is(body) :is(.lesson-link,.lessons-menu-item)[aria-current=page],:scope:is(body) :is(.lesson-link,.lessons-menu-item).active{color:var(--shell-accent-ink);background:var(--shell-accent-tint);border-color:var(--shell-accent)}:scope:is(body) :is(.lesson-link,.lessons-menu-item):hover{background:var(--shell-hover)}:scope:is(body) :is(.button,.icon-button,.lessons-menu-trigger),:scope:is(body) #workspace :is(.button,.icon-button),:scope:is(body) :is(input,select,textarea){background:var(--shell-subtle);border-color:var(--shell-control-border);color:var(--shell-text);border-radius:8px}:scope:is(body) :is(input,textarea)::placeholder{color:var(--shell-muted);opacity:1}:scope:is(body) :is(.button,.icon-button):hover{background:var(--shell-hover)}:scope:is(body) .button-primary,:scope:is(body) #workspace :is(.button-primary,.play-button),:scope:is(body) .skip-link{background:var(--shell-accent);border-color:var(--shell-accent-ink);color:var(--viz-on-active)}:scope:is(body) .button-primary:hover,:scope:is(body) #workspace :is(.button-primary,.play-button):hover{background:var(--shell-accent-hover);color:var(--viz-on-active)}:scope:is(body) :is(.button-primary,.play-button) .icon{color:var(--viz-on-active)}:scope:is(body) :focus-visible{outline:3px solid var(--shell-focus);outline-offset:2px}:scope:is(body) :is(input[type=range],input[type=checkbox]){accent-color:var(--shell-focus)}:scope:is(body) :is([role=tab][aria-selected=true],.learning-tab.active,.operation-button.active),:scope:is(body) #workspace [role=tab][aria-selected=true]{color:var(--shell-accent-ink);background:var(--shell-accent-tint);border-color:var(--shell-accent-ink);box-shadow:inset 0 -2px var(--shell-accent)}:scope:is(body) .diff-chip[data-diff=Easy]{color:var(--shell-easy);background:var(--shell-easy-tint)}:scope:is(body) .diff-chip[data-diff=Medium]{color:var(--shell-medium);background:var(--shell-medium-tint)}:scope:is(body) .diff-chip[data-diff=Hard]{color:var(--shell-hard);background:var(--shell-hard-tint)}:scope:is(body) :is(.panel,.wc-panel,.pilot-stage,.pilot-step){background:var(--shell-panel);color:var(--shell-text);border-color:var(--shell-border)}:scope:is(body) .pilot-step[data-active=true],:scope:is(body) .exercise-scenes button[aria-pressed=true]{background:var(--shell-accent-tint);border-color:var(--shell-accent-ink);color:var(--shell-text)}:scope:is(body) :is(.pilot-changed,.pilot-cell-index,.pilot-source-label){color:var(--shell-muted)}:scope:is(body) .pilot-memory-cell[data-changed=true]{background:var(--shell-accent-tint);border-color:var(--shell-accent-ink)}:scope:is(body) .pilot-changed,:scope:is(body) :is(.eyebrow,.home-eyebrow,.home-progress span,#progress-count,.text-button){color:var(--shell-accent-ink)}:scope:is(body) :is(.source-code,.pilot-code,.pilot-full-listing){background:var(--shell-code);color:var(--shell-code-ink)}:scope:is(body) :is(.line-number,.pilot-line-number){color:var(--shell-code-muted)}:scope:is(body) .source-guide-heading{font-family:var(--shell-font)}:scope:is(body) :is(.code-line.is-active,.pilot-code-line.is-active,.pilot-full-line.is-active){background:var(--shell-accent-tint);color:var(--shell-text);box-shadow:inset 3px 0 var(--shell-accent);border-color:var(--shell-accent)}:scope:is(body) .pilot-gutter [aria-current=step]{background:var(--shell-accent);color:var(--viz-on-active)}:scope:is(body) :is(.pilot-code-sheet,.pilot-zoom-sheet,.diagram-zoom-dialog){background:var(--shell-panel);color:var(--shell-text);border-color:var(--shell-border)}:scope:is(body) .source-code[data-code-theme=light]{--code-bg:var(--viz-code-light-bg);--code-ink:var(--viz-code-light-ink);--code-muted:var(--viz-code-light-muted);--shell-code-muted:var(--viz-code-light-muted);--shell-code-active:var(--viz-code-light-active);--shell-code-active-ink:var(--viz-code-light-ink);background:var(--viz-code-light-bg);color:var(--viz-code-light-ink)}:scope:is(body) .source-code:is([data-code-theme=dark],:not([data-code-theme])){--code-bg:var(--viz-code-dark-bg);--code-ink:var(--viz-code-dark-ink);--code-muted:var(--viz-code-dark-muted);--shell-code-muted:var(--viz-code-dark-muted);--shell-code-active:var(--viz-code-dark-active);--shell-code-active-ink:var(--viz-code-dark-ink);background:var(--viz-code-dark-bg);color:var(--viz-code-dark-ink)}:scope:is(body) .source-code{--shell-keyword:var(--viz-code-light-keyword);--shell-string:var(--viz-code-light-string);--shell-number:var(--viz-code-light-number)}:scope:is(body) .source-code:is([data-code-theme=dark],:not([data-code-theme])){--shell-keyword:var(--viz-code-dark-keyword);--shell-string:var(--viz-code-dark-string);--shell-number:var(--viz-code-dark-number)}:scope:is(body) .source-code .code-line.is-active{background:var(--shell-code-active,var(--shell-accent-tint));color:var(--shell-code-active-ink,var(--shell-text))}:scope:is(body) .source-code .code-line.is-active .line-number{color:var(--shell-code-active-ink,var(--shell-text))}:scope:is(body) .source-code .token-keyword{color:var(--shell-keyword)}:scope:is(body) .source-code .token-string{color:var(--shell-string)}:scope:is(body) .source-code .token-number{color:var(--shell-number)}:scope:is(body) .source-code .token-comment{color:var(--code-muted)}:scope:is(body) :is(.home-hero-preview,.home-chapter-card,.home-theater-card,.chapter-hero,.algorithm-card,.lesson-card,.chapter-self-check,.chapter-nav-btn,.invariants,.quiz-card){color:var(--shell-text);background:var(--shell-panel);border-color:var(--shell-border)}:scope:is(body) :is(.chapter-title,.invariants-title,.algorithm-name,.lesson-card-title,.quiz-question,.chapter-nav-btn,h1,h2,h3){color:var(--shell-text)}:scope:is(body) :is(.chapter-basics,.algorithm-why,.invariants-list,.chapter-invariants li,.lesson-card span,.quiz-card p){color:var(--shell-muted)}:scope:is(body) :is(.chapter-badge,.complexity-tag){background:var(--shell-accent-tint);color:var(--shell-accent-ink)}:scope:is(body) :is(.quiz-opt-btn,.path-filter){background:var(--shell-subtle);border-color:var(--shell-control-border);color:var(--shell-text)}:scope:is(body) :is(.path-filter.active,.quiz-opt-btn.selected){background:var(--shell-accent-tint);color:var(--shell-accent-ink);border-color:var(--shell-accent-ink)}:scope:is(body) :is(.home-continue,.chapter-nav-btn:hover){color:var(--shell-accent-ink)}:scope:is(body) footer{background:var(--shell-page);color:var(--shell-muted);border-color:var(--shell-border)}:scope:is(body) *{scrollbar-color:var(--shell-muted) var(--shell-subtle)}@media (width<=599px){:scope:is(body) :is(.button,.icon-button,.lessons-menu-trigger){position:relative}:scope:is(body) :is(.button,.icon-button,.lessons-menu-trigger):after{content:"";position:absolute;inset:calc(min(0px,50% - 22px))}}}html[data-theme=dark] .source-code:not([data-code-theme=light]){--shell-keyword:var(--viz-code-dark-keyword);--shell-string:var(--viz-code-dark-string);--shell-number:var(--viz-code-dark-number)}:root{--shell-hard-shadow:3px 3px 0 #191919}html[data-theme=dark]{--shell-hard-shadow:3px 3px 0 #080808}@scope(body) to (:is(#array-diagram,#list-diagram,#bucket-array,#word-map,.pilot-diagram,.pilot-zoom-content,.diagram-zoom-dialog>svg,.heap-motion-ghost)){:scope:is(body) :is(.app-header,.curriculum){border-color:var(--shell-border)}:scope:is(body) :is(.brand-mark,.button,.icon-button,.lessons-menu-trigger,input,select,textarea,.panel,.wc-panel,.pilot-stage,.pilot-step,.pilot-code,.pilot-code-sheet,.pilot-zoom-sheet,.home-hero-preview,.home-search-box,.home-search-result,.home-chapter-card,.home-theater-grid article,.chapter-hero,.algorithm-card,.lesson-card,.lesson-link,.lessons-menu-panel),:scope:is(body) #workspace :is(.button,.icon-button,input,select,textarea,.lesson-link,.panel,.pilot-code){border-radius:0}:scope:is(body) :is(.button,.icon-button,.lessons-menu-trigger),:scope:is(body) #workspace :is(.button,.icon-button){border:2px solid var(--shell-border);background:var(--shell-panel);color:var(--shell-text);box-shadow:var(--shell-hard-shadow);font-weight:650}:scope:is(body) :is(.button-primary,.play-button),:scope:is(body) #workspace :is(.button-primary,.play-button),:scope:is(body) .pilot-tabs [role=tab][aria-selected=true],:scope:is(body) #workspace .pilot-tabs [role=tab][aria-selected=true]{background:var(--shell-accent);color:var(--viz-on-active);border-color:var(--shell-accent);box-shadow:var(--shell-hard-shadow)}:scope:is(body) :is(.button,.icon-button):disabled{box-shadow:none}:scope:is(body) .pilot-stage{background:var(--shell-page);border-color:#0000;border-radius:0}:scope:is(body) .pilot-step{border:2px solid var(--shell-border)}:scope:is(body) .pilot-step[data-active=true]{background:var(--shell-accent-tint);border-color:var(--shell-border);box-shadow:0 3px 0 var(--shell-border)}:scope:is(body) .pilot-step[data-active=true]>button{color:var(--shell-accent-ink)}:scope:is(body) .pilot-step>button{font-weight:700}:scope:is(body) #workspace #exercise-story .pilot-step>.button{box-shadow:none;text-align:left;background:0 0;border:0;border-radius:0}:scope:is(body) #workspace #exercise-story .pilot-step[data-active=true]>.button{color:var(--shell-accent-ink)}:scope:is(body) #workspace .pilot-controls [aria-label="Next story step"]{background:var(--shell-accent);color:var(--viz-on-active);border-color:var(--shell-accent)}:scope:is(body) #workspace #exercise-story .pilot-step>p{font-size:12px!important}:scope:is(body) .pilot-step>p{color:var(--shell-muted)}:scope:is(body) #exercise-story>h2{text-transform:uppercase;letter-spacing:-.035em;font-size:clamp(24px,2.2vw,32px);font-weight:800}:scope:is(body) .pilot-java{outline:2px solid var(--shell-border);outline-offset:-2px}:scope:is(body) .pilot-source-label{padding-inline:6px}:scope:is(body) .home-hero-preview{border:2px solid var(--shell-border);box-shadow:var(--shell-hard-shadow)}:scope:is(body) .home-chapter-card{border-color:var(--shell-border)}:scope:is(body) .home-search-result{background:var(--shell-panel);border-color:var(--shell-border)}}html body .story-pilot .pilot-diagram{outline:2px solid var(--shell-border);outline-offset:-2px;box-shadow:var(--shell-hard-shadow);background:var(--viz-panel)}html body .pilot-render-surface .array-graph-wrap{background:var(--viz-panel);border-color:#0000;border-radius:0}html body[data-sort-teacher] .sort-bar{background:var(--viz-active);border-color:var(--viz-active)}html body[data-sort-teacher] .sort-column:is(.is-settled,.is-pivot) .sort-bar .array-value{color:var(--viz-ink)}@media (width>=1100px){html body[data-sort-teacher][data-reference-open=true] .array-source-column{grid-area:1/2;display:block}}html body[data-sort-teacher] #workspace .teaching-playback{flex-wrap:wrap;gap:4px 8px;padding:4px 14px;display:flex}html body[data-sort-teacher] #workspace .teaching-playback :is(.step-summary,.playback-controls){flex:100%;min-width:0}html body[data-sort-teacher] #workspace .teaching-playback .playback-controls{justify-content:flex-end}html body :is(.status-dot,.source-dot,.caption-dot){display:none}html body .diff-chip.diff-chip[data-diff]{box-shadow:none;color:var(--shell-muted);background:0 0;border-color:#0000;border-radius:0}html body .chapter-guide-link{color:var(--shell-text);background:0 0}html body .home-eyebrow{color:var(--shell-muted);background:0 0}html body :is(.home-chapter-card,.home-search-result):hover{border-color:var(--shell-border)}html body .curriculum-heading{grid-template-columns:minmax(0,1fr) auto auto;gap:6px;padding-inline:0;display:grid}html body .curriculum-heading h2{letter-spacing:0;min-width:0;font-size:12px}html body .curriculum-heading :is(.subtle-badge,.panel-toggle){white-space:nowrap;margin:0}html body .curriculum-heading .subtle-badge{padding-inline:5px;font-size:12px}html body :is(.array-heading,.list-heading,.wc-heading,.workspace-heading){margin-bottom:12px}html body .app-header{gap:16px}html body .app-header .header-breadcrumb{text-overflow:ellipsis;padding-block:12px;border-left:1px solid var(--shell-border);flex:1;align-self:stretch;min-width:0;padding-left:20px;overflow:hidden}html body .app-header .header-actions{flex:none;align-items:center;gap:12px;margin-left:0}html body .app-header .lessons-menu{flex:none;margin-left:auto}html body .header-divider{flex:0 0 1px;align-self:stretch;height:auto;margin:8px 0}html body #bucket-array{padding-inline:4px}@media (width>=1100px){html body[data-teaching=true][data-reference-open=true] :is(.list-grid,.wc-grid){grid-template-columns:minmax(0,1fr) clamp(300px,26vw,380px)}html body[data-teaching=true][data-reference-open=true] :is(.list-input-panel,.wc-input-panel){grid-area:1/1/auto/-1}html body[data-teaching=true][data-reference-open=true] :is(.list-visual-column,.wc-visual-column){grid-area:2/1}html body[data-teaching=true][data-reference-open=true] :is(.list-source-column,.wc-source-column){contain:size;grid-area:2/2;align-self:stretch;min-width:0;display:block;overflow:auto}}@media (width>=801px) and (width<=1099px){html body[data-teaching=true][data-reference-open=true] :is(.list-grid,.wc-grid){grid-template-columns:minmax(0,1fr)}html body[data-teaching=true][data-reference-open=true] :is(.list-input-panel,.wc-input-panel,.list-visual-column,.wc-visual-column,.list-source-column,.wc-source-column){grid-area:auto/1}}@media (width<=800px){html body .app-header{flex-wrap:wrap;gap:10px}html body .app-header .header-actions{flex-wrap:wrap;gap:8px}}@media (width>=801px){html body[data-teaching=true][data-reference-open=false] .list-grid{grid-template-columns:minmax(0,1fr)}html body[data-teaching=true][data-reference-open=false] .list-input-panel{grid-area:1/1}html body[data-teaching=true][data-reference-open=false] .list-visual-column{grid-area:2/1}}@media (width<=800px){html body[data-teaching=true] .app-header{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}html body[data-teaching=true] .app-header .brand{grid-area:1/1;min-width:0}html body[data-teaching=true] .app-header .lessons-menu{grid-area:1/2;margin-left:0}html body[data-teaching=true] .app-header .header-actions{grid-area:2/1/auto/-1;justify-content:flex-end}}html body .app-header .header-breadcrumb{border-left:0;align-self:center;padding-block:0;position:relative}html body .app-header .header-breadcrumb:before{content:"";background:var(--shell-border);width:1px;position:absolute;top:0;bottom:0;left:0}html body .app-header .header-divider{background:var(--shell-border);align-self:center;height:24px;margin:0 4px}html body[data-teaching=true] #workspace :is(.array-heading,.list-heading,.wc-heading,.workspace-heading){margin-bottom:0}html body[data-teaching=true] #workspace :is(.studio-grid,.list-grid,.wc-grid,.array-grid){padding-top:12px}html body[data-teaching=true] #workspace .sort-operation{margin-top:12px}html body :is(.bucket-row.is-active,.bucket-row.is-current,.bucket-label.is-active),html body .bucket-row:is(.is-active,.is-current) .bucket-label{border-color:var(--viz-border)}html body #workspace :is(.list-heading,.array-heading,.wc-heading) :is(#list-presentation,#exercise-presentation,#word-presentation){display:none}html body:is([data-list-presentation=true],[data-exercise-presentation=true],[data-word-presentation=true]) #workspace :is(#list-presentation,#exercise-presentation,#word-presentation){display:inline-flex}@media (width<=800px){html body[data-teaching=true] #workspace :is(.array-heading,.list-heading,.wc-heading,.workspace-heading){min-height:0;padding-bottom:12px}html body[data-teaching=true] #workspace :is(.array-heading,.list-heading,.wc-heading,.workspace-heading) h1{font-size:26px;line-height:1.2}html body[data-teaching=true] .app-header [data-header-presentation=true]{width:44px;height:44px;padding:10px;font-size:0}html body[data-teaching=true] .app-header [data-header-presentation=true]:before{content:"";background:currentColor;width:18px;height:18px;display:block;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='M4 4h16v12H4zM12 16v4m-4 0h8'/%3E%3C/svg%3E") 50%/contain no-repeat}}html body[data-teaching=true]{--state-active-border:var(--viz-border);--amber-line:var(--viz-border)}html body .story-pilot .story-bucket.is-active{outline-color:var(--viz-border)}html body .app-header .header-breadcrumb:before{content:none}html body .app-header .brand:after{content:"";background:var(--shell-border);flex:0 0 1px;width:1px;height:24px;margin-left:8px;display:block}html body[data-teaching=true] #workspace :is(.exercise-story-layout,.circular-story-layout,#story-moments){padding-bottom:12px}html body .pilot-render-surface [data-story-focused=true]:not(g){outline-color:var(--viz-border)}html body :is(.tree-state-badge[data-state],.sort-state-badge,.diagram-tag){border-color:var(--viz-border)}
