@font-face{font-family:"DM Sans";font-style:normal;font-weight:100 1000;font-display:swap;src:url("./vendor/fonts/dm-sans.ttf") format("truetype")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:200 800;font-display:swap;src:url("./vendor/fonts/manrope.ttf") format("truetype")}
:root{--ink:#253d37;--muted:#7a8780;--paper:#fffefa;--cream:#f5f3ec;--orange:#e87847;--mint:#dce9df;--line:#e5e7de;--green:#326c56}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:14px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;transition:background .18s,transform .18s;color:inherit}button:hover:not(:disabled){transform:translateY(-1px)}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #e87847;outline-offset:3px}button:disabled{opacity:.38;cursor:default}button{border:none}header{height:100px;max-width:1600px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 40px;gap:20px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font-family:Manrope,sans-serif;font-size:25px;font-weight:800;letter-spacing:-1.2px}.brand-icon{display:grid;place-items:center;background:var(--orange);color:#fffefa;width:39px;height:39px;border-radius:11px;font-size:32px;font-weight:500;transform:rotate(-8deg)}.brand-light{font-weight:500}.brand sup{font-size:10px;letter-spacing:0;color:var(--orange);padding:4px}.project-title{display:flex;flex-direction:column;gap:6px}.project-title strong{font-size:15px;font-weight:600}.tiny-label,.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:700;color:var(--muted)}.eyebrow{color:var(--green)}.header-actions{display:flex;gap:12px;align-items:center}.icon-button{width:34px;height:34px;border:1px solid var(--line);border-radius:50%;background:transparent;font-size:18px;display:grid;place-items:center}.quiet-button{background:transparent;padding:10px 0;font-weight:600;font-size:12px}.quiet-button span{border:1px solid #cbd2c8;border-radius:50%;display:inline-grid;place-items:center;width:19px;height:19px;margin-left:6px}main{display:grid;grid-template-columns:330px minmax(0,1fr);gap:28px;max-width:1600px;margin:auto;padding:0 40px}.booklet{background:var(--paper);border-radius:18px;padding:23px 24px;box-shadow:0 8px 30px #34463206;border:1px solid #e6e5dd;position:relative}.booklet:before{content:'';position:absolute;top:24px;bottom:24px;left:8px;border-left:2px dotted #e9e6dc}.book-top{display:flex;align-items:center;justify-content:space-between}.book-top .eyebrow{font-size:9px}.book-number{font-family:Manrope;font-size:12px;color:#99a298}.build-name h1{font-family:Manrope,sans-serif;font-size:30px;line-height:1.22;letter-spacing:-1.25px;margin:20px 0 10px;font-weight:800}.build-name h1 span{color:var(--orange)}.build-name p{color:var(--muted);font-size:11px;line-height:1.7;margin:0 0 23px;max-width:220px}.step-heading{display:flex;align-items:center;gap:12px;padding-top:18px;border-top:1px solid var(--line)}#stepBadge{background:var(--orange);color:white;border-radius:10px;width:39px;height:39px;display:grid;place-items:center;font-family:Manrope;font-weight:800;font-size:18px}.step-heading h2{font-size:14px;margin:5px 0 0}.step-heading .tiny-label{font-size:9px}.diagram-wrap{height:170px;margin-top:17px;background:#f2f4ed;border-radius:12px;position:relative;overflow:hidden}#diagram{width:100%;height:100%;display:block;touch-action:none}.diagram-note{position:absolute;bottom:11px;left:14px;font-size:9px;color:#849284;pointer-events:none}.diagram-view{position:absolute;right:12px;top:12px;font-size:8px;letter-spacing:1px;color:#7b8c7b}.instruction{min-height:46px;font-size:12px;color:#5d6b60;line-height:1.7;margin:16px 0}.parts-heading{display:flex;align-items:center;justify-content:space-between;font-size:11px}.parts-heading span{font-size:10px;color:var(--muted)}.required-parts{display:flex;flex-wrap:wrap;gap:8px;margin:11px 0 20px;min-height:53px}.required-part{display:flex;gap:8px;align-items:center;border:1px solid var(--line);border-radius:9px;padding:8px;flex:1;min-width:100px}.part-icon{width:36px;height:25px;border-radius:3px;background:var(--color);box-shadow:inset -4px -5px #0002;position:relative;transform:skewY(-8deg)}.part-icon:before{content:'• • •';position:absolute;top:-10px;left:3px;color:var(--color);font-size:20px;letter-spacing:0;text-shadow:0 -1px #0002}.part-icon.wheel{border-radius:50%;width:27px;height:27px;transform:none;border:7px solid #333d43;background:#a5adb0;box-shadow:none}.part-icon.wheel:before{display:none}.part-icon.axle{height:6px;border-radius:5px;transform:none}.part-icon.axle:before{display:none}.required-part strong{font-size:10px;display:block}.required-part small{font-size:9px;color:var(--muted)}.required-part.done{opacity:.55;background:#eff7ed}.book-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:15px}.page-dots{display:flex;gap:4px}.page-dots i{display:block;width:5px;height:5px;background:#e0e4dc;border-radius:50%}.page-dots i.done{background:#91b49d}.page-dots i.active{background:var(--orange);width:14px;border-radius:3px}.progress-label{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);margin:18px 0 7px}.progress-label strong{color:var(--green)}.progress-track{height:4px;background:#e8ede4;border-radius:3px;overflow:hidden}#progressFill{background:var(--green);height:100%;transition:width .4s}.workshop{min-width:0;display:flex;flex-direction:column}.workspace-heading{height:64px;display:flex;justify-content:space-between;align-items:flex-start;padding:7px 2px 0}.workspace-heading h2{font-family:Manrope;font-size:21px;letter-spacing:-.6px;margin:7px 0}.pieces-counter{background:#e8ede4;border-radius:20px;font-size:10px;padding:10px 13px;margin-top:8px;display:flex;gap:7px;align-items:center}.pieces-counter i{width:5px;height:5px;border-radius:50%;background:var(--green)}.scene-wrap{flex:1;min-height:450px;border-radius:18px;overflow:hidden;position:relative;background:#e5ebe2;border:1px solid #dce3d8}#world{width:100%;height:100%;position:absolute;inset:0;display:block;touch-action:none;outline-offset:-4px}.view-buttons{position:absolute;top:17px;left:18px;display:flex;background:#fffdf4cc;border:1px solid #fff8;border-radius:9px;padding:4px;gap:3px;backdrop-filter:blur(8px)}.view-buttons button{font-size:10px;background:transparent;border-radius:6px;padding:8px 10px;color:#6c7d6b}.view-buttons button.active{background:white;box-shadow:0 2px 4px #0001;color:var(--ink);font-weight:700}.scene-label{position:absolute;top:75px;left:24px;font-size:10px;font-weight:700;letter-spacing:1.3px;color:#667763;pointer-events:none}.scene-label span{display:block;margin-top:6px;font-weight:400;letter-spacing:0;font-size:10px;color:#7e8e7b}.build-label{position:absolute;bottom:100px;left:24px;color:#5b8a71;font-size:10px;letter-spacing:2px;pointer-events:none}.orientation{position:absolute;right:19px;top:22px;font-size:9px;color:#6b7e68;display:flex;gap:6px;align-items:center}.orientation-dot{width:6px;height:6px;background:#79a286;border-radius:50%}.status{position:absolute;bottom:17px;left:50%;transform:translateX(-50%);text-align:center;padding:12px 17px;border-radius:10px;background:#fffef6eb;max-width:90%;width:max-content;font-size:11px;box-shadow:0 3px 12px #31453108;pointer-events:none;transition:background .2s}.status.success{background:#d9f2dd;color:#276a42}.selection{position:absolute;left:18px;top:120px;background:#fffef4ed;border:1px solid #fff;border-radius:12px;padding:11px 12px;display:flex;gap:18px;align-items:center;box-shadow:0 5px 20px #0001;max-width:230px}.selection strong{display:block;font-size:12px;margin-top:5px}.selection .tiny-label{font-size:8px}.selection button{background:transparent;font-size:20px}.hidden{display:none!important}.toolbox{display:flex;align-items:center;gap:18px;background:var(--paper);border:1px solid var(--line);border-radius:13px;margin-top:14px;padding:13px 16px;min-height:76px}.toolbox-intro{display:flex;align-items:center;gap:10px;flex:1}.tool-icon{font-size:27px;color:var(--orange)}.toolbox-intro strong{display:block;font-size:12px}.toolbox-intro div>span{display:block;font-size:9px;color:var(--muted);margin-top:4px}.tools{display:flex;gap:6px}.tools button{border:1px solid #e1e6dc;background:#fafbf5;border-radius:8px;display:flex;align-items:center;gap:6px;padding:10px 12px;font-size:11px;font-weight:600}.tools button>span{font-size:18px}.tools button.snap-button{background:var(--green);color:white;border-color:var(--green)}kbd{font:inherit;font-size:8px;opacity:.5;padding-left:3px}.hint-button{background:#fff1d9;color:#98702d;border-radius:8px;padding:13px 12px;font-size:11px;font-weight:600;white-space:nowrap}.under-table{display:flex;align-items:center;justify-content:space-between;padding:13px 3px 0;gap:15px;font-size:9px;color:var(--muted)}.under-table>div{display:flex;gap:12px;white-space:nowrap}.under-table button{background:transparent;padding:3px;font-size:10px}footer{max-width:1600px;margin:20px auto 0;padding:0 42px 20px;display:flex;justify-content:space-between;color:#97a08e;font-size:10px}footer i{display:inline-block;width:5px;height:5px;background:#9fb296;border-radius:50%;margin-right:6px}.completion{position:absolute;right:20px;top:70px;width:245px;background:#fffef5ef;padding:23px;border-radius:16px;text-align:center;box-shadow:0 5px 30px #27432a15;backdrop-filter:blur(10px)}.complete-star{font-size:42px;color:#e5aa3c}.completion h2{font-family:Manrope;font-size:27px;margin:9px 0}.completion p{font-size:12px;line-height:1.8;color:#71816c}.primary-button{background:var(--green);color:white;border-radius:9px;font-weight:600;font-size:12px;padding:13px 17px}.completion .quiet-button{display:block;margin:10px auto 0}.loading{position:absolute;inset:0;display:grid;place-items:center;background:#e5ebe2;font-weight:600}dialog{border:1px solid #e1e6dc;border-radius:19px;background:#fffef8;color:var(--ink);padding:34px;max-width:490px;width:calc(100% - 32px);box-shadow:0 20px 100px #0003}dialog::backdrop{background:#1a30274d;backdrop-filter:blur(5px)}dialog h2{font-family:Manrope;font-size:27px;letter-spacing:-.7px}dialog ol{padding-left:20px;font-size:13px;line-height:1.8}dialog li{padding-bottom:12px}dialog p{font-size:11px;line-height:1.8;color:#7b8978}.dialog-close{position:absolute;right:15px;top:10px;background:transparent;font-size:26px}
@media(min-width:1400px){main{grid-template-columns:360px minmax(0,1fr)}.diagram-wrap{height:195px}.scene-wrap{min-height:490px}}
@media(max-width:1150px){header{padding:0 24px;height:86px}main{padding:0 24px;gap:18px;grid-template-columns:290px minmax(0,1fr)}.booklet{padding:20px}.toolbox{gap:8px;padding:10px}.toolbox-intro{display:none}.tools{flex:1}.tools button{padding:10px;flex:1;justify-content:center}.orientation{display:none}.project-title{display:none}.build-name h1{font-size:27px}.scene-wrap{min-height:475px}.diagram-wrap{height:160px}footer{padding:0 26px 16px}}
@media(max-width:760px){header{height:75px;padding:0 16px}.brand{font-size:22px}.header-actions{gap:8px}main{padding:0 14px;gap:14px;grid-template-columns:235px minmax(0,1fr)}.booklet{padding:17px 15px}.build-name h1{font-size:23px;margin-top:14px}.build-name p{font-size:10px;margin-bottom:14px}.diagram-wrap{height:145px}.step-heading{gap:8px}.step-heading h2{font-size:12px}#stepBadge{width:32px;height:32px;font-size:15px}.instruction{font-size:11px}.workspace-heading{height:72px;display:block}.workspace-heading h2{font-size:17px;margin:5px 0}.pieces-counter{font-size:8px;margin:0;padding:4px 0;background:none}.scene-wrap{min-height:450px}.view-buttons{top:9px;left:9px;gap:1px;padding:3px}.view-buttons button{padding:7px 5px;font-size:8px}.scene-label{top:57px;left:14px;font-size:9px}.scene-label span{font-size:9px}.selection{left:9px;top:101px;padding:8px;max-width:160px}.status{font-size:10px;max-width:92%;width:92%;padding:10px}.toolbox{flex-wrap:wrap}.tools{gap:4px;flex-basis:100%}.tools button{font-size:9px;padding:7px 3px;gap:3px}.tools button>span{font-size:16px}kbd{display:none}.hint-button{padding:7px 10px;width:100%}.under-table{font-size:9px;flex-wrap:wrap;line-height:1.7;gap:3px}footer{font-size:9px;padding:0 17px 14px}footer span:last-child{display:none}.completion{width:calc(100% - 20px);right:10px;padding:16px}.completion h2{font-size:22px}}
@media(max-width:540px){main{grid-template-columns:170px minmax(0,1fr);gap:9px;padding:0 9px}.booklet{padding:14px 12px}.booklet:before{left:4px}.book-top .eyebrow{font-size:7px;letter-spacing:.5px}.book-number{display:none}.build-name h1{font-size:20px}.build-name p{display:none}.step-heading{margin-top:15px;align-items:flex-start;gap:6px}.step-heading .tiny-label{font-size:7px;letter-spacing:.5px}#stepBadge{width:27px;height:27px;min-width:27px;font-size:13px}.step-heading h2{font-size:11px;line-height:1.4}.diagram-wrap{height:135px;margin-top:13px}.diagram-note{font-size:7px;left:8px}.diagram-view{display:none}.instruction{font-size:10px;line-height:1.6;min-height:65px}.parts-heading{font-size:9px}.required-part{min-width:100%;padding:7px}.required-part strong{font-size:9px}.required-part small{font-size:8px}.part-icon{width:26px;height:19px}.part-icon:before{font-size:15px;top:-8px}.page-dots{gap:2px}.page-dots i{width:3px;height:3px}.page-dots i.active{width:7px}.book-bottom .icon-button{width:25px;height:25px;font-size:14px}.progress-label{font-size:8px;line-height:1.5;gap:6px}.workspace-heading .eyebrow{font-size:8px;letter-spacing:1px}.workspace-heading h2{font-size:14px}.view-buttons{flex-wrap:wrap;width:calc(100% - 14px);left:7px;top:7px}.view-buttons button{flex:1;padding:6px 2px;font-size:7px}.view-buttons #home{display:none}.scene-label{top:46px;font-size:8px}.scene-wrap{min-height:435px}.tools{display:grid;grid-template-columns:1fr 1fr}.tools button{font-size:10px}.under-table>span{font-size:8px}.selection strong{font-size:10px}.selection .tiny-label{font-size:7px}.build-label{font-size:8px;left:12px}.completion{top:140px}.completion p{font-size:10px}.completion .primary-button{padding:10px;font-size:10px}}
@media(min-width:761px){header{height:76px}main{height:calc(100svh - 126px);min-height:550px}.booklet{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#dce3d5 transparent;padding:18px 22px}.book-top{min-height:12px}.build-name h1{font-size:26px;margin:12px 0 8px}.build-name p{font-size:10px;line-height:1.5;margin-bottom:13px;max-width:none}.step-heading{padding-top:12px}.diagram-wrap{height:130px;margin-top:12px}.instruction{font-size:11px;line-height:1.65;min-height:38px;margin:12px 0}.required-parts{min-height:44px;margin:8px 0 12px}.required-part{padding:7px}.book-bottom{padding-top:12px}.progress-label{margin-top:12px}.scene-wrap{min-height:0}.workspace-heading{height:57px;flex-shrink:0}.toolbox{flex-shrink:0;margin-top:11px;min-height:68px;padding:10px 13px}.under-table{flex-shrink:0;padding-top:10px}footer{margin-top:15px;padding-bottom:15px}}
@media(min-width:1400px) and (min-height:850px){.booklet{padding:23px 26px}.build-name h1{font-size:32px;margin-top:22px}.build-name p{font-size:11px;margin-bottom:23px}.diagram-wrap{height:190px}.instruction{font-size:12px}.required-parts{margin-bottom:20px}}
.expand-button{display:none;background:#e8eee3;color:#55725e;border-radius:6px;padding:5px 7px;font-size:8px;font-weight:600}
@media(max-width:760px){.workspace-heading{height:92px;position:relative}.expand-button{display:block;margin-top:5px}.workshop.expanded{position:fixed;inset:10px;z-index:1000;background:var(--cream);border-radius:15px;padding:10px;box-shadow:0 0 0 100vmax #1b3329aa;max-height:calc(100svh - 20px)}.workshop.expanded .workspace-heading{height:73px}.workshop.expanded .expand-button{position:absolute;right:0;top:12px;padding:8px 10px;font-size:10px}.workshop.expanded .scene-wrap{min-height:0;flex:1}.workshop.expanded .view-buttons button{font-size:10px;padding:8px}.workshop.expanded .tools{display:flex}.workshop.expanded .tools button{font-size:12px;padding:10px}.workshop.expanded .toolbox{min-height:0}.workshop.expanded .under-table{padding-bottom:5px}.workshop.expanded .completion{width:230px;right:14px;top:80px}}

.part-chassis{--color:#3c4952}.part-axle{--color:#929da2}.part-wheel{--color:#3c4952}.part-bumper{--color:#3c4952}.part-cabfloor{--color:#efb832}.part-cabwall{--color:#efb832}.part-windshield{--color:#73b7cc}.part-backpanel{--color:#efb832}.part-window{--color:#73b7cc}.part-roof{--color:#efb832}.part-headlight{--color:#fff3c0}.part-bedfloor{--color:#efb832}.part-bedside{--color:#efb832}.part-bedend{--color:#efb832}.part-taillight{--color:#d96b52}
.dialog-actions{display:flex;gap:15px}

.build-library{max-width:1450px;margin:15px auto;padding:16px 24px;background:#edf0e6;display:flex;gap:15px;align-items:center;flex-wrap:wrap}.build-library select,.build-library button{font:inherit;padding:12px;border:1px solid #9caa91;border-radius:10px;max-width:100%}.build-library p{font-size:12px;max-width:600px;line-height:1.6}.blueprint-hidden #diagram{visibility:hidden}.blueprint-hidden #required{visibility:hidden}.blueprint-hidden .diagram-wrap{background:#e7e9df}
