.guide-section .kit-label,.guide-section .key-idea>.label,.guide-section .analogy>.label,.guide-section .checkpoint>.label,.guide-section .recap>.label{font-family:var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--accent);margin-bottom:8px;font-size:11px;font-weight:600;display:block}.guide-section .key-idea{background:color-mix(in srgb, var(--accent) 8%, var(--bg-card));border:1px solid color-mix(in srgb, var(--accent) 25%, var(--bg-card));border-radius:8px;margin:8px 0 28px;padding:20px 24px}.guide-section .key-idea p{color:var(--ink);max-width:68ch;margin:0;font-size:1.12em;line-height:1.55}.guide-section .key-idea p+p{color:var(--ink-dim);margin-top:8px;font-size:1em}.guide-section .analogy{border:1px dashed var(--rule);border-radius:8px;gap:2px;margin:20px 0;padding:16px 20px;display:grid}.guide-section .analogy>.label{color:var(--purple)}.guide-section .analogy p{color:var(--ink);max-width:68ch;margin:0}.guide-section ol.steps{counter-reset:kit-step;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:20px 0 24px;padding:0;list-style:none;display:grid}.guide-section ol.steps>li{counter-increment:kit-step;border:1px solid var(--rule);background:var(--bg-card);color:var(--ink-dim);border-radius:8px;margin:0;padding:14px;font-size:.9em;line-height:1.5;display:block;position:relative}.guide-section ol.steps>li:before{content:counter(kit-step);width:24px;height:24px;font-family:var(--mono);color:var(--bg-card);background:var(--accent);border-radius:50%;place-items:center;margin-bottom:8px;font-size:12px;font-weight:600;display:grid}.guide-section ol.steps>li::marker{content:none}.guide-section ol.steps>li>strong{color:var(--ink);margin-bottom:2px;font-size:1.02em;display:block}.guide-section ol.steps>li.is-key{border-color:var(--accent)}.guide-section .compare{flex-wrap:wrap;gap:12px;margin:20px 0;display:flex}.guide-section .compare>.compare-col{flex:240px}.guide-section .compare-col{border:1px solid var(--rule);background:var(--bg-card);border-radius:8px;align-content:start;gap:8px;padding:16px 18px;display:grid}.guide-section .compare-col.is-pick{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 6%, var(--bg-card))}.guide-section .compare-h{color:var(--ink);justify-content:space-between;align-items:baseline;gap:8px;font-size:1.02em;font-weight:600;display:flex}.guide-section .compare-h small{font-family:var(--mono);color:var(--ink-faint);letter-spacing:.04em;font-size:11px;font-weight:500}.guide-section .compare-col p{margin:0;font-size:.93em}.guide-section .compare-col ul{margin:0}.guide-section .compare-col ul>li{margin-bottom:4px;font-size:.93em}.guide-section .compare-verdict{background:var(--bg-code);color:var(--ink);border-radius:6px;flex:100%;margin:0;padding:10px 14px;font-size:.93em}.guide-section .trace{border:1px solid var(--rule);background:var(--bg-card);border-radius:8px;margin:20px 0;overflow:hidden}.guide-section .trace-title{color:var(--ink);border-bottom:1px solid var(--rule);background:var(--bg-code);padding:10px 16px;font-size:.92em;font-weight:600}.guide-section .trace-row{border-top:1px solid var(--rule);grid-template-columns:96px minmax(0,1fr);align-items:start;gap:12px;padding:10px 16px;display:grid}.guide-section .trace-title+.trace-row,.guide-section .trace>.trace-row:first-child{border-top:0}.guide-section .trace-role{font-family:var(--mono);letter-spacing:.04em;--role:var(--ink-faint);color:var(--role);background:color-mix(in srgb, var(--role) 12%, var(--bg-card));border-radius:4px;justify-self:start;margin-top:2px;padding:3px 8px;font-size:11px;font-weight:600}.guide-section .trace-row[data-role=system] .trace-role{--role:var(--purple)}.guide-section .trace-row[data-role=user] .trace-role{--role:var(--blue)}.guide-section .trace-row[data-role=assistant] .trace-role{--role:var(--warning-ink)}.guide-section .trace-row[data-role=tool] .trace-role{--role:var(--green)}.guide-section .trace-row[data-role=app] .trace-role{--role:var(--accent)}.guide-section .trace-row[data-role=error] .trace-role{--role:var(--red)}.guide-section .trace-msg{min-width:0;color:var(--ink);font-size:.93em;line-height:1.55}.guide-section .trace-msg p{color:var(--ink);margin:0}.guide-section .trace-msg pre{margin:6px 0 0;padding:10px 12px;font-size:12.5px}.guide-section .trace-note{color:var(--ink-faint);margin-top:4px;font-size:.86em;display:block}@media (max-width:560px){.guide-section .trace-row{grid-template-columns:1fr;gap:6px}}.guide-section .stats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:20px 0;display:grid}.guide-section .stat{border:1px solid var(--rule);background:var(--bg-card);border-radius:8px;gap:2px;padding:14px 16px;display:grid}.guide-section .stat b{letter-spacing:-.02em;color:var(--accent);font-variant-numeric:tabular-nums;font-size:1.7em;font-weight:600;line-height:1.1}.guide-section .stat span{color:var(--ink-faint);font-size:.86em;line-height:1.4}.guide-section dl.terms{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px 20px;margin:20px 0;display:grid}.guide-section dl.terms>div{border-left:2px solid var(--accent);padding:2px 0 2px 12px}.guide-section dl.terms dt{color:var(--ink);font-size:.97em;font-weight:600}.guide-section dl.terms dd{color:var(--ink-dim);margin:2px 0 0;font-size:.9em;line-height:1.5}.guide-section .checkpoint{border:1px solid var(--rule);background:var(--bg-card);border-radius:8px;margin:32px 0 20px;padding:20px 22px}.guide-section .checkpoint details{border-top:1px solid var(--rule);padding:12px 0}.guide-section .checkpoint details:last-child{padding-bottom:0}.guide-section .checkpoint summary{cursor:pointer;color:var(--ink);padding-left:30px;font-weight:600;list-style:none;display:block;position:relative}.guide-section .checkpoint summary::-webkit-details-marker{display:none}.guide-section .checkpoint summary:before{content:"?";width:20px;height:20px;font-family:var(--mono);color:var(--accent);border:1.5px solid var(--accent);border-radius:50%;place-items:center;margin-top:3px;font-size:12px;font-weight:600;display:grid;position:absolute;top:0;left:0}.guide-section .checkpoint details[open] summary:before{content:"✓";color:var(--bg-card);background:var(--accent)}.guide-section .checkpoint summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}.guide-section .checkpoint details>:not(summary){margin:8px 0 0 30px}.guide-section .checkpoint details p{font-size:.95em}.guide-section .recap{background:var(--bg-code);border-radius:8px;margin:28px 0 8px;padding:18px 22px}.guide-section .recap ul{margin:0}.guide-section .recap ul>li{color:var(--ink);margin-bottom:4px}.guide-section .fig-note{color:var(--ink-faint);margin:-6px 0 18px;font-size:.86em}.guide-section .tw{border:1px solid var(--rule);background:var(--bg-card);font-family:var(--sans);color:var(--ink);border-radius:8px;gap:14px;margin:24px 0;padding:18px 20px;display:grid}.guide-section .tw:focus-within{border-color:color-mix(in srgb, var(--accent) 45%, var(--rule))}.guide-section .tw-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 16px;display:flex}.guide-section .tw-title{color:var(--ink);font-size:.97em;font-weight:600}.guide-section .tw-kind{font-family:var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--accent);font-size:10.5px}.guide-section .tw-note{color:var(--ink-faint);margin:0;font-size:.86em;line-height:1.5}.guide-section .tw-row{flex-wrap:wrap;align-items:center;gap:10px 14px;display:flex}.guide-section .tw-btn{font:500 13.5px/1 var(--sans);color:var(--ink);background:var(--bg-card);border:1px solid var(--rule);cursor:pointer;border-radius:6px;padding:8px 12px}.guide-section .tw-btn:hover{border-color:var(--accent);color:var(--accent)}.guide-section .tw-btn.primary{background:var(--accent);border-color:var(--accent);color:var(--bg-card)}.guide-section .tw-btn.primary:hover{color:var(--bg-card);filter:brightness(1.08)}.guide-section .tw-btn:focus-visible,.guide-section .tw input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.guide-section .tw input[type=range]{accent-color:var(--accent);width:100%}.guide-section .tw-ctl{color:var(--ink-faint);flex:200px;gap:4px;font-size:13px;display:grid}.guide-section .tw-ctl-top{justify-content:space-between;gap:8px;display:flex}.guide-section .tw-ctl output{font-family:var(--mono);color:var(--ink);font-variant-numeric:tabular-nums}.guide-section .tw-seg{flex-wrap:wrap;gap:4px;display:inline-flex}.guide-section .tw-seg button{font:500 12.5px var(--mono);border:1px solid var(--rule);background:var(--bg-card);color:var(--ink);cursor:pointer;font-variant-numeric:tabular-nums;border-radius:6px;padding:6px 10px}.guide-section .tw-seg button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--bg-card)}.guide-section .tw-mono{font-family:var(--mono);font-variant-numeric:tabular-nums;font-size:12.5px}.guide-section .tw-payload{font-family:var(--mono);background:var(--bg-code);color:var(--ink);white-space:pre;min-height:6em;box-shadow:none;border:0;border-radius:6px;margin:0;padding:12px 14px;font-size:12.5px;line-height:1.55;overflow-x:auto}.guide-section .tw-scroll{overflow-x:auto}.guide-section .tw-bars{gap:6px;display:grid}.guide-section .tw-bar{font-family:var(--mono);grid-template-columns:minmax(70px,120px) 1fr 56px;align-items:center;gap:10px;font-size:13px;display:grid}.guide-section .tw-bar-track{background:var(--bg-code);border-radius:4px;height:16px;overflow:hidden}.guide-section .tw-bar-fill{background:var(--accent);border-radius:4px;height:100%}.guide-section .tw-bar.is-picked .tw-bar-fill{background:var(--warning-ink)}.guide-section .tw-bar-pct{text-align:right;color:var(--ink-faint);font-variant-numeric:tabular-nums}.guide-section .tw-text{font-family:var(--mono);background:var(--bg-code);border-radius:6px;padding:10px 12px;font-size:14px;line-height:1.6}.guide-section .tw-text .gen{color:var(--accent);font-weight:600}.guide-section .tw-text .cursor{background:var(--accent);vertical-align:-2px;width:8px;height:1em;margin-left:2px;display:inline-block}.guide-section .tw-budget{padding-block:6px;position:relative}.guide-section .tw-budget-bar{background:var(--bg-code);border-radius:6px;height:36px;display:flex;overflow:hidden}.guide-section .tw-budget-bar>div{min-width:0;height:100%}.guide-section .tw-budget-limit{background:var(--ink);width:2px;position:absolute;top:0;bottom:0}.guide-section .tw-budget-over{pointer-events:none;background:repeating-linear-gradient(45deg, color-mix(in srgb, var(--red) 55%, transparent) 0 5px, transparent 5px 10px);position:absolute;top:6px;bottom:6px;right:0}.guide-section .tw-legend{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:6px 16px;font-size:13px;display:grid}.guide-section .tw-legend>div{color:var(--ink-dim);align-items:center;gap:8px;display:flex}.guide-section .tw-legend i{border-radius:2px;flex:none;width:10px;height:10px}.guide-section .tw-legend .v{font-family:var(--mono);color:var(--ink-faint);font-variant-numeric:tabular-nums;margin-left:auto;font-size:12.5px}.guide-section .tw-status{background:var(--bg-code);color:var(--ink);border-radius:6px;padding:10px 12px;font-size:14px}.guide-section .tw-status.bad{background:color-mix(in srgb, var(--red) 12%, var(--bg-card))}.guide-section .tw-units{grid-template-columns:repeat(20,1fr);gap:2px;width:100%;max-width:340px;display:grid}.guide-section .tw-units>i{aspect-ratio:1;background:color-mix(in srgb, var(--ink) 9%, var(--bg-card));border-radius:1.5px;transition:background .15s}.guide-section .tw-units>i.on{background:var(--accent)}.guide-section .tw-units-wrap{flex-wrap:wrap;align-items:flex-start;gap:20px;display:flex}.guide-section .tw-units-stats{color:var(--ink-dim);flex:180px;gap:8px;font-size:14px;display:grid}.guide-section .tw-big{letter-spacing:-.02em;color:var(--accent);font-variant-numeric:tabular-nums;font-size:2.2em;font-weight:600;line-height:1}.guide-section .tw-race{gap:10px;display:grid}.guide-section .tw-lane{grid-template-columns:minmax(90px,150px) 1fr minmax(56px,auto);align-items:center;gap:10px;font-size:13.5px;display:grid}.guide-section .tw-lane-name{color:var(--ink);font-weight:500;line-height:1.3}.guide-section .tw-lane-track{background:var(--bg-code);border-radius:4px;height:26px;position:relative;overflow:hidden}.guide-section .tw-seg-block{font:500 11px/20px var(--mono);color:var(--bg-card);white-space:nowrap;text-overflow:ellipsis;border-radius:3px;padding:0 6px;transition:opacity .15s;position:absolute;top:3px;bottom:3px;overflow:hidden}.guide-section .tw-lane-time{font-family:var(--mono);color:var(--ink-faint);text-align:right;font-variant-numeric:tabular-nums;font-size:12.5px}.guide-section .tw-lane-time.done{color:var(--ink);font-weight:600}.guide-section .tw-axis{height:18px;margin-left:calc(min(150px,30%) + 10px);position:relative}.guide-section .tw-playhead{background:var(--ink);pointer-events:none;width:2px;position:absolute;top:0;bottom:0}.guide-section .tw-chips{flex-wrap:wrap;gap:6px;display:flex}.guide-section .tw-chip{font:500 14px var(--mono);color:var(--ink);border:1px solid var(--rule);background:var(--bg-card);cursor:pointer;border-radius:6px;justify-items:center;gap:1px;min-width:44px;padding:6px 8px 4px;display:grid}.guide-section .tw-chip small{color:var(--ink-faint);font-variant-numeric:tabular-nums;font-size:10.5px;font-weight:400}.guide-section .tw-chip.sel{border-color:var(--warning-ink);box-shadow:0 0 0 1px var(--warning-ink) inset}.guide-section .tw-chip.masked{opacity:.45}@media (max-width:560px){.guide-section .tw{padding:14px}.guide-section .tw-lane{grid-template-columns:1fr;gap:4px}.guide-section .tw-axis{margin-left:0}.guide-section .tw-bar{grid-template-columns:76px 1fr 48px}}@media (prefers-reduced-motion:reduce){.guide-section .tw-bar-fill,.guide-section .tw-budget-bar>div,.guide-section .tw-budget-limit,.guide-section .tw-budget-over,.guide-section .tw-units>i{transition:none}}.guide-section .next-up{border-top:1px solid var(--rule);color:var(--ink-dim);margin:20px 0 0;padding-top:14px;font-size:.95em}.guide-section .next-up strong{color:var(--ink)}
.theme-lab{--bg:#f7f8fa;--bg-2:#eef1f4;--bg-elevated:#fff;--fg:#161a1f;--fg-muted:#56606b;--fg-subtle:#6b7682;--border:#dde2e8;--border-strong:#c9d0d8;--accent:#0f766e;--accent-hover:#0b5a54;--accent-soft:#e1f2ef;--success:#1a7f4b;--warning:#b26a00;--danger:#c8322b}:root[data-theme=dark] .theme-lab{--bg:#0f1215;--bg-2:#12161a;--bg-elevated:#171b20;--fg:#e4e8ec;--fg-muted:#97a1ac;--fg-subtle:#7d8894;--border:#262c33;--border-strong:#333b44;--accent:#2dd4bf;--accent-hover:#5eead4;--accent-soft:#10302c;--success:#4cc38a;--warning:#e5a03a;--danger:#f2735f}.theme-lab .font-display{font-family:var(--font-plex-sans), "IBM Plex Sans", system-ui, sans-serif;letter-spacing:-.025em;font-weight:600}.theme-lab .guide-section{--ink:#161a1f;--ink-dim:#2f3740;--ink-faint:#56606b;--bg-card:#fff;--bg-code:#f2f4f7;--rule:#dde2e8;--bg-codeblock:#161a1f;--codeblock-ink:#e4e8ec;--code-key:#f4a259;--code-str:#8bd3c7;--code-comment:#8e99a6;--blue:#1f5fa8;--green:#1a7f4b;--cyan:#0e7490;--purple:#6d4ac4;--pink:#b8327a;--red:#c8322b;--warning-ink:#9a5b00;--blue-solid:#1f5fa8;--green-solid:#1a7f4b;--cyan-solid:#0e7490;--purple-solid:#6d4ac4;--warning-solid:#9a5b00;--red-solid:#b42318;--pink-solid:#a3286b;--accent-soft:var(--accent-hover);--serif:var(--font-plex-sans), "IBM Plex Sans", system-ui, sans-serif;--sans:var(--font-plex-sans), "IBM Plex Sans", system-ui, sans-serif;--mono:var(--font-plex-mono), "IBM Plex Mono", ui-monospace, monospace;box-shadow:none;font-size:17px;line-height:1.7}:root[data-theme=dark] .theme-lab .guide-section{--ink:#e4e8ec;--ink-dim:#c9d1da;--ink-faint:#97a1ac;--bg-card:#171b20;--bg-code:#1e242a;--rule:#262c33;--bg-codeblock:#0b0e11;--codeblock-ink:#e4e8ec;--code-key:#f4a259;--code-str:#8bd3c7;--code-comment:#8894a1;--blue:#7cb7ff;--green:#4cc38a;--cyan:#22d3ee;--purple:#b39dfa;--pink:#f472b6;--red:#fb7185;--warning-ink:#f2c063;--blue-solid:#1d4ed8;--green-solid:#047857;--cyan-solid:#0e7490;--purple-solid:#6d28d9;--warning-solid:#a16207;--red-solid:#b91c1c;--pink-solid:#9d174d}.theme-lab .guide-section h2{letter-spacing:-.025em;font-size:34px;font-weight:600;line-height:1.12}.theme-lab .guide-section h2 em{font-style:normal;font-weight:600}.theme-lab .guide-section .section-num,.theme-lab .guide-section h2 .num{background:var(--accent);color:var(--bg-card);border-radius:6px}.theme-lab .guide-section .lede,.theme-lab .guide-section .section-subtitle{color:var(--ink-faint);background:0 0;border-left:0;max-width:68ch;margin-bottom:28px;padding:0;font-size:18px;font-style:normal;line-height:1.55}.theme-lab .guide-section{counter-reset:lesson-step}.theme-lab .guide-section>h3{counter-increment:lesson-step;letter-spacing:-.015em;border-left:0;border-top:1px solid var(--rule);margin:56px 0 14px;padding-top:24px;padding-left:0;font-size:23px;font-weight:600;line-height:1.25}.theme-lab .guide-section>h3:before{content:counter(lesson-step, decimal-leading-zero);font-family:var(--mono);letter-spacing:.08em;color:var(--accent);margin-bottom:6px;font-size:12px;font-weight:500;display:block}.theme-lab .guide-section h4{letter-spacing:.1em;color:var(--ink-faint);background:0 0;margin:28px 0 10px;padding:0;font-size:11.5px;display:block}.theme-lab .guide-section>p,.theme-lab .guide-section>ul,.theme-lab .guide-section>ol:not(.steps){max-width:72ch}.theme-lab .guide-section p strong,.theme-lab .guide-section li strong{background:0 0;padding:0;font-weight:600}.theme-lab .guide-section a{color:var(--accent);text-underline-offset:3px;border-bottom:0;text-decoration:underline;text-decoration-thickness:1px}.theme-lab .guide-section a:hover{color:var(--accent-hover)}.theme-lab .guide-section ol>li::marker{color:var(--accent)}.theme-lab .guide-section code{background:var(--bg-code);border:1px solid var(--rule);color:var(--ink);font-weight:500}.theme-lab .guide-section pre:not(.visual-diagram):not(.diagram){--ink:#e4e8ec;--ink-dim:#c9d1da;--ink-faint:#8e99a6;--accent:#5eead4;--blue:#7cb7ff;--green:#4cc38a;--purple:#b39dfa;--red:#fb7185;--rule:#2a3139;background:var(--bg-codeblock);color:var(--codeblock-ink);box-shadow:none;border:0;border-radius:6px;font-size:13.5px}.theme-lab .guide-section pre:not(.visual-diagram):not(.diagram) code{color:var(--codeblock-ink);font-size:13.5px}.theme-lab .guide-section pre code{background:0 0;border:0;padding:0}.theme-lab .guide-section .code-collapse{border-color:var(--rule);border-radius:6px}.theme-lab .guide-section .code-collapse pre{border-left:0;border-image:}.theme-lab .guide-section .code-collapse-toggle{color:var(--ink);background:var(--bg-code);border-left:0}.theme-lab .guide-section .code-collapse-toggle:hover{background:color-mix(in srgb, var(--accent) 10%, var(--bg-code));color:var(--accent)}.theme-lab .guide-section .callout{border:1px solid color-mix(in srgb, var(--accent) 30%, transparent);box-shadow:none;background:color-mix(in srgb, var(--accent) 7%, var(--bg-card));border-radius:6px}.theme-lab .guide-section .callout:before{content:none}.theme-lab .guide-section .callout.warn{border-color:color-mix(in srgb, var(--red) 30%, transparent);background:color-mix(in srgb, var(--red) 7%, var(--bg-card))}.theme-lab .guide-section .callout.good{border-color:color-mix(in srgb, var(--green) 30%, transparent);background:color-mix(in srgb, var(--green) 7%, var(--bg-card))}.theme-lab .guide-section .callout.info{border-color:color-mix(in srgb, var(--blue) 30%, transparent);background:color-mix(in srgb, var(--blue) 7%, var(--bg-card))}.theme-lab .guide-section .callout .label{letter-spacing:.1em;font-size:11px}.theme-lab .guide-section .callout p:last-child{margin-bottom:0}.theme-lab .guide-section table{box-shadow:none;border-radius:6px;font-size:15px}.theme-lab .guide-section th{border-bottom:1px solid var(--rule);color:var(--ink-faint);background:var(--bg-code);letter-spacing:.08em;font-size:11px}.theme-lab .guide-section tr:hover td,.theme-lab .guide-section tbody tr:nth-child(2n) td{background:0 0}.theme-lab .guide-section tbody tr:hover td{background:color-mix(in srgb, var(--accent) 4%, var(--bg-card))}.theme-lab .guide-section .mermaid-wrapper{box-shadow:none;border:1px solid var(--rule);border-image:;border-radius:8px;padding:18px 20px 12px}.theme-lab .guide-section .diagram-title{font-family:var(--sans);letter-spacing:0;text-transform:none;color:var(--ink);font-size:14px;font-weight:600}.theme-lab .guide-section .mermaid-svg svg text{font-family:var(--sans)!important}.theme-lab .guide-section .mermaid-svg svg text[font-family*=mono],.theme-lab .guide-section .mermaid-svg svg [font-family*=mono] text{font-family:var(--mono)!important}.theme-lab .guide-section .mermaid-svg::-webkit-scrollbar-thumb{background:color-mix(in srgb, var(--accent) 25%, transparent)}.theme-lab .guide-section .animation-wrapper{border-top:1px solid var(--rule);box-shadow:none;border-image:;border-radius:8px}.theme-lab .guide-section .comparison-card{box-shadow:none}.theme-lab article .guide-section{background:0 0;border:0;border-radius:0;padding:4px 0 0;animation:none}
