:root{color-scheme:light;--ink:#213b33;--pine:#174436;--gold:#d7b77a;--cream:#fbf8f0;--paper:#fffdfa;--line:#e6e3d9;--quiet:#75847b;--green:#168760;--red:#ac584c;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:linear-gradient(180deg,#f7f8f2,#f7f4ed);color:var(--ink);font-size:14px}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #a99155;outline-offset:2px}.skip{position:absolute;left:10px;top:-55px;background:white;padding:12px;z-index:15}.skip:focus{top:10px}.shell{max-width:1470px;margin:auto;padding:0 26px}.mast{height:66px;border-bottom:1px solid #dedfd6;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{text-decoration:none;font-size:16px;font-weight:940;letter-spacing:-.05em}.brand span{color:#b69154}.brand small{font-size:11px;color:#7d8d80;letter-spacing:0;font-weight:650}.headright{display:flex;gap:18px;align-items:center;font-size:11px;font-weight:750;color:#74847b}.headright a{text-decoration:none;border:1px solid #d5dad1;border-radius:8px;padding:9px 11px;background:#fff}.intro{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;column-gap:25px;padding:17px 0 14px}.eyebrow,.smallcaps{font-size:10px;letter-spacing:.13em;font-weight:900;color:#a58148}.eyebrow b{color:#697b6d}.intro h1{font-size:clamp(30px,3.3vw,46px);letter-spacing:-.075em;line-height:1.05;margin:7px 0 0;font-weight:920}.intro h1 em{font:italic .98em Georgia,serif;color:#aa8349;letter-spacing:-.06em}.intro p{margin:5px 0 0;max-width:510px;color:#65796c;font-size:12px;line-height:1.4}.topnav{display:flex;gap:6px;align-items:center;margin-bottom:12px}.mode{border:1px solid #d9dfd5;background:#fff;padding:10px 14px;border-radius:9px;font-size:12px;font-weight:820;color:#567465;min-height:40px}.mode.active{background:var(--pine);color:white;border-color:var(--pine)}.savehint{margin-left:auto;color:#87948a;font-size:10px;font-weight:700}.workbench{display:grid;grid-template-columns:minmax(290px,385px) minmax(0,1fr);gap:12px;align-items:start}.controlpanel,.visualpanel{min-width:0;border:1px solid #e2e4d9;background:var(--paper);box-shadow:0 8px 35px #192d1910;border-radius:17px;padding:19px}.controlpanel{background:#fffefa}.smallcaps{color:#a28a5a;font-size:10px}.worktop{min-height:104px}.challengeHead{display:flex;align-items:center;justify-content:space-between;margin-top:8px}.levelnum,.track{font-size:10px;font-weight:850;letter-spacing:.05em;color:#507362}.track{border:1px solid #d8e1d6;border-radius:20px;padding:3px 9px}.controlpanel h2{font-size:25px;letter-spacing:-.05em;line-height:1.12;margin:8px 0 6px}.prompt{font-size:12px;color:#64796b;line-height:1.45;min-height:30px;margin:0}.progressline{background:#edf0e9;border-radius:15px;height:5px;overflow:hidden;margin:7px 0 10px}.progressline>div{background:#bf9e60;height:100%;width:2%;transition:width .2s}.lessonmove{display:flex;gap:7px;margin-bottom:17px}.ghost,.secondary,.copybtn,.textbutton{background:white;border:1px solid #d8e0d7;color:#3e6553;border-radius:9px;font-size:11px;font-weight:840;min-height:36px;padding:7px 10px}.lessonmove .ghost{flex:1}.fieldlabel{display:flex;justify-content:space-between;gap:8px;font-size:10px;font-weight:900;letter-spacing:.09em;color:#587a66;margin:0 0 8px}.fieldlabel span{color:#9ca69d;text-transform:none;letter-spacing:0}.editor{display:flex;align-items:center;gap:10px;background:#163d32;color:white;border-radius:11px;padding:0 11px;height:54px;border:2px solid #163d32}.editor:focus-within{border-color:#bfa16f}.prompticon{color:#ddc089;font-size:19px}.editor input{min-width:0;flex:1;background:transparent;border:0;outline:0;color:white;font:16px ui-monospace,SFMono-Regular,Menlo,monospace;width:100%}.editor input::placeholder{color:#a2b8ab;font-size:12px}.editor button{border:0;background:#ffffff16;color:#e5eee9;border-radius:5px;width:25px;height:27px}.liveFeedback{font-size:11px;color:#627967;min-height:29px;padding:8px 2px 3px}.liveFeedback.error{color:var(--red)}.matchsummary{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:7px 0 12px}.matchsummary div{border:1px solid #e4e6df;background:#fafaf4;padding:9px 8px;border-radius:9px;display:flex;gap:3px;align-items:center;flex-direction:column}.matchsummary b{font-size:17px;letter-spacing:-.05em}.matchsummary small{font-size:9px;color:#819084;text-transform:uppercase;font-weight:850;letter-spacing:.07em}.mainActions{display:flex;gap:7px}.primary{background:#164c3b;border:1px solid #164c3b;color:white;font-size:12px;font-weight:860;padding:10px 13px;border-radius:9px;min-height:42px;flex:1}.primary span{color:#e8cc98;margin-left:5px}.mainActions .secondary{min-height:42px}.hintbox,.resultmsg{font-size:11px;line-height:1.5;border-radius:8px;color:#4e725c}.hintbox{padding:10px 11px;margin-top:9px;border:1px solid #e1d5bb;background:#faf3e3}.resultmsg{margin-top:7px;min-height:18px}.resultmsg.success{color:#127449;font-weight:840}.resultmsg.fail{color:#a75b43}.visualhead{display:flex;justify-content:space-between;align-items:center;gap:6px}.visualhead h2{font-size:21px;letter-spacing:-.05em;margin:6px 0 0}.engine{font-size:9px;letter-spacing:.06em;border:1px solid #e0e7dc;padding:6px 8px;border-radius:20px;color:#7e927f;font-weight:850;white-space:nowrap}.engine i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#33a675;margin-right:4px}.targetLegend{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:10px;color:#7e8d80;margin:12px 0}.targetLegend span{display:inline-flex;align-items:center;gap:5px}.targetLegend i{height:11px;width:11px;border-radius:3px;border:2px solid #c2c7ba}.targetLegend .wanted{border-color:#d2a74c}.targetLegend .selected{border-color:#398cc2}.targetLegend .both{border-color:#30966e;background:#bcf3dd}.stage{min-height:245px;padding:18px;border:1px dashed #cedacc;background:radial-gradient(ellipse at 40% 0%,#f6f9f2,transparent 65%),#f8faf5;border-radius:14px;display:flex;flex-wrap:wrap;gap:9px;align-content:flex-start;align-items:flex-start;overflow:auto;max-height:405px}.stage :is(plate,cup,fruit,bowl,apple,orange,berry,box,card,chip,button,div,span,p,section,article,ul,li,nav,form,label,input,small,em,strong){transition:background .18s,border-color .18s,box-shadow .18s}.stage :is(plate,cup,fruit,bowl,apple,orange,berry,box,card,chip,div,span,section,article,ul,li,nav,form,label,p){display:inline-flex;flex-wrap:wrap;gap:5px;align-items:center;justify-content:center;min-height:49px;min-width:73px;padding:9px;border:2px solid #d8e3d7;border-radius:12px;background:#fffdfa;color:#496450;font:700 12px ui-monospace,Menlo,monospace;position:relative}.stage :is(bowl,section,article,ul,nav,form){background:#e9f1e8;border-color:#c0d3c2;min-width:140px}.stage :is(plate,apple,orange,berry,fruit,cup){border-radius:40px;min-width:74px}.stage :is(li){min-width:65px}.stage :is(input){width:90px;max-width:90px;min-height:35px;accent-color:#245a43}.stage :is(button){padding:9px 12px;border-radius:10px;border:2px solid #d6e0d8;background:white;min-height:44px}.stage [data-match="true"]{outline:3px solid #4095c1;outline-offset:2px;box-shadow:0 0 0 6px #d5eff9aa!important}.stage [data-wanted="true"]{border-color:#c99e47!important;box-shadow:0 0 0 4px #f4e6bf!important}.stage [data-match="true"][data-wanted="true"]{outline:3px solid #25a674;box-shadow:0 0 0 5px #cef1db!important;background:#f2fff7!important}.stage [data-wanted="false"]{opacity:.93}.stage .inspect{outline:3px dotted #b68c50!important;outline-offset:4px}.stageFoot{display:flex;justify-content:space-between;gap:10px;align-items:center;color:#738577;font-size:11px;padding:12px 2px;border-bottom:1px solid #e5ebe2}.textbutton{border:0;background:transparent;text-decoration:underline;padding:0;min-height:25px;color:#47755b}.htmlpanel{padding-top:14px}.htmlpanel pre{background:#172d29;color:#dce9db;font-size:11px;line-height:1.6;padding:13px;border-radius:10px;white-space:pre-wrap;word-break:break-word;max-height:250px;overflow:auto}.explainrow{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 0 2px}.explainrow p{color:#6b8070;font-size:11px;line-height:1.5;margin:6px 0 0;overflow-wrap:anywhere}.copybtn{flex-shrink:0}.playExtra{margin-top:16px;border-top:1px solid #e9ebe4;padding-top:15px}.playExtra select,.playExtra textarea{width:100%;padding:10px;background:white;color:#28493c;border:1px solid #cfd9ce;border-radius:8px;margin-bottom:14px}.playExtra textarea{font:11px/1.5 ui-monospace,monospace;resize:vertical}.playExtra .full{width:100%}.micro{font-size:10px;color:#86998a;line-height:1.5}.learnBelow{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding:37px 0 30px}.belowIntro h2{font-size:26px;letter-spacing:-.055em;margin:9px 0}.belowIntro p{font-size:12px;line-height:1.75;color:#647969}.reference details{background:#fff;border:1px solid #e2e4d9;border-radius:12px;margin-bottom:8px;padding:14px}.reference summary{font-size:13px;font-weight:850;cursor:pointer;display:flex;justify-content:space-between;gap:10px}.reference summary span{color:#9aab99;font-size:10px}.reference p{font-size:12px;line-height:1.7}.chips{display:flex;flex-wrap:wrap;gap:7px;padding-top:12px}.chips button{border:1px solid #d8e0d7;background:#f6f8f3;color:#41684f;border-radius:7px;font:11px ui-monospace,monospace;padding:8px}footer{border-top:1px solid #e1e4dc;padding:20px 0 30px;color:#7d9080;font-size:11px}dialog{border:1px solid #dbe2d9;border-radius:16px;box-shadow:0 22px 75px #183d3545;max-width:640px;width:calc(100% - 28px);max-height:85vh;background:#fffefa;color:#234b39}dialog::backdrop{background:#0928209c}.dialogHead{display:flex;align-items:center;justify-content:space-between}.dialogHead h2{margin:2px 0 14px}.dialogHead button{border:0;background:transparent;font-size:28px;color:#567466}.levelGrid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;max-height:57vh;overflow:auto}.levelGrid button{border:1px solid #d9e0d6;background:#f8faf5;border-radius:9px;padding:10px 4px;font-size:11px;color:#426b54;min-height:50px}.levelGrid button.done{background:#e6f4e9;border-color:#abd5b5}.levelGrid button.current{outline:2px solid #a78d59}.levelGrid button b{display:block}.levelGrid button small{font-size:9px;color:#6c8474}.full{width:100%;margin-top:14px}
@media(min-width:1020px){.intro{padding:17px 0 14px}.visualpanel{min-height:556px}}@media(max-width:900px){.shell{padding:0 14px}.workbench{grid-template-columns:1fr}.controlpanel,.visualpanel{padding:15px}.intro{padding:15px 0}.stage{min-height:210px}.worktop{min-height:auto}.controlpanel h2{font-size:23px}.learnBelow{grid-template-columns:1fr}}@media(max-width:540px){.shell{padding:0 10px}.mast{height:48px}.brand{font-size:13px}.brand small{font-size:9px}.headright{gap:5px}.headright span{display:none}.headright a{padding:6px;font-size:10px}.intro{padding:11px 1px 10px;display:block}.intro h1{font-size:31px;margin:3px 0}.intro p{font-size:10px;line-height:1.3;margin-top:5px}.eyebrow{font-size:9px}.topnav{margin-bottom:7px;gap:4px}.mode{font-size:10px;padding:7px 10px;min-height:33px}.savehint{display:none}.workbench{gap:8px}.controlpanel,.visualpanel{border-radius:13px;padding:12px}.controlpanel .smallcaps{font-size:9px}.challengeHead{margin-top:4px}.controlpanel h2{font-size:21px;margin:4px 0 4px}.prompt{font-size:10px;line-height:1.3;min-height:auto}.progressline{margin:7px 0 7px}.lessonmove{margin-bottom:9px}.lessonmove .ghost{font-size:10px;min-height:29px;padding:4px}.fieldlabel{font-size:9px;margin-bottom:5px}.editor{height:46px}.editor input{font-size:14px}.liveFeedback{min-height:25px;padding:6px 0 0;font-size:10px}.matchsummary{margin:5px 0 7px}.matchsummary div{padding:5px}.matchsummary b{font-size:15px}.matchsummary small{font-size:8px}.mainActions{gap:4px}.primary,.mainActions .secondary{min-height:37px;padding:6px;font-size:10px}.resultmsg{min-height:0;margin-top:5px}.visualpanel{padding:11px}.visualhead h2{font-size:16px;margin-top:3px}.visualhead .smallcaps{font-size:8px}.engine{font-size:8px;padding:5px}.targetLegend{font-size:9px;margin:7px 0;gap:8px}.stage{min-height:135px;max-height:190px;padding:9px;gap:5px;border-radius:8px}.stage :is(plate,cup,fruit,bowl,apple,orange,berry,box,card,chip,div,span,section,article,ul,li,nav,form,label,p){min-height:37px;min-width:57px;padding:6px;font-size:10px;gap:3px;border-radius:8px}.stage :is(bowl,section,article,ul,nav,form){min-width:120px}.stage :is(plate,apple,orange,berry,fruit,cup){min-width:57px;border-radius:28px}.stageFoot{padding:7px 0;font-size:9px}.explainrow{padding:9px 0 0}.explainrow p{font-size:9px}.copybtn{font-size:9px;min-height:30px;padding:5px}.learnBelow{padding:25px 0}.belowIntro h2{font-size:22px}.levelGrid{grid-template-columns:repeat(4,minmax(0,1fr))}}
