:root{--bg:#f6f7f2;--paper:#fff;--ink:#233d36;--muted:#687b6e;--green:#236b50;--mint:#d8edce;--line:#dfe6da;--soft:#edf2e7;--code-size:12px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #6ba67c;outline-offset:4px}[hidden]{display:none!important}.header{max-width:1440px;margin:auto;padding:23px 42px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);gap:20px}.brand{display:flex;align-items:center;gap:9px;font-size:24px;font-weight:720;letter-spacing:-.8px}.brand span{display:grid;place-items:center;width:33px;height:33px;background:var(--green);color:var(--mint);font-size:30px;border-radius:8px;line-height:1}.back{font-size:12px;font-weight:600;color:var(--green)}main{max-width:1440px;margin:auto;padding:0 42px}.intro{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:42px 0 30px}.eyebrow{font-size:9px;letter-spacing:1.7px;font-weight:700;color:#7a9173;margin:0 0 12px}h1{font-size:40px;line-height:1.12;letter-spacing:-1.5px;font-weight:650;margin:0 0 15px}.intro p:not(.eyebrow){color:var(--muted);font-size:13px;margin:0}.flow{display:flex;align-items:center;gap:14px;color:#5b765d;font-size:12px}.flow span{display:flex;flex-direction:column;gap:5px}.flow b{font-size:10px;color:#91a77c;font-weight:500}.flow i{font-style:normal;color:#acb99d;margin-top:18px}.sections{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:18px}.sections a{font-size:12px;padding:9px 13px;border-radius:7px;color:#65795f;border:1px solid transparent;white-space:nowrap}.sections a:hover{background:var(--soft)}.sections a[aria-current="page"]{background:#e2ecd9;border-color:#cfddc2;color:#365935;font-weight:650}.sections a span{font-size:9px;margin-right:5px;color:#7b946c}.sections a:last-child{margin-left:auto;border-color:var(--line)}.language-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:21px 0}.language-switch{display:flex;padding:4px;background:#e9eee4;border-radius:8px;gap:4px}.language-switch button{border:0;background:transparent;border-radius:5px;padding:7px 17px;font-size:12px;color:#6b7d62}.language-switch button[aria-pressed=true]{background:white;color:#305534;box-shadow:0 1px 4px #29402614;font-weight:650}.language-row p{color:#7d8a72;font-size:11px;margin:0}.workspace{display:grid;grid-template-columns:278px minmax(0,1fr);gap:26px;align-items:start}.explanation{padding:15px 0}.explanation h2{font-size:24px;line-height:1.2;margin:0 0 14px;letter-spacing:-.7px}.purpose{font-size:13px;color:#61725f;line-height:1.8}.explanation ol{padding-left:18px;font-size:12px;color:#63795e;margin:20px 0}.explanation li{margin-bottom:10px;padding-left:3px}.say{padding:18px;background:#e9efdf;border-left:3px solid #a3bf84;border-radius:0 7px 7px 0;margin:22px 0}.say span{font-size:8px;letter-spacing:1.2px;color:#7b9166;font-weight:700}.say p{font-size:13px;color:#43643f;line-height:1.7;margin:7px 0 0}dl{display:grid;grid-template-columns:auto 1fr;gap:10px 12px;font-size:11px;margin:22px 0}dt{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#54714b}dd{margin:0;color:#7c8876}.complexity{width:100%;border-collapse:collapse;font-size:11px}.complexity caption{text-align:left;font-size:12px;font-weight:600;margin-bottom:6px}.complexity td,.complexity th{border-bottom:1px solid var(--line);padding:8px 0;text-align:left}.complexity th{color:#8b9781;font-size:9px;font-weight:500}.complexity td:last-child{white-space:nowrap;padding-left:12px;color:#4f6d47}.complexity-note{font-size:10px;color:#84907a;line-height:1.7}.try{display:inline-block;font-size:11px;font-weight:650;margin-top:10px;color:var(--green)}.source-panel{border:1px solid var(--line);border-radius:11px;overflow:hidden;min-width:0;background:#fff}.source-top{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;gap:15px;border-bottom:1px solid #e8ede4}.source-top strong{font:600 12px ui-monospace,SFMono-Regular,Menlo,monospace;display:block}.source-top span{display:block;font-size:10px;color:#89977e;margin-top:4px}.code-actions{display:flex;align-items:center;gap:7px;flex-shrink:0}.code-actions button,.code-actions a{border:1px solid #e0e7d9;background:#f8faf5;border-radius:5px;padding:6px 9px;font-size:10px;color:#617655;white-space:nowrap}.code-actions button:hover,.code-actions a:hover{background:#eaf1e3}.code-legend{display:flex;gap:12px;justify-content:space-between;padding:10px 20px;background:#f9fbf6;font-size:9px;color:#91a084;border-bottom:1px solid #edf1e6}.code-legend i{display:inline-block;width:5px;height:5px;border-radius:50%;background:#649564;vertical-align:middle;margin-right:5px}.source-code{height:650px;overflow:auto;background:#fefefc;padding:18px 0;scrollbar-color:#ccd9c4 #f6f8f1}.code-line{display:flex;min-width:max-content;font:var(--code-size)/1.85 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#35473d;padding-right:24px;white-space:pre}.line-number{display:inline-block;min-width:54px;position:sticky;left:0;padding:0 14px 0 8px;text-align:right;user-select:none;background:#fefefc;color:#b0baa7;font-size:10px;border-right:1px solid #eef2e8;margin-right:18px}.tok-comment{color:#69835c;font-style:italic}.tok-string{color:#a67440}.tok-keyword{color:#4677a0}.tok-number{color:#9874a0}.source-foot{padding:12px 20px;margin:0;font-size:10px;color:#86937a;background:#f9fbf6;border-top:1px solid #edf1e6}.files-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:36px 0 26px}h2{font-size:27px;letter-spacing:-.7px;font-weight:600;margin:0}h3{font-size:16px;font-weight:650;margin:0 0 10px}.files-heading p:not(.eyebrow){font-size:13px;color:#7f8c75;margin:7px 0 0}.primary{display:inline-block;background:var(--green);color:#fff;border-radius:7px;padding:12px 18px;font-size:12px;font-weight:600;white-space:nowrap}.resources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.resource{background:#fff;border:1px solid var(--line);border-radius:10px;padding:22px;display:flex;flex-direction:column}.file-type{font-size:9px;font-weight:650;letter-spacing:1px;color:#79916b;margin-bottom:16px}.resource h3{font-size:15px;margin:0 0 8px}.resource p{font-size:12px;color:#89977e;margin:0 0 18px;line-height:1.8;flex-grow:1}.resource a{font-size:11px;font-weight:600;color:var(--green);display:inline-block}.run-help{display:grid;grid-template-columns:1fr 1fr;gap:40px;padding:30px;margin:26px 0;background:#edf2e6;border-radius:10px}.run-help p,.run-help li{font-size:12px;color:#728465}.run-help ol{padding-left:18px}.run-help li{margin-bottom:9px}.run-help pre{font:12px/1.9 ui-monospace,SFMono-Regular,Menlo,monospace;background:#fff;border:1px solid #dce5d2;border-radius:6px;padding:13px 17px;overflow:auto;color:#56704b}.run-help small{font-size:10px;color:#87997b}footer{display:flex;gap:20px;justify-content:space-between;padding:28px 0;margin-top:36px;border-top:1px solid var(--line);font-size:10px;color:#96a18d}#notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:10px 20px;background:#244d3d;color:#fff;border-radius:7px;box-shadow:0 3px 15px #29402620;font-size:12px;opacity:0;pointer-events:none;transition:opacity .15s}#notice.visible{opacity:1}
@media(min-width:1600px){.source-code{height:750px}}
@media(max-width:1050px){.flow{display:none}.sections a:last-child{margin-left:0}.workspace{grid-template-columns:235px minmax(0,1fr);gap:22px}.source-top{align-items:flex-start;flex-direction:column}.resources{grid-template-columns:repeat(2,minmax(0,1fr))}.code-legend span:last-child{display:none}}
@media(max-width:760px){.header{padding:20px}.brand{font-size:22px}.back{font-size:11px}main{padding:0 20px}.intro{padding:30px 0 24px}h1{font-size:34px}.intro p:not(.eyebrow){font-size:12px}.sections{gap:4px;padding-bottom:16px}.sections a{font-size:10px;padding:7px 9px}.workspace{grid-template-columns:1fr;gap:15px}.explanation{padding:0}.explanation h2{font-size:25px}.explanation ol{margin:12px 0}.say{margin:18px 0}.explanation dl{margin:16px 0}.complexity{font-size:12px}.try{margin:6px 0 16px}.language-row{align-items:flex-start;flex-direction:column;gap:9px;padding:18px 0}.source-code{height:520px}.source-top{padding:15px}.source-foot{padding:12px 15px}.code-legend{padding:10px 15px}:root{--code-size:11px}.line-number{min-width:40px;margin-right:12px;padding-right:10px}.source-top .code-actions{flex-wrap:wrap}.files-heading{align-items:flex-start;flex-direction:column;margin-top:26px}.resources{grid-template-columns:1fr}.run-help{grid-template-columns:1fr;gap:23px;padding:20px}.run-help pre{font-size:10px}footer{flex-direction:column;gap:5px;margin-top:26px;font-size:9px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
