:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#173e37;background:#f4f1e8;font-synthesis:none;--green:#164b40;--gold:#d3a760;--line:#d6dccf}*{box-sizing:border-box}body{margin:0}.shell{max-width:1440px;margin:auto;padding:0 5%}button,input,textarea{font:inherit}button,a,input,textarea,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid var(--line);background:#fcfbf7;color:#234e42;border-radius:8px;padding:10px 14px;font-size:13px;transition:background .15s,transform .15s}button:hover{background:#e6eee1}button:active{transform:translateY(1px)}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #cc924b;outline-offset:3px}header{height:96px;display:flex;align-items:center;border-bottom:1px solid var(--line);gap:28px}.brand{display:flex;align-items:center;text-decoration:none;color:#173e37;gap:12px;font-weight:800;font-size:14px;letter-spacing:2px}.brand img{width:32px;height:37px;object-fit:contain}.brand small{display:block;font-weight:400;font-size:11px;letter-spacing:0;margin-top:5px;color:#60786e}.header-note{margin-left:auto;font-size:12px;color:#708177}header>button{background:transparent}.intro{display:flex;justify-content:space-between;align-items:center;padding:42px 0 30px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:750;color:#6d8071}h1{font-family:Georgia,serif;font-size:clamp(30px,3.7vw,53px);font-weight:400;line-height:1.08;letter-spacing:-1.2px;margin:14px 0}p{line-height:1.65}.intro p{font-size:13px;color:#6c7b70;margin:14px 0 0}.progress{display:flex;flex-direction:column;align-items:center;margin-right:22px}.progress strong{font-family:Georgia,serif;font-size:38px;font-weight:400}.progress>span{font-size:11px;color:#708177;margin-top:3px}#progressdots{display:flex;gap:5px;margin-top:12px}#progressdots i{width:7px;height:7px;border-radius:50%;background:#d4dacd}#progressdots i.grown{background:#488366}#levels{display:flex;overflow:auto;gap:8px;padding:0 0 22px;scrollbar-width:thin}#levels button{min-width:142px;text-align:left;background:transparent;font-size:10px;padding:10px 12px;white-space:nowrap}#levels button small{display:block;color:#a08551;letter-spacing:3px;margin-top:6px}#levels .active{background:#1b4b3f;color:#fff8de;border-color:#1b4b3f}#levels .active small{color:#e6c584}.playlayout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:26px}.maincol{min-width:0}.graph-head{display:flex;justify-content:space-between;padding:3px 0 11px;font-size:9px;letter-spacing:1.4px;font-weight:700;color:#4d7162}.graph-head span:last-child{font-weight:400;letter-spacing:0;color:#7b8575}.graphboard{height:272px;background:#79532f url('grove-board.webp') center 52%/cover;border-radius:14px 14px 0 0;position:relative;border:1px solid #785b37;overflow:hidden}#graph{height:243px;overflow:auto;background:linear-gradient(90deg,#271c183d,#271c1850);scrollbar-width:thin;scrollbar-color:#c3a274 #5d473a}.graphcanvas{position:relative;margin:0 auto}.graphcanvas>svg{position:absolute;inset:0}.commitnode{position:absolute;background:transparent;border:0;padding:0;width:36px;height:36px;border-radius:50%;box-shadow:0 0 0 2px #cfa76088}.commitnode:hover{background:#f8d89e44}.commitnode.current{box-shadow:0 0 0 3px #dbefd0,0 0 20px #f2e1a977}.commitnode>img{width:32px;height:32px;object-fit:contain}.commitlabel{position:absolute;left:46px;top:1px;width:125px;text-align:left;color:#fff1ca;text-shadow:0 1px 4px #180d05}.commitlabel strong{font-size:11px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.commitlabel small{display:block;font-size:9px;color:#e2d3a9;margin-top:5px}.graph-empty{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#fff2cf;text-shadow:0 1px 4px #42240a}.graph-empty strong{font-family:Georgia,serif;font-size:22px;font-weight:400}.graph-empty span:last-child{font-size:12px;margin-top:8px;color:#e8d9b9}.sprout{font-family:Georgia,serif;font-size:70px;line-height:1.2;color:#c9d6a1}.board-caption{position:absolute;bottom:0;width:100%;height:28px;display:flex;align-items:center;justify-content:center;background:#1c2c2680;color:#f0dfbe;font-size:8px;letter-spacing:3px}.terminal{background:#102e2a;color:#deeadb;border-radius:0 0 12px 12px;overflow:hidden;box-shadow:0 8px 18px #193e3512}.terminalbar{display:flex;justify-content:space-between;border-bottom:1px solid #345348;padding:11px 16px;font-family:monospace;font-size:10px;color:#8aaf9a}.terminalbar i{display:inline-block;width:6px;height:6px;background:#c0ac72;border-radius:50%;margin-right:8px}#output{height:175px;overflow:auto;padding:15px 18px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;scrollbar-width:thin}.logline{margin-bottom:12px}.logline:last-child{margin-bottom:0}.logline pre{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;margin:4px 0;color:#bdcebd}.logline .entered{color:#e3c985}.logline.error pre{color:#f5b89e}#commandform{display:flex;align-items:center;gap:9px;padding:12px 16px;background:#173c32;border-top:1px solid #345348}#commandform label{font:11px ui-monospace,monospace;color:#c6b977;white-space:nowrap}#command{flex:1;width:0;min-width:20px;background:transparent;border:0;color:#f3f2d9;outline-offset:1px;font:12px ui-monospace,monospace;padding:6px 0}#command::placeholder{color:#819e88;font-size:10px}#run{font-size:11px;background:#d6b779;color:#243d2d;border:0;padding:8px 10px;white-space:nowrap}.toolbar{display:flex;gap:6px;align-items:center;margin:14px 0}.toolbar button{background:transparent;font-size:11px;padding:8px 10px}.toolbar #save{font-size:9px;color:#7e8b79;margin-left:auto;max-width:100px;text-align:right}.hinttext{white-space:pre-wrap;font-size:12px;padding:14px;background:#fff8df;border:1px solid #e2d5aa;border-radius:10px;line-height:1.7;margin-bottom:15px}h3{font-size:12px;font-weight:650;margin:0 0 12px}.pocket h3 small{font-size:9px;color:#7e8b79;font-weight:400;margin-left:10px}#commands{display:flex;flex-wrap:wrap;gap:6px}#commands button{font:10px ui-monospace,monospace;padding:8px 10px;background:#e8ebdf;border:0;border-radius:5px}.mission{padding:24px;background:#fffef8;border:1px solid #e0e2d4;border-radius:12px}.mission h2{font-family:Georgia,serif;font-size:28px;font-weight:400;margin:12px 0}.mission>p{font-size:12px;color:#64786a;margin:12px 0}#goals{padding:0;list-style:none;margin:20px 0}#goals li{display:flex;gap:10px;line-height:1.5;font-size:11px;margin:12px 0;color:#72816e}#goals .check{font-size:15px;line-height:1.1}#goals .done{color:#277555}.lesson{font-size:11px;line-height:1.7;background:#eef2e7;border-radius:8px;padding:13px;color:#56715a}#success{background:#e4efd9;border:1px solid #c0d5af;border-radius:8px;padding:16px;margin-top:16px}#success strong{font-family:Georgia,serif;font-size:24px;font-weight:400}#success p{font-size:12px}#next{background:#1b4b3f;color:#f3efd8;border:0;width:100%}.mission .moves{font-size:9px;color:#88907c;margin:14px 0 0}.files{padding:22px 2px}.section-heading{display:flex;justify-content:space-between}.section-heading>span{font-size:10px;color:#7f8d78}.filerow{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #dce0d2;padding:8px 0;gap:6px}.filename{padding:3px 0;background:none;border:0;font:11px ui-monospace,monospace;border-radius:0}.filename:hover{background:transparent;text-decoration:underline}.filetags{display:flex;gap:5px}.filetags small{font-size:9px;padding:3px 6px;border-radius:4px}.staged{background:#dfe8d2;color:#476239}.modified{background:#ede3cc;color:#896230}.clean{color:#839080}.snapshot-note{font-size:10px;background:#fff3cf;padding:8px;margin:0 0 8px;overflow-wrap:anywhere}.muted{font-size:12px;color:#798575}details{border:1px solid #d6dccf;border-radius:8px;padding:12px;margin-top:15px}summary{font-size:11px;cursor:pointer}details label{display:block;margin:12px 0 7px;font-size:10px}details input,details textarea{width:100%;border:1px solid #ced8c7;background:#fffdf6;border-radius:5px;padding:9px;font:11px ui-monospace,monospace;color:#244637}details textarea{resize:vertical;line-height:1.6}details button{margin-top:8px;font-size:10px}details p{font-size:9px;color:#7d8c77;margin-bottom:0}#guide{margin-top:35px;padding:25px;background:#e8edde;border-radius:12px;font-size:12px;scroll-margin-top:16px}#guide h2{font-family:Georgia,serif;font-weight:400}.guidegrid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.guidegrid b{color:#274e3f}footer{display:flex;justify-content:space-between;gap:15px;font-size:9px;color:#7c8977;padding:26px 0;margin-top:26px;border-top:1px solid var(--line);line-height:1.8}footer a{color:#567661}[hidden]{display:none!important}@media(min-width:1450px){.shell{padding:0 65px}}@media(max-width:900px){.shell{padding:0 24px}.playlayout{gap:18px;grid-template-columns:minmax(0,1.4fr) minmax(270px,1fr)}.header-note{display:none}header>button{margin-left:auto}.mission{padding:20px}.graph-head span:last-child{display:none}.toolbar #save{display:none}.pocket h3 small{display:block;margin:7px 0}.intro{padding-top:30px}}@media(max-width:680px){.shell{padding:0 17px}header{height:75px}.brand{font-size:11px;letter-spacing:1.7px}.brand small{font-size:9px}header>button{font-size:10px;padding:8px 10px}.intro{padding:26px 0 20px}.intro p{font-size:11px;max-width:245px}.progress{margin-right:0}.progress strong{font-size:26px}.progress>span{font-size:8px}#progressdots{gap:3px}#progressdots i{width:5px;height:5px}.eyebrow{font-size:8px;letter-spacing:1.3px}h1{font-size:33px}.playlayout{display:flex;flex-direction:column;gap:12px}aside{display:contents}.mission{order:-1;padding:18px}.mission h2{font-size:24px}.mission>p{font-size:11px}#goals{margin:13px 0}#goals li{margin:8px 0}.files{padding:12px 2px}.maincol{width:100%}.graphboard{height:235px}#graph{height:207px}.graphcanvas{margin:0}#output{height:165px}#commandform{padding:10px;gap:6px}#command{font-size:11px}.toolbar{justify-content:space-between}.toolbar button{font-size:10px}.guidegrid{grid-template-columns:1fr 1fr;gap:12px}footer{flex-direction:column;font-size:9px;gap:7px;margin-top:12px}.commitlabel{width:118px}}
