:root{--font-sans:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;--font-mono:"JetBrains Mono","Fira Code",ui-monospace,SFMono-Regular,Menlo,monospace;--bg:#f7f7f9;--surface:#fff;--surface-2:#f1f2f5;--surface-3:#e8e9ee;--border:#e2e4ea;--border-strong:#cfd3dc;--text:#17191f;--text-muted:#5d6472;--text-faint:#8b92a0;--accent:#5b5bd6;--accent-hover:#4d4dc2;--accent-soft:#ededfc;--accent-contrast:#fff;--success:#18794e;--success-soft:#e6f6ee;--danger:#cd2b31;--danger-soft:#fdecec;--warning:#ad5700;--warning-soft:#fff4e0;--code-bg:#f5f6f8;--shadow:0 1px 2px #10121b0f,0 4px 16px #10121b0d;--shadow-lg:0 12px 48px #10121b2e;--hl-keyword:#a626a4;--hl-string:#50a14f;--hl-number:#986801;--hl-comment:#8b92a0;--hl-function:#4078f2;--hl-builtin:#c18401;--hl-meta:#0184bc;--radius:8px;--radius-lg:12px;--header-height:52px}:root[data-theme=dark]{--bg:#0d0e12;--surface:#14161b;--surface-2:#1b1d24;--surface-3:#24272f;--border:#262930;--border-strong:#353944;--text:#e8e9ed;--text-muted:#a0a6b3;--text-faint:#6e7584;--accent:#8e8ef5;--accent-hover:#a3a3f7;--accent-soft:#23234a;--accent-contrast:#0d0e12;--success:#4cc38a;--success-soft:#11291e;--danger:#ff6369;--danger-soft:#331618;--warning:#f1a10d;--warning-soft:#2e2210;--code-bg:#101217;--shadow:0 1px 2px #0006;--shadow-lg:0 12px 48px #0009;--hl-keyword:#c792ea;--hl-string:#a5d6a7;--hl-number:#f78c6c;--hl-comment:#6e7584;--hl-function:#82aaff;--hl-builtin:#ffcb6b;--hl-meta:#89ddff}*,:after,:before{box-sizing:border-box}body,html{-webkit-font-smoothing:antialiased;background:#f7f7f9;background:var(--bg);color:#17191f;color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-family:var(--font-sans);font-size:15px;line-height:1.6;margin:0}h1,h2,h3{letter-spacing:-.01em;line-height:1.25;margin:0}p{margin:0 0 .9em}a{color:#5b5bd6;color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button{color:inherit;font:inherit}:focus-visible{outline:2px solid #5b5bd6;outline:2px solid var(--accent);outline-offset:2px}code,kbd,pre{font-feature-settings:none;font-family:JetBrains Mono,Fira Code,ui-monospace,SFMono-Regular,Menlo,monospace;font-family:var(--font-mono);font-variant-ligatures:none}.muted{color:#5d6472;color:var(--text-muted)}.small{font-size:.85rem}.eyebrow{color:#8b92a0;color:var(--text-faint);font-size:.72rem;font-weight:600;letter-spacing:.06em;margin:0 0 .35rem;text-transform:uppercase}.visually-hidden{clip:rect(0 0 0 0);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.skip-link{background:#5b5bd6;background:var(--accent);border-radius:8px;border-radius:var(--radius);color:#fff;color:var(--accent-contrast);left:8px;padding:6px 10px;position:absolute;top:-40px;z-index:100}.skip-link:focus{top:8px}.button{align-items:center;border:1px solid #0000;border-radius:8px;border-radius:var(--radius);cursor:pointer;display:inline-flex;font-size:.9rem;font-weight:550;gap:.45rem;height:38px;justify-content:center;padding:0 1rem;transition:background-color .15s,border-color .15s,color .15s;white-space:nowrap}.button,.button:hover{text-decoration:none}.button:disabled{cursor:not-allowed;opacity:.55}.button--small{font-size:.82rem;height:30px;padding:0 .7rem}.button--primary{background:#5b5bd6;background:var(--accent);color:#fff;color:var(--accent-contrast)}.button--primary:hover:not(:disabled){background:#4d4dc2;background:var(--accent-hover)}.button--ghost{background:#fff;background:var(--surface);border-color:#e2e4ea;border-color:var(--border);color:#17191f;color:var(--text)}.button--ghost:hover:not(:disabled){background:#f1f2f5;background:var(--surface-2);border-color:#cfd3dc;border-color:var(--border-strong)}.button--danger{background:#cd2b31;background:var(--danger);color:#fff}.button kbd{background:#ffffff2e;border-radius:4px;font-size:.68rem;line-height:1.5;padding:0 .3rem}.icon-button{background:#0000;border:1px solid #0000;border-radius:8px;border-radius:var(--radius);color:#5d6472;color:var(--text-muted);cursor:pointer;display:inline-grid;height:32px;place-items:center;width:32px}.icon-button:hover{background:#f1f2f5;background:var(--surface-2);color:#17191f;color:var(--text)}.link-button{background:none;border:0;color:#5b5bd6;color:var(--accent);cursor:pointer;margin-left:.4rem;padding:0;text-decoration:underline}.segmented{background:#f1f2f5;background:var(--surface-2);border:1px solid #e2e4ea;border:1px solid var(--border);border-radius:8px;border-radius:var(--radius);display:inline-flex;padding:2px}.segmented button{background:#0000;border:0;border-radius:6px;color:#5d6472;color:var(--text-muted);cursor:pointer;font-size:.75rem;font-weight:600;height:26px;padding:0 .55rem}.segmented button.is-active{background:#fff;background:var(--surface);box-shadow:0 1px 2px #10121b0f,0 4px 16px #10121b0d;box-shadow:var(--shadow);color:#17191f;color:var(--text)}.app{min-height:100vh}.app-header{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:color-mix(in srgb,#fff 88%,#0000);background:color-mix(in srgb,var(--surface) 88%,#0000);border-bottom:1px solid #e2e4ea;border-bottom:1px solid var(--border);display:flex;gap:1rem;height:52px;height:var(--header-height);justify-content:space-between;padding:0 1rem;position:-webkit-sticky;position:sticky;top:0;z-index:30}.app-header__left,.app-header__right{align-items:center;display:flex;gap:.6rem;min-width:0}.app-header__left{flex:1 1 auto}.app-header__right{flex:none}.brand{align-items:center;color:#17191f;color:var(--text);display:inline-flex;font-weight:650;gap:.55rem;letter-spacing:-.01em}.brand:hover{text-decoration:none}.crumbs{align-items:center;display:flex;font-size:.88rem;gap:.5rem;min-width:0;overflow:hidden;white-space:nowrap}.crumbs,.crumbs a{color:#5d6472;color:var(--text-muted)}.crumbs span[aria-current]{color:#17191f;color:var(--text);min-width:0;overflow:hidden;text-overflow:ellipsis}.crumbs__sep{color:#cfd3dc;color:var(--border-strong)}.difficulty,.solved-badge,.type-badge{align-items:center;border-radius:999px;display:inline-flex;font-size:.72rem;font-weight:600;gap:.35rem;height:22px;padding:0 .5rem;white-space:nowrap}.difficulty,.type-badge{background:#f1f2f5;background:var(--surface-2);color:#5d6472;color:var(--text-muted)}.difficulty__pips{display:inline-flex;gap:2px}.difficulty__pips span{background:#cfd3dc;background:var(--border-strong);border-radius:2px;height:10px;width:5px}.difficulty--easy .is-filled{background:#18794e;background:var(--success)}.difficulty--medium .is-filled{background:#ad5700;background:var(--warning)}.difficulty--hard .is-filled{background:#cd2b31;background:var(--danger)}.solved-badge{background:#e6f6ee;background:var(--success-soft);color:#18794e;color:var(--success)}.progress{background:#e8e9ee;background:var(--surface-3);border-radius:999px;height:6px;overflow:hidden}.progress__fill{background:#5b5bd6;background:var(--accent);border-radius:inherit;height:100%;transition:width .4s ease}.page{margin:0 auto;max-width:1180px;padding:2.5rem 1.25rem 4rem}.empty-state{grid-gap:1.25rem;display:grid;gap:1.25rem;justify-items:start}.track-hero{grid-gap:2.5rem;align-items:end;border-bottom:1px solid #e2e4ea;border-bottom:1px solid var(--border);display:grid;gap:2.5rem;grid-template-columns:1fr 260px;padding-bottom:2.5rem}.track-hero h1{font-size:clamp(2rem,4vw,2.8rem);font-weight:700;letter-spacing:-.03em}.track-hero__tagline{color:#5d6472;color:var(--text-muted);font-size:1.2rem;margin:.4rem 0 1rem}.track-hero__description{max-width:62ch}.track-hero__actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.5rem}.track-layout{grid-gap:2.5rem;align-items:start;display:grid;gap:2.5rem;grid-template-columns:1fr 280px;padding-top:2.5rem}.chapters{grid-gap:1.5rem;display:grid;gap:1.5rem;list-style:none;margin:0;padding:0}.chapter{background:#fff;background:var(--surface);border:1px solid #e2e4ea;border:1px solid var(--border);border-radius:12px;border-radius:var(--radius-lg);overflow:hidden}.chapter__header{display:flex;gap:1.5rem;justify-content:space-between;padding:1.25rem 1.25rem 1rem}.chapter__header h2{font-size:1.15rem;margin-bottom:.3rem}.chapter__header p.muted{font-size:.9rem;margin:0}.chapter__progress{grid-gap:.35rem;font-feature-settings:"tnum";align-content:start;color:#5d6472;color:var(--text-muted);display:grid;flex:0 0 110px;font-size:.8rem;font-variant-numeric:tabular-nums;gap:.35rem;text-align:right}.level-list{list-style:none;margin:0;padding:0}.level-list,.level-list li+li{border-top:1px solid #e2e4ea;border-top:1px solid var(--border)}.level-row{align-items:center;color:#17191f;color:var(--text);display:flex;gap:.75rem;padding:.7rem 1.25rem}.level-row:hover{background:#f1f2f5;background:var(--surface-2);text-decoration:none}.level-row__status{border:1.5px solid #cfd3dc;border:1.5px solid var(--border-strong);border-radius:50%;color:#fff;color:var(--accent-contrast);display:grid;flex:none;height:18px;place-items:center;width:18px}.is-solved .level-row__status{background:#18794e;background:var(--success);border-color:#18794e;border-color:var(--success)}.level-row__title{flex:1 1;font-weight:500;min-width:0}.level-row__meta{display:flex;gap:.4rem}.app--workspace{display:flex;flex-direction:column;height:100vh}.level-layout{flex:1 1;min-height:0}.level-main{display:grid;grid-template-columns:minmax(360px,44%) minmax(0,1fr);height:calc(100vh - 52px);height:calc(100vh - var(--header-height))}.instructions{background:#fff;background:var(--surface);border-right:1px solid #e2e4ea;border-right:1px solid var(--border);display:flex;flex-direction:column;min-height:0;min-width:0}.instructions__header{border-bottom:1px solid #e2e4ea;border-bottom:1px solid var(--border);padding:1.25rem 1.5rem 0}.instructions__header h1{font-size:1.45rem;font-weight:700;letter-spacing:-.02em}.instructions__meta{display:flex;flex-wrap:wrap;gap:.4rem;margin:.7rem 0 .9rem}.tabs{display:flex;gap:.25rem;margin-bottom:-1px}.results__tabs button,.tabs button{align-items:center;background:none;border:0;color:#5d6472;color:var(--text-muted);cursor:pointer;display:inline-flex;font-size:.87rem;font-weight:550;gap:.4rem;padding:.55rem .75rem;position:relative}.results__tabs button.is-active,.results__tabs button:hover,.tabs button.is-active,.tabs button:hover{color:#17191f;color:var(--text)}.results__tabs button.is-active:after,.tabs button.is-active:after{background:#5b5bd6;background:var(--accent);border-radius:2px;bottom:0;content:"";height:2px;left:.5rem;position:absolute;right:.5rem}.instructions__body{flex:1 1;min-height:0;overflow-y:auto;padding:1.5rem}.instructions__body>section+section{margin-top:2rem}.section-title,.section-title h2{color:#5d6472;color:var(--text-muted);font-size:.8rem;font-weight:650;letter-spacing:.05em;margin:0 0 .75rem;text-transform:uppercase}.section-title--with-action{align-items:center;display:flex;justify-content:space-between}.section-title--with-action h2{margin:0}.level-nav{border-top:1px solid #e2e4ea;border-top:1px solid var(--border);display:flex;gap:.5rem;justify-content:space-between;padding:.7rem 1.5rem}.hints{background:#f1f2f5;background:var(--surface-2);border:1px solid #e2e4ea;border:1px solid var(--border);border-radius:8px;border-radius:var(--radius);margin-top:2rem;padding:1rem 1.1rem}.hints ol{margin:0 0 .75rem;padding-left:1.2rem}.hints ol:empty{display:none}.hints li+li{margin-top:.4rem}.pitfalls{margin:0;padding-left:1.2rem}.pitfalls li::marker{color:#ad5700;color:var(--warning)}.references{grid-gap:.35rem;display:grid;gap:.35rem;list-style:none;margin:0;padding:0}.references a{align-items:center;display:inline-flex;gap:.35rem}.locked-panel{grid-gap:.25rem;border:1px dashed #cfd3dc;border:1px dashed var(--border-strong);border-radius:8px;border-radius:var(--radius);color:#5d6472;color:var(--text-muted);display:grid;gap:.25rem;justify-items:start;padding:1.25rem}.locked-panel p{margin:0}.locked-panel .button{margin-top:.75rem}.workspace{background:#f7f7f9;background:var(--bg);display:flex;flex-direction:column;min-height:0;min-width:0}.toolbar{align-items:center;background:#fff;background:var(--surface);border-bottom:1px solid #e2e4ea;border-bottom:1px solid var(--border);display:flex;flex-wrap:wrap;gap:.9rem;min-height:48px;padding:.4rem .75rem}.toolbar__file{background:#f1f2f5;background:var(--surface-2);border-radius:6px;font-family:JetBrains Mono,Fira Code,ui-monospace,SFMono-Regular,Menlo,monospace;font-family:var(--font-mono);font-size:.8rem;padding:.15rem .5rem}.toolbar__actions{display:flex;margin-left:auto}.confirm,.toolbar__actions{align-items:center;gap:.45rem}.confirm,.runtime{display:inline-flex}.runtime{align-items:center;color:#5d6472;color:var(--text-muted);font-size:.78rem;gap:.4rem}.runtime__dot{background:#8b92a0;background:var(--text-faint);border-radius:50%;height:7px;width:7px}.runtime--ready .runtime__dot{background:#18794e;background:var(--success)}.runtime--loading .runtime__dot{animation:pulse 1s ease-in-out infinite;background:#ad5700;background:var(--warning)}.runtime--failed{color:#cd2b31;color:var(--danger)}.runtime--failed .runtime__dot{background:#cd2b31;background:var(--danger)}.editor{flex:1 1 55%;min-height:220px}.editor,.results{background:#fff;background:var(--surface)}.results{border-top:1px solid #e2e4ea;border-top:1px solid var(--border);display:flex;flex:1 1 45%;flex-direction:column;min-height:180px}.results__tabs{border-bottom:1px solid #e2e4ea;border-bottom:1px solid var(--border);display:flex;gap:.25rem;padding:0 .75rem}.results__tabs .count{font-feature-settings:"tnum";background:#f1f2f5;background:var(--surface-2);border-radius:999px;font-size:.7rem;font-variant-numeric:tabular-nums;padding:0 .35rem}.results__body{flex:1 1;min-height:0;overflow-y:auto;padding:.9rem 1rem 1.25rem}.results__empty{font-size:.9rem;margin:.5rem 0}.results__running{align-items:center;color:#5d6472;color:var(--text-muted);display:flex;font-size:.9rem;gap:.6rem}.spinner{animation:spin .7s linear infinite;border:2px solid #cfd3dc;border-top-color:#5b5bd6;border:2px solid var(--border-strong);border-radius:50%;border-top-color:var(--accent);height:14px;width:14px}.summary{align-items:flex-start;border-radius:8px;border-radius:var(--radius);display:flex;flex-wrap:wrap;gap:.7rem;margin-bottom:.9rem;padding:.75rem .9rem}.summary>svg{flex:none;margin-top:2px}.summary__text{display:grid;flex:1 1;font-size:.9rem;min-width:200px}.summary__text span{color:#5d6472;color:var(--text-muted);font-size:.84rem}.summary__actions{align-self:center;display:flex;gap:.4rem}.summary--success{background:#e6f6ee;background:var(--success-soft);color:#18794e;color:var(--success)}.summary--danger{background:#fdecec;background:var(--danger-soft);color:#cd2b31;color:var(--danger)}.summary--warning{background:#fff4e0;background:var(--warning-soft);color:#ad5700;color:var(--warning)}.summary strong{color:inherit}.test-list{border:1px solid #e2e4ea;border:1px solid var(--border);border-radius:8px;border-radius:var(--radius);list-style:none;margin:0;overflow:hidden;padding:0}.test+.test{border-top:1px solid #e2e4ea;border-top:1px solid var(--border)}.test__row{align-items:center;display:flex;font-size:.88rem;gap:.6rem;padding:.5rem .75rem}.test__icon{display:grid;place-items:center}.test--passed .test__icon{color:#18794e;color:var(--success)}.test--failed .test__icon{color:#cd2b31;color:var(--danger)}.test__name{flex:1 1}.test__duration,.test__hidden{font-feature-settings:"tnum";align-items:center;color:#8b92a0;color:var(--text-faint);display:inline-flex;font-size:.72rem;font-variant-numeric:tabular-nums;gap:.25rem}.stdout,.test__message,.traceback{background:#f5f6f8;background:var(--code-bg);font-size:.8rem;line-height:1.55;margin:0;padding:.65rem .8rem;white-space:pre-wrap;word-break:break-word}.test__message{border-left:2px solid #cd2b31;border-left:2px solid var(--danger);border-radius:0 6px 6px 0;color:#17191f;color:var(--text);margin:0 .75rem .65rem 2.15rem}.traceback{border-left:3px solid #cd2b31;border-left:3px solid var(--danger);margin-bottom:.9rem}.stdout,.traceback{border-radius:8px;border-radius:var(--radius)}.workspace--quiz{overflow-y:auto}.quiz{grid-gap:1rem;display:grid;gap:1rem;margin:0 auto;max-width:760px;padding:1.5rem 1.25rem 3rem;width:100%}.question{background:#fff;background:var(--surface);border:1px solid #e2e4ea;border:1px solid var(--border);border-radius:12px;border-radius:var(--radius-lg);padding:1.25rem}.question.is-correct{border-color:color-mix(in srgb,#18794e 45%,#e2e4ea);border-color:color-mix(in srgb,var(--success) 45%,var(--border))}.question.is-incorrect{border-color:color-mix(in srgb,#cd2b31 45%,#e2e4ea);border-color:color-mix(in srgb,var(--danger) 45%,var(--border))}.question__prompt{display:block;font-size:1.02rem;font-weight:600;line-height:1.45;margin-bottom:.9rem}.question .code-block{margin-bottom:1rem}.options{grid-gap:.45rem;border:0;display:grid;gap:.45rem;margin:0 0 1rem;padding:0}.option{align-items:center;border:1px solid #e2e4ea;border:1px solid var(--border);border-radius:8px;border-radius:var(--radius);cursor:pointer;display:flex;font-size:.92rem;gap:.65rem;padding:.6rem .8rem;transition:border-color .15s,background-color .15s}.option:hover{background:#f1f2f5;background:var(--surface-2);border-color:#cfd3dc;border-color:var(--border-strong)}.option input{accent-color:#5b5bd6;accent-color:var(--accent);margin:0}.option.is-selected{background:#ededfc;background:var(--accent-soft);border-color:#5b5bd6;border-color:var(--accent)}.options:disabled .option{cursor:default}.options:disabled .option:hover{background:none}.option.is-answer{background:#e6f6ee;background:var(--success-soft);border-color:#18794e;border-color:var(--success)}.option.is-wrong{background:#fdecec;background:var(--danger-soft);border-color:#cd2b31;border-color:var(--danger)}.option .option__literal{background:none;font-size:.85rem;padding:0;white-space:pre-wrap}.option__mark{flex:none;margin-left:auto}.is-answer .option__mark{color:#18794e;color:var(--success)}.is-wrong .option__mark{color:#cd2b31;color:var(--danger)}.question__feedback{background:#f1f2f5;background:var(--surface-2);border-radius:8px;border-radius:var(--radius);padding:.8rem 1rem}.question__feedback strong{display:block;margin-bottom:.3rem}.is-correct .question__feedback strong{color:#18794e;color:var(--success)}.is-incorrect .question__feedback strong{color:#cd2b31;color:var(--danger)}.question__feedback .prose p:last-child{margin-bottom:0}.drawer-backdrop{background:#08090c73;inset:0;opacity:0;pointer-events:none;position:fixed;transition:opacity .2s;z-index:40}.drawer-backdrop.is-open{opacity:1;pointer-events:auto}.drawer{background:#fff;background:var(--surface);border-right:1px solid #e2e4ea;border-right:1px solid var(--border);bottom:0;box-shadow:0 12px 48px #10121b2e;box-shadow:var(--shadow-lg);display:flex;flex-direction:column;left:0;position:fixed;top:0;transform:translateX(-102%);transition:transform .22s ease;width:min(340px,88vw);z-index:50}.drawer.is-open{transform:translateX(0)}.drawer__header{align-items:center;border-bottom:1px solid #e2e4ea;border-bottom:1px solid var(--border);display:flex;height:52px;height:var(--header-height);justify-content:space-between;padding:0 .6rem 0 1rem}.drawer__body{flex:1 1;overflow-y:auto;padding:.75rem .5rem 2rem}.drawer__chapter h3{color:#8b92a0;color:var(--text-faint);font-size:.72rem;font-weight:650;letter-spacing:.06em;margin:.9rem .6rem .35rem;text-transform:uppercase}.drawer__chapter ul{list-style:none;margin:0;padding:0}.drawer__level{align-items:center;border-radius:6px;color:#17191f;color:var(--text);display:flex;font-size:.88rem;gap:.6rem;padding:.38rem .6rem}.drawer__level:hover{background:#f1f2f5;background:var(--surface-2);text-decoration:none}.drawer__level.is-current{background:#ededfc;background:var(--accent-soft);color:#5b5bd6;color:var(--accent);font-weight:600}.drawer__level .level-row__status{height:15px;width:15px}.prose{font-size:.95rem;line-height:1.7}.prose>:first-child{margin-top:0}.prose h1,.prose h2,.prose h3{font-size:1.05rem;margin:1.6em 0 .6em}.prose ol,.prose ul{margin:0 0 1em;padding-left:1.3rem}.prose li+li{margin-top:.25em}.prose blockquote{background:#ededfc;background:var(--accent-soft);border-left:3px solid #5b5bd6;border-left:3px solid var(--accent);border-radius:0 8px 8px 0;border-radius:0 var(--radius) var(--radius) 0;margin:1.2em 0;padding:.6rem 1rem}.prose blockquote p{margin:0}.hints code,.option code,.pitfalls code,.prose :not(pre)>code,.question__prompt code{background:#e8e9ee;background:var(--surface-3);border-radius:5px;font-size:.86em;padding:.1em .35em}.table-scroll{border:1px solid #e2e4ea;border:1px solid var(--border);border-radius:8px;border-radius:var(--radius);margin:0 0 1.2em;overflow-x:auto}.prose table{border-collapse:collapse;font-size:.88rem;width:100%}.prose td,.prose th{border-bottom:1px solid #e2e4ea;border-bottom:1px solid var(--border);padding:.45rem .75rem;text-align:left;vertical-align:top}.prose tr:last-child td{border-bottom:0}.prose th{background:#f1f2f5;background:var(--surface-2);font-weight:600}.code-block{background:#f5f6f8;background:var(--code-bg);border:1px solid #e2e4ea;border:1px solid var(--border);border-radius:8px;border-radius:var(--radius);font-size:.84rem;line-height:1.6;margin:0 0 1.2em;overflow-x:auto;padding:.85rem 1rem}.code-block code{background:none;padding:0}.hljs-keyword,.hljs-literal,.hljs-selector-tag{color:#a626a4;color:var(--hl-keyword)}.hljs-regexp,.hljs-string{color:#50a14f;color:var(--hl-string)}.hljs-number{color:#986801;color:var(--hl-number)}.hljs-comment{color:#8b92a0;color:var(--hl-comment);font-style:italic}.hljs-title,.hljs-title.function_{color:#4078f2;color:var(--hl-function)}.hljs-built_in,.hljs-title.class_,.hljs-type{color:#c18401;color:var(--hl-builtin)}.hljs-meta,.hljs-subst{color:#0184bc;color:var(--hl-meta)}.hljs-params{color:inherit}:root{--gold:#b7791f;--gold-soft:#fdf3dc}:root[data-theme=dark]{--gold:#f0b429;--gold-soft:#2d2410}.track-hero__progress{grid-gap:.35rem;display:grid;gap:.35rem;margin-top:1.25rem;max-width:420px}.forge-panel{grid-gap:.6rem;background:#fff;background:var(--surface);border:1px solid #e2e4ea;border:1px solid var(--border);border-radius:12px;border-radius:var(--radius-lg);box-shadow:0 1px 2px #10121b0f,0 4px 16px #10121b0d;box-shadow:var(--shadow);display:grid;gap:.6rem;padding:1.25rem}.forge-panel .eyebrow{margin:0}.forge-panel__rank{align-items:center;display:flex;gap:.75rem}.forge-panel__rank div{display:grid;line-height:1.3}.forge-panel__rank strong{font-size:1.1rem}.forge-panel__badge{background:#fdf3dc;background:var(--gold-soft);border-radius:12px;color:#b7791f;color:var(--gold);display:grid;height:44px;place-items:center;width:44px}.forge-panel__next{margin:0}.forge-panel__review{grid-gap:.5rem;background:#f1f2f5;background:var(--surface-2);border-radius:8px;border-radius:var(--radius);display:grid;font-size:.9rem;gap:.5rem;margin-top:.4rem;padding:.85rem}.forge-panel__explain{line-height:1.5;margin:0}.track-hero,.track-layout{grid-template-columns:1fr 300px}.track-side{grid-gap:1.75rem;display:grid;gap:1.75rem;max-height:calc(100vh - 52px - 3rem);max-height:calc(100vh - var(--header-height) - 3rem);overflow-y:auto;padding-right:.25rem;position:-webkit-sticky;position:sticky;top:calc(52px + 1.5rem);top:calc(var(--header-height) + 1.5rem)}.side-panel h2{font-size:.95rem;margin-bottom:.3rem}.side-panel>p{margin-bottom:.7rem}.skills{grid-gap:.3rem;display:grid;gap:.3rem;list-style:none;margin:0;padding:0}.skill{align-items:center;border-radius:6px;color:#8b92a0;color:var(--text-faint);display:flex;gap:.5rem;justify-content:space-between;padding:.2rem .5rem;position:relative}.skill.is-learned{background:#f1f2f5;background:var(--surface-2);color:#17191f;color:var(--text)}.skill__name{font-family:JetBrains Mono,Fira Code,ui-monospace,SFMono-Regular,Menlo,monospace;font-family:var(--font-mono);font-size:.74rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.skill__pips{display:inline-flex;flex:none;gap:2px}.skill__pips span{background:#e2e4ea;background:var(--border);border-radius:2px;height:5px;width:9px}.skill__pips span.is-filled{background:#5b5bd6;background:var(--accent)}.skill__due{background:#b7791f;background:var(--gold);border-radius:50%;height:6px;left:-3px;margin-top:-3px;position:absolute;top:50%;width:6px}.skills--inline{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));margin-bottom:1.5rem}.achievements{grid-gap:.35rem;display:grid;gap:.35rem;list-style:none;margin:.6rem 0 0;padding:0}.achievement{align-items:flex-start;border-radius:8px;border-radius:var(--radius);display:flex;gap:.6rem;opacity:.55;padding:.45rem .55rem}.achievement>span:last-child{display:grid;font-size:.84rem;line-height:1.35}.achievement.is-unlocked{background:#fdf3dc;background:var(--gold-soft);opacity:1}.achievement__icon{background:#e8e9ee;background:var(--surface-3);border-radius:8px;color:#8b92a0;color:var(--text-faint);display:grid;flex:none;height:28px;place-items:center;width:28px}.is-unlocked .achievement__icon{background:#b7791f;background:var(--gold);color:#fff;color:var(--surface)}.rank-chip{align-items:center;border:1px solid #e2e4ea;border:1px solid var(--border);border-radius:999px;color:#b7791f;color:var(--gold);display:inline-flex;font-size:.8rem;font-weight:600;gap:.4rem;height:30px;padding:0 .6rem}.rank-chip:hover{background:#fdf3dc;background:var(--gold-soft);text-decoration:none}.rank-chip__name{color:#17191f;color:var(--text)}.rank-chip__due{background:#b7791f;background:var(--gold);border-radius:999px;color:#fff;color:var(--surface);font-size:.7rem;min-width:18px;padding:0 .3rem;text-align:center}.boss-badge{align-items:center;background:#fdf3dc;background:var(--gold-soft);border-radius:999px;color:#b7791f;color:var(--gold);display:inline-flex;font-size:.72rem;font-weight:700;gap:.3rem;height:22px;padding:0 .5rem;white-space:nowrap}.level-row--boss{box-shadow:inset 3px 0 0 #b7791f;box-shadow:inset 3px 0 0 var(--gold)}.level-row--boss .level-row__title{font-weight:650}.boss-intro{background:#fdf3dc;background:var(--gold-soft);border-radius:8px;border-radius:var(--radius);color:#17191f;color:var(--text);font-size:.9rem;padding:.75rem 1rem}.toasts{grid-gap:.5rem;bottom:1rem;display:grid;gap:.5rem;position:fixed;right:1rem;width:min(360px,calc(100vw - 2rem));z-index:60}.toast{align-items:center;animation:toast-in .25s ease-out;background:#fff;background:var(--surface);border:1px solid #e2e4ea;border:1px solid var(--border);border-radius:12px;border-radius:var(--radius-lg);box-shadow:0 12px 48px #10121b2e;box-shadow:var(--shadow-lg);display:flex;gap:.75rem;padding:.75rem .6rem .75rem .85rem}.toast__icon{background:#fdf3dc;background:var(--gold-soft);border-radius:10px;color:#b7791f;color:var(--gold);display:grid;flex:none;height:36px;place-items:center;width:36px}.toast__text{display:grid;flex:1 1;font-size:.88rem;line-height:1.35}.toast__text span{color:#5d6472;color:var(--text-muted)}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}}.review-page{max-width:800px}.review-header{grid-gap:.5rem 1.25rem;align-items:center;display:grid;gap:.5rem 1.25rem;grid-template-columns:auto 1fr;margin-bottom:1.25rem}.review-header .eyebrow{margin:0}.review-header__concepts{display:flex;flex-wrap:wrap;gap:.35rem;grid-column:1/-1;list-style:none;margin:0;padding:0}.review-header__concepts li{background:#ededfc;background:var(--accent-soft);border-radius:6px;color:#5b5bd6;color:var(--accent);font-family:JetBrains Mono,Fira Code,ui-monospace,SFMono-Regular,Menlo,monospace;font-family:var(--font-mono);font-size:.72rem;padding:.05rem .45rem}.review-outcome{border-radius:8px;border-radius:var(--radius);font-size:.9rem;margin-top:.75rem;padding:.65rem .85rem}.review-outcome p{margin:0}.review-outcome.is-correct{background:#e6f6ee;background:var(--success-soft);color:#18794e;color:var(--success)}.review-outcome.is-incorrect{background:#fff4e0;background:var(--warning-soft);color:#17191f;color:var(--text)}.review-outcome a{display:inline-block;margin-top:.3rem}.review-continue{display:flex;justify-content:flex-end;margin-top:1rem}.review-page--reforge{display:flex;flex-direction:column;max-width:none;padding:1rem 1.25rem 1.5rem}.review-page--reforge .review-header{max-width:none}.review-page--reforge .review-outcome{margin:0 0 .75rem}.reforge{grid-gap:1rem;align-items:start;display:grid;gap:1rem;grid-template-columns:minmax(300px,38%) minmax(0,1fr)}.reforge__brief{background:#fff;background:var(--surface);border:1px solid #e2e4ea;border:1px solid var(--border);border-radius:12px;border-radius:var(--radius-lg);padding:1.25rem}.reforge__brief h2{font-size:1.15rem;margin-bottom:.4rem}.reforge__workspace{border:1px solid #e2e4ea;border:1px solid var(--border);border-radius:12px;border-radius:var(--radius-lg);display:flex;min-height:640px;overflow:hidden}.reforge__workspace .workspace{flex:1 1}.review-empty,.review-summary{grid-gap:.6rem;display:grid;gap:.6rem;justify-items:center;margin:0 auto;max-width:640px;text-align:center}.review-summary__icon{background:#fdf3dc;background:var(--gold-soft);border-radius:18px;color:#b7791f;color:var(--gold);display:grid;height:64px;place-items:center;width:64px}.review-summary__score{color:#5d6472;color:var(--text-muted);font-size:1.15rem}.review-summary__cards{border:1px solid #e2e4ea;border:1px solid var(--border);border-radius:8px;border-radius:var(--radius);list-style:none;margin:0 0 1rem;padding:0;text-align:left;width:100%}.review-summary__cards li{align-items:center;display:flex;font-size:.9rem;gap:.6rem;padding:.5rem .8rem}.review-summary__cards li+li{border-top:1px solid #e2e4ea;border-top:1px solid var(--border)}.review-summary__cards .is-correct svg{color:#18794e;color:var(--success)}.review-summary__cards .is-incorrect svg{color:#cd2b31;color:var(--danger)}.review-summary .skills--inline{text-align:left;width:100%}@keyframes spin{to{transform:rotate(1turn)}}@keyframes pulse{50%{opacity:.35}}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.01ms!important;transition-duration:.01ms!important}}@media (max-width:1000px){.app--workspace{height:auto}.level-main{grid-template-columns:minmax(0,1fr);height:auto}.instructions{border-bottom:1px solid #e2e4ea;border-bottom:1px solid var(--border);border-right:0;min-width:0}.instructions__body{overflow:visible}.editor{flex:none;height:60vh}.results{flex:none;min-height:220px}.results__body,.workspace--quiz{overflow:visible}.track-hero,.track-layout{grid-template-columns:minmax(0,1fr)}.track-side{position:static}.reforge{grid-template-columns:minmax(0,1fr)}.reforge__workspace{min-height:0}}@media (max-width:640px){.brand__name,.crumbs a,.crumbs__sep:first-child,.rank-chip__name,.toolbar kbd{display:none}.chapter__header{flex-direction:column;gap:.75rem}.chapter__progress{flex:none;text-align:left}.level-row{flex-wrap:wrap}.level-row__meta{padding-left:calc(18px + .75rem);width:100%}.instructions__body,.instructions__header{padding-left:1rem;padding-right:1rem}}
/*# sourceMappingURL=main.ebf4a7d5.css.map*/