:root{color-scheme:light;--paper:#ffffff;--ink:#1a1a1a;--muted:#5c5c5c;--line:#e4e4e4;--wash:#f3f3f3;--sidebar:#f7f7f7;--sidebar-line:#ececec;--accent:#1faa59;--accent-ink:#ffffff;--brand:#1faa59;--ok:#178a46;--bad:#c43838;--mark:#d9f5e4;--focus:#1faa59;--radius:8px;--code-bg:#1a1a1a;--code-ink:#f4f4f4;--code-line:#2a2a2a;--editor:#2b2b2b;--editor-output:#1a1a1a;--editor-edge:#3a3a3a}:root[data-theme=dark]{color-scheme:dark;--paper:#1c1c1c;--ink:#f4f4f4;--muted:#a3a3a3;--line:#333333;--wash:#2a2a2a;--sidebar:#161616;--sidebar-line:#2a2a2a;--accent:#2ebd68;--accent-ink:#ffffff;--brand:#2ebd68;--ok:#7dcea0;--bad:#f0a0a0;--mark:#1e3d2c;--focus:#2ebd68;--editor:#2a2a2a;--editor-output:#141414;--editor-edge:#4a4a4a}html{box-sizing:border-box;background:var(--paper);color:var(--ink)}*,:after,:before{box-sizing:inherit}body{margin:0;background:var(--paper);color:var(--ink);font-family:Source Sans Pro,Segoe UI,sans-serif;font-size:1.05rem;line-height:1.65}main{max-width:42rem;margin:0 auto;padding:1.75rem 1.25rem 4rem;overflow-wrap:break-word}h1,h2,h3,h4{font-weight:600;line-height:1.3;margin:1.6rem 0 .6rem}h1{font-size:1.85rem}h2{font-size:1.45rem}h3{font-size:1.2rem}h4{font-size:1.05rem}blockquote,dl,figure,ol,p,pre,ul{margin:.85rem 0}li{margin:.28rem 0}a{color:var(--ink)}code,pre,textarea{font-family:Source Code Pro,ui-monospace,Consolas,monospace}code{font-size:.92em}.activecode textarea,.question-code,pre{padding:.85rem 1rem;overflow-x:auto;background:var(--code-bg);color:var(--code-ink);border:1px solid var(--code-line);border-radius:var(--radius);line-height:1.45;font-size:.92rem}pre code{font-size:inherit;color:inherit}:not(pre)>code{background:var(--wash);color:var(--ink);padding:.05em .28em}textarea{display:block;width:100%;min-height:8rem;margin:.4rem 0 .7rem;padding:.7rem .8rem;border:1px solid var(--code-line);border-radius:var(--radius);background:var(--code-bg);color:var(--code-ink);caret-color:var(--code-ink);font-size:.92rem;line-height:1.45;resize:vertical}button{font-family:Source Sans Pro,Segoe UI,sans-serif;font-size:.95rem;font-weight:600;background:var(--accent);color:var(--accent-ink);border:0;border-radius:6px;padding:.45rem .95rem;cursor:pointer}button:disabled{cursor:default;opacity:.55}pre.output{background:#111111;color:var(--code-ink);white-space:pre-wrap;min-height:2.4rem}.activecode textarea{border-radius:var(--radius) var(--radius) 0 0;margin-bottom:0}.activecode pre.output{border-radius:0 0 var(--radius) var(--radius);margin-top:0;border-top:0}.editor-card{margin:.85rem 0 0;overflow:hidden;border:1px solid var(--editor-edge);border-radius:12px;background:var(--editor-output)}.editor{display:flex;align-items:stretch;min-height:10.5rem;background:var(--editor)}.editor-card.listing .editor{min-height:0}.editor-gutter{flex:0 0 2.75rem;padding:.9rem 0;overflow:hidden;background:var(--editor);color:#8b8b8b;text-align:right;-webkit-user-select:none;-moz-user-select:none;user-select:none}.editor-gutter span{display:block;min-height:1.45em;padding-right:.85rem;font-family:Source Code Pro,ui-monospace,Consolas,monospace;font-size:.92rem;line-height:1.45}.editor-body{position:relative;flex:1 1;min-width:0}.editor-body textarea,.editor-paint{box-sizing:border-box;margin:0;padding:.9rem 1rem .9rem .2rem;border:0;border-radius:0;background:transparent;color:#f3f3f3;font-family:Source Code Pro,ui-monospace,Consolas,monospace;font-size:.92rem;line-height:1.45;-moz-tab-size:4;tab-size:4;white-space:pre}.editor-paint{position:absolute;inset:0;overflow:hidden;pointer-events:none}.editor-card.listing .editor-paint{position:static;overflow:auto;padding:.9rem 1rem}.editor-line{min-height:1.45em}.editor-body textarea{position:relative;z-index:1;display:block;width:100%;height:100%;min-height:10.5rem;color:transparent;caret-color:#f4f4f4;resize:none;overflow:auto;color-scheme:dark;scrollbar-color:#5a5a5a transparent;scrollbar-width:thin}.editor-body textarea:focus,.editor-body textarea:focus-visible{outline:none;box-shadow:inset 2px 0 0 var(--focus)}.editor-body textarea::selection{color:transparent;background:rgba(255,255,255,.18)}.editor-body textarea::-webkit-scrollbar,.editor-card pre.output::-webkit-scrollbar,.editor-card.listing .editor-paint::-webkit-scrollbar{width:10px;height:10px}.editor-body textarea::-webkit-scrollbar-thumb,.editor-card pre.output::-webkit-scrollbar-thumb,.editor-card.listing .editor-paint::-webkit-scrollbar-thumb{background:#5a5a5a;border-radius:8px}.editor-body textarea::-webkit-scrollbar-corner,.editor-body textarea::-webkit-scrollbar-track,.editor-card pre.output::-webkit-scrollbar-corner,.editor-card pre.output::-webkit-scrollbar-track,.editor-card.listing .editor-paint::-webkit-scrollbar-track{background:transparent}.editor-card pre.output,.editor-card.listing .editor-paint{color-scheme:dark;scrollbar-color:#5a5a5a transparent;scrollbar-width:thin}.tok-keyword{color:#6cb6ff}.tok-string{color:#e6c07b}.tok-comment{color:#8b8b8b}.tok-number{color:#b5cea8}.editor-card pre.output{margin:0;padding:.85rem 1rem .85rem 2.95rem;border:0;border-top:1px solid var(--editor-edge);border-radius:0;background:var(--editor-output);color:#f3f3f3;min-height:4.4rem;white-space:pre-wrap}.output-placeholder{color:#9a9a9a}.editor-card pre.output .correct,.editor-card pre.output .incorrect{display:block;white-space:pre-wrap}.editor-actions{display:flex;justify-content:flex-end;align-items:center;gap:.5rem;margin:.65rem 0 .15rem}.editor-actions button.hint-button,.editor-actions button.reset-button,.editor-actions button.run-button{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;margin:0;min-width:2rem;min-height:2rem;padding:.4rem;border:1px solid #d4d4d4;border-radius:8px;background:var(--paper);color:var(--ink);box-shadow:0 1px 1px rgba(0,0,0,.05);font-weight:600}.editor-actions button.hint-button{color:var(--muted)}:root[data-theme=dark] .editor-actions button.hint-button,:root[data-theme=dark] .editor-actions button.reset-button,:root[data-theme=dark] .editor-actions button.run-button{border-color:var(--line);box-shadow:none}.web-frame{display:block;width:100%;margin-top:.65rem;border:1px solid var(--line);border-radius:12px;background:#fff}.session-bar{justify-content:space-between;gap:1rem;width:100%;font-family:Source Sans Pro,Segoe UI,sans-serif;font-size:.85rem;padding:.45rem 1rem;background:var(--paper);color:var(--ink);border-bottom:1px solid var(--line)}.brand,.session-bar{display:flex;align-items:center}.brand img{height:22px;width:auto;display:block}.session-end{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:.45rem .8rem;margin-left:auto;min-width:0}button.theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;padding:0;background:transparent;color:inherit;border:1px solid var(--line);border-radius:999px}.pager{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-top:2.5rem;font-family:Source Sans Pro,Segoe UI,sans-serif;font-size:.95rem;font-weight:600}.pager a{display:inline-block;padding:.45rem .9rem;border:1px solid var(--line);border-radius:6px;background:var(--paper);color:var(--ink);text-decoration:none}.pager a.next{margin-left:auto;background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.admonition{border-left:3px solid var(--accent);border-radius:0 6px 6px 0;margin:1.15rem 0;padding:.15rem 0 .15rem 1rem}.admonition-title{font-weight:700;margin-bottom:.25rem}.correct{color:var(--ok)}.incorrect{color:var(--bad)}blockquote{border-left:2px solid var(--line);padding-left:1rem;color:var(--muted)}.video-frame{position:relative;width:100%;aspect-ratio:16/9;background:#111111}.video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.prompt{white-space:pre-wrap}.later,.save-note{font-family:Source Sans Pro,Segoe UI,sans-serif;font-size:.9rem}.save-note{color:var(--bad)}.activecode,.clickable,.dragndrop,.fill-blank,.mchoice,.promptcode{margin:1.1rem 0}.activecode,.promptcode{position:relative}.mchoice label{display:block;margin:.45rem 0}.mchoice input{margin-right:.45rem}.fill-blank input{width:8rem;margin:0 .3rem;padding:.15rem .4rem;border:1px solid var(--line);border-radius:4px;background:var(--paper);color:var(--ink);font:inherit}.fill-blank input.correct{border-color:var(--ok)}.fill-blank input.incorrect{border-color:var(--bad)}.activecode button,.mchoice button{margin-top:.35rem}.feedback{display:block;margin:.2rem 0 .35rem 1.45rem;white-space:pre-wrap}.check{margin-top:2.25rem;margin-bottom:.4rem;font-family:Source Sans Pro,Segoe UI,sans-serif;font-size:.95rem}figure img{max-width:100%;height:auto}figcaption{font-size:.95rem;margin-top:.35rem}dt{font-weight:700}dd{margin:0 0 .75rem}:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.piece{display:inline;margin:0;padding:0;border:0;background:transparent;color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;white-space:pre;vertical-align:baseline;cursor:pointer}.editor-card .piece.selected{background:#3f5144;color:#f3f3f3;text-decoration:underline;text-underline-offset:.12em}.piece.correct{color:var(--ok)}.piece.incorrect{color:var(--bad)}.match-rows{gap:.45rem .75rem}.match-bank,.match-rows{list-style:none;display:flex;flex-wrap:wrap;margin:.4rem 0;padding:0}.match-bank{gap:.35rem}.match-row{display:flex;align-items:center;gap:.35rem;margin:0}.match-term{font-weight:600;line-height:1.3}.match-slot{min-height:0;border:0;border-bottom:1px dashed var(--line);border-radius:0;background:transparent;padding:.1rem 0}.match-slot.over{border-bottom-color:var(--accent);background:var(--wash)}.match-slot.filled{border-bottom-color:transparent;background:transparent;padding:0}.match-row.correct .match-slot{border-bottom-color:var(--ok)}.match-row.incorrect .match-slot{border-bottom-color:var(--bad)}button.match-card,button.match-placeholder{display:inline-block;width:auto;margin:0;padding:.15rem .3rem;border:0;border-radius:3px;background:transparent;color:var(--ink);font-weight:400;line-height:1.35;text-align:left;cursor:-webkit-grab;cursor:grab}button.match-card.dragging,button.match-card:active,button.match-card:hover{background:var(--wash)}button.match-card.dragging,button.match-card:active{cursor:-webkit-grabbing;cursor:grabbing;opacity:.45}button.match-placeholder{padding:.15rem 0;color:var(--muted);cursor:pointer}button.match-card.picked{background:var(--wash);box-shadow:inset 2px 0 0 var(--accent)}.match-bank li{margin:0}.reading,.shell{display:flex;flex-direction:column}.content,.reading{min-width:0;flex:1 1}.lesson-name{margin:.2rem .2rem .7rem;font-size:1.05rem;font-weight:600;line-height:1.3}.sidebar-toggle{display:flex;align-items:center;justify-content:flex-start;gap:.4rem;width:100%;margin:0 0 .55rem;padding:.2rem .2rem .45rem;border:0;border-bottom:1px solid var(--sidebar-line);border-radius:0;background:transparent;color:var(--muted);font-size:1rem;line-height:1}.sidebar-toggle-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.sidebar{background:var(--sidebar);border-right:1px solid var(--sidebar-line);padding:.75rem .75rem 1rem;font-family:Source Sans Pro,Segoe UI,sans-serif;font-size:.95rem}.sidebar.collapsed{width:3.4rem;flex:0 0 3.4rem;padding-right:.4rem;padding-left:.4rem}.sidebar.collapsed .sidebar-toggle,.sidebar.collapsed a{justify-content:center}.sidebar.collapsed .page-title{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.sidebar.collapsed a.current{background:var(--wash);border-radius:8px}.sidebar a{color:inherit;text-decoration:none;display:flex;align-items:flex-start;gap:.65rem;padding:.42rem .2rem;font-weight:400;line-height:1.35}.sidebar .nav-mark{position:relative;flex:0 0 1.05rem;width:1.05rem;height:1.05rem;margin-top:.12rem;border:1.5px solid #9a9a9a;border-radius:50%;background:transparent}.sidebar .current{background:transparent;color:var(--ink);font-weight:400;box-shadow:none}.sidebar .current .nav-mark{border-color:var(--ink);background:var(--ink)}.sidebar .nav-mark.done{border-color:var(--ok);background:var(--ok)}.sidebar .nav-mark.done:after{content:"";position:absolute;left:50%;top:46%;width:.42rem;height:.22rem;border-left:2px solid var(--paper);border-bottom:2px solid var(--paper);transform:translate(-50%,-60%) rotate(-45deg)}button.hint-button{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;padding:0;background:transparent;color:var(--accent);border:1px solid var(--accent);border-radius:8px}.contents ul{margin:.5rem 0 1.5rem;padding-left:1.2rem}.contents li{margin:.2rem 0}.sidebar ul{list-style:none;margin:0;padding:0}.sidebar ul ul{padding-left:.75rem}.parsons{margin:1.1rem 0}.parsons-row{display:flex;align-items:stretch;margin:.35rem 0;border:1px solid transparent;border-radius:8px}.parsons-row.over-before{box-shadow:inset 0 2px 0 var(--accent)}.parsons-row.over-after{box-shadow:inset 0 -2px 0 var(--accent)}.parsons-row pre{flex:1 1;margin:0;padding:.45rem .7rem;border:1px solid var(--line);border-radius:8px;background:var(--wash);color:var(--ink);line-height:1.45;cursor:-webkit-grab;cursor:grab}.parsons-row pre:hover{border-color:var(--muted)}.parsons-row.dragging pre{cursor:-webkit-grabbing;cursor:grabbing;opacity:.45}.parsons-aside,.parsons-empty{margin:.55rem 0 .3rem;padding-top:.3rem;min-height:1.4rem;border-top:1px dashed var(--line)}.parsons-aside.over,.parsons-empty.over{border-top-color:var(--accent);background:var(--wash)}.parsons-aside>p{margin:.15rem 0;color:var(--muted);font-size:.85rem}.codelens{margin:1.1rem 0}.codelens-line{font-family:Source Code Pro,ui-monospace,Consolas,monospace;white-space:pre;padding:.05rem .35rem;border-radius:4px}.codelens-line.current{background:var(--mark)}.editor-card.embedded{display:contents}.editor-card.embedded .editor-actions{margin:0;padding:.45rem .75rem;background:var(--editor);border-top:1px solid var(--editor-edge)}.promptcode-card{overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--paper)}.promptcode-brief{padding:.85rem 1rem .15rem}.promptcode-brief .prompt{margin:0 0 .7rem}.promptcode-compose{display:grid;grid-template-columns:minmax(0,1fr);padding:.15rem .85rem 0;background:var(--paper)}.promptcode-ask{min-width:0;padding-bottom:.75rem}.promptcode-row{position:relative}.promptcode-row textarea{width:100%;min-height:5.75rem;margin:0;padding:.7rem .8rem 2.55rem;border:1px solid var(--line);border-radius:8px;background:var(--wash);color:var(--ink);caret-color:var(--ink);font-family:Source Sans Pro,Segoe UI,sans-serif;font-size:1rem;font-weight:400;line-height:1.45;resize:none}.promptcode-ask.live .promptcode-row textarea{box-shadow:inset 2px 0 0 var(--focus)}.promptcode-row textarea::placeholder{color:var(--muted)}.promptcode-row .ask-button{position:absolute;right:.45rem;bottom:.45rem;display:inline-flex;align-items:center;justify-content:center;width:1.85rem;height:1.85rem;margin:0;padding:0;border-radius:999px;line-height:0}.prompt-rate{position:absolute;z-index:3;top:0;left:calc(100% + 1rem);width:16rem;max-height:100%;margin:0;padding:.75rem .85rem .85rem;overflow:auto;border:1px solid var(--line);border-radius:10px;background:var(--paper);box-shadow:0 10px 28px rgba(0,0,0,.1)}.prompt-rate-label{margin:0 0 .3rem;font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.prompt-rate-body,.prompt-rate-label{color:var(--muted);font-family:Source Sans Pro,Segoe UI,sans-serif}.prompt-rate-body{margin:0;font-size:.84rem;font-weight:400;line-height:1.4;white-space:pre-wrap}.prompt-rate.filled .prompt-rate-body,.prompt-rate.live .prompt-rate-body{color:var(--ink)}.promptcode-lock{margin:.55rem 0 0;color:var(--muted);font-size:.88rem}.prompt-reply,.promptcode-lock{font-family:Source Sans Pro,Segoe UI,sans-serif}.prompt-reply{display:flex;align-items:flex-start;gap:.9rem;margin:0;padding:1.15rem 1.25rem 1.2rem;min-height:5.25rem;background:var(--editor);color:#f3f3f3;border-top:1px solid var(--editor-edge);font-size:1.02rem;font-weight:400;line-height:1.6}.prompt-reply p{margin:0;white-space:pre-wrap}.prompt-reply-mark{flex:0 0 auto;margin-top:.15rem;color:#f3f3f3}.reply-caret{display:inline-block;width:.45rem;height:1rem;margin-left:.2rem;vertical-align:text-bottom;background:#f3f3f3;animation:prompt-pulse 1s ease-in-out infinite}@keyframes prompt-pulse{50%{opacity:.35}}.promptcode-work{display:grid;grid-template-columns:9.5rem minmax(0,1fr);border-top:1px solid var(--editor-edge);background:var(--editor)}.promptcode-work.single{grid-template-columns:minmax(0,1fr)}.promptcode-work .editor{grid-column:2;grid-row:1;min-width:0}.promptcode-work.single .editor{grid-column:1}.promptcode-work .editor-actions{grid-column:1/-1;grid-row:2}.promptcode-work pre.output{grid-column:1/-1;grid-row:3}.file-tree{grid-column:1;grid-row:1;align-self:stretch;padding:.45rem 0;border-right:1px solid var(--editor-edge);background:var(--editor)}.file-tree ul{list-style:none;margin:0;padding:0}.file-tree .file-folder,.file-tree button{display:block;width:100%;margin:0;padding-top:.28rem;padding-bottom:.28rem;padding-right:.55rem;border:0;border-radius:0;background:transparent;color:#c8c8c8;font-family:Source Code Pro,ui-monospace,Consolas,monospace;font-size:.78rem;font-weight:500;text-align:left;line-height:1.35}.file-tree .file-folder{color:#9a9a9a}.file-tree button[aria-selected=true]{background:rgba(255,255,255,.08);color:#ffffff}.file-tree button.is-fixed{color:#8f8f8f}.file-tree button.is-fixed[aria-selected=true]{color:#ffffff}.file-tree form{padding:.2rem .7rem .35rem}.file-tree form input{width:100%;margin:0;padding:.12rem 0;border:0;border-bottom:1px solid #5a5a5a;border-radius:0;background:transparent;color:#f3f3f3;font-family:Source Code Pro,ui-monospace,Consolas,monospace;font-size:.78rem}.file-tree form input[aria-invalid=true]{border-bottom-color:#c45c5c}.file-tree button.file-add{padding-left:.7rem;color:#9a9a9a;font-size:1rem;line-height:1}.promptcode-work.workspace{margin:.85rem 0 0;overflow:hidden;border:1px solid var(--editor-edge);border-radius:12px}.workspace .file-tree button,.workspace textarea{margin-top:0;border-radius:0}.editor-card.embedded .editor-actions button.hint-button,.editor-card.embedded .editor-actions button.reset-button,.editor-card.embedded .editor-actions button.run-button,.promptcode-work .editor-actions button.hint-button,.promptcode-work .editor-actions button.reset-button,.promptcode-work .editor-actions button.run-button{margin-top:0;background:#1c1c1c;color:#f4f4f4;border:1px solid #333333;border-radius:8px;box-shadow:none}.editor-card.embedded .editor-actions button.hint-button,.promptcode-work .editor-actions button.hint-button{color:#a3a3a3}.author pre.listing{overflow-x:auto;padding:.85rem 1rem;border-radius:8px;line-height:1.45}.author code{font-family:Source Code Pro,ui-monospace,Consolas,monospace;font-size:.92rem}.catalog{margin:1.5rem 0 0;padding:0;list-style:none}.catalog>li{margin:0 0 1.25rem}.catalog>li>a{font-weight:600}.catalog ul{margin:.35rem 0 0;padding:0 0 0 1.1rem}.catalog ul li{margin:.15rem 0}@media (max-width:700px){.session-bar{align-items:flex-start;padding:.55rem .8rem}.session-end span{flex:1 0 100%;text-align:right}main{padding:1.1rem .9rem 3rem}.editor-card,.promptcode-work.workspace,.workspace{max-width:100%}.editor-body textarea,.editor-paint{font-size:.84rem}.match-row,.pager{flex-wrap:wrap}.pager a{max-width:100%}.sidebar:not(.collapsed){border-right:0;border-bottom:1px solid var(--sidebar-line);width:auto;flex:none}.shell:has(.sidebar.collapsed){flex-direction:row;align-items:flex-start}.shell:has(.sidebar.collapsed) .reading{min-height:100vh}.shell:has(.sidebar.collapsed) .sidebar{align-self:stretch;height:auto}}@media (min-width:900px){.shell{flex-direction:row;align-items:stretch}.reading,.shell{min-height:100vh}.sidebar{position:-webkit-sticky;position:sticky;top:0;width:17rem;flex:0 0 17rem;height:100vh;overflow:auto}.sidebar.collapsed{width:3.4rem;flex-basis:3.4rem}}