@font-face{font-family:LocalSans;src:local('Avenir Next');font-weight:100 900;font-display:swap}
:root{font-family:LocalSans,'Avenir Next',Avenir,'Segoe UI',sans-serif;color:#252e29;background:#f6f3ec;font-synthesis:none;--paper:#f7f5ee;--ink:#25322c;--muted:#777d73;--line:#dddcd2;--green:#315c49;--orange:#b96f43}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.35;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:2px solid #c78350;outline-offset:4px}button{border:0;background:none}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-library{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.topbar{height:83px;display:flex;align-items:center;justify-content:space-between;padding:0 34px;border-bottom:1px solid var(--line);gap:24px;background:var(--paper)}.brand{font-size:28px;font-weight:750;letter-spacing:-1.5px;display:flex;gap:10px;align-items:center;text-decoration:none;color:var(--ink)}.brand-period{color:var(--orange);margin-left:-10px}.brand-icon{display:grid;place-items:center;background:var(--green);color:var(--paper);width:35px;height:35px;border-radius:7px;transform:rotate(-6deg)}.brand-icon svg{width:24px;height:24px}.header-center{display:flex;align-items:center;gap:10px;font:10px monospace;letter-spacing:1.2px}.live-dot{height:6px;width:6px;background:#657c59;border-radius:50%}.edition{color:#989b90;margin-left:6px}.header-actions{display:flex;align-items:center;gap:25px}.text-button{display:flex;align-items:center;gap:8px;font-size:12px;padding:9px 0}.text-button:hover{color:var(--orange)}.small-count{font:10px monospace;padding:3px 5px;border:1px solid var(--line);border-radius:3px;color:var(--muted)}.button{display:flex;align-items:center;justify-content:center;gap:9px;padding:12px 16px;border-radius:5px;font-size:12px;font-weight:600;transition:background .15s,transform .15s}.button:active{transform:translateY(1px)}.button.dark{background:#2c3b32;color:#fff}.button.dark:hover,.button.green:hover{background:#446b51}.button.small{padding:10px 16px}.button svg{width:16px;height:16px}.button.green{background:var(--green);color:white}.button.outlined{border:1px solid #c9cbbf;background:#fbfaf5}.button.outlined:hover{background:#e8ebdf}.full{width:100%}
.workspace{display:grid;grid-template-columns:minmax(0,1fr) 330px;min-height:710px;height:calc(100dvh - 121px);max-height:1200px}.stage{position:relative;isolation:isolate;overflow:hidden;background:#e9e6dc}#viewport{position:absolute;inset:0;touch-action:none}#viewport canvas{display:block;width:100%;height:100%}.stage-heading{position:absolute;top:38px;left:38px;pointer-events:none;z-index:2}.eyebrow{font:9px monospace;letter-spacing:1.5px;margin:0;color:var(--muted)}h1{font-size:54px;line-height:1.02;font-weight:500;letter-spacing:-2.6px;margin:15px 0 12px;color:#2e3d31}h1 span{color:#bb8054}.intro{font-size:12px;color:#6f766b;margin:0}.model-meta{margin-top:19px;display:flex;gap:9px;align-items:center}.model-meta>span{display:flex;align-items:center;gap:7px;font:8px monospace;letter-spacing:1px;color:#70786d}.model-meta i{width:5px;height:5px;border-radius:50%;background:#758568}.info-button{pointer-events:auto;width:16px;height:16px;border-radius:50%;border:1px solid #acb2a5;font:10px Georgia,serif;padding:0;color:#76806e}.view-controls{position:absolute;right:23px;top:28px;display:flex;flex-direction:column;align-items:center;padding:5px;background:#faf8f0d9;border:1px solid #dcded2;border-radius:7px;backdrop-filter:blur(14px)}.icon-button{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:4px;font-size:24px}.icon-button:hover{background:#e5e9dd}.icon-button.active{background:#dce5d7;color:#355842}.icon-button svg{width:18px;height:18px}.divider{height:1px;width:18px;background:var(--line);margin:7px 0}.stage-label{position:absolute;left:35px;bottom:230px;display:flex;gap:9px;align-items:center;color:#899280;font:8px monospace;letter-spacing:1px;line-height:1.7;pointer-events:none}.label-cross{font-size:20px;color:#899280;font-weight:300}.view-bottom{position:absolute;bottom:182px;left:38px;right:28px;display:flex;align-items:center;justify-content:space-between;gap:10px}.orbit-hint{display:flex;align-items:center;gap:6px;font-size:10px;color:#74806f}.orbit-hint svg{width:16px;height:16px}.orbit-hint>span{color:#a4aa9b}.pill{padding:8px 10px;display:flex;align-items:center;gap:7px;background:#f7f6eee0;border:1px solid #d5d9cc;border-radius:5px;font-size:10px}.pill[aria-pressed=true]{background:#dde6d8;color:#315c49}.spin-dot{height:5px;width:5px;border:1px solid #6e7967;border-radius:50%}.pill[aria-pressed=true] .spin-dot{background:#315c49}.assembly-dock{position:absolute;bottom:24px;left:30px;right:30px;max-width:760px;margin:auto;padding:19px 23px 17px;background:#faf9f2ed;border:1px solid #fff8;border-radius:9px;box-shadow:0 7px 30px #3544310d;backdrop-filter:blur(18px)}.dock-heading{display:flex;align-items:center;justify-content:space-between}.dock-heading .eyebrow{font-size:8px;letter-spacing:1.2px}.dock-heading p{font-size:16px;margin:5px 0 0;letter-spacing:-.3px}.counter{font:23px monospace;color:#3e5742;letter-spacing:-1px}.counter small{font-size:12px;color:#8c9585}.timeline{display:flex;align-items:center;gap:12px;margin:16px 0 5px}.play-button{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#365d47;color:#fff;flex-shrink:0}.play-button svg{width:15px;height:15px;fill:currentColor;stroke-width:1}.step-button{font-size:18px;color:#687a61;padding:0;width:18px;height:26px;flex-shrink:0}.timeline-labels{display:flex;justify-content:space-between;margin-left:44px;margin-right:58px;font:7px monospace;letter-spacing:1px;color:#929b89}input[type=range]{--fill:0%;appearance:none;width:100%;height:4px;border-radius:4px;background:linear-gradient(to right,#657f5a var(--fill),#dfe3d6 var(--fill));outline:none;cursor:pointer;accent-color:#3e654b}input[type=range]::-webkit-slider-thumb{appearance:none;width:12px;height:12px;border-radius:50%;background:#365b44;border:2px solid #f5f6ed;box-shadow:0 0 0 1px #365b4455}input[type=range]::-moz-range-thumb{width:9px;height:9px;border-radius:50%;background:#365b44;border:2px solid #f5f6ed}input[type=range]:focus-visible{outline:2px solid #b98b58;outline-offset:6px}
.sidebar{background:var(--paper);border-left:1px solid var(--line);padding:28px 24px 18px;overflow:auto;scrollbar-width:thin;display:flex;flex-direction:column}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.panel-number{font:9px monospace;color:#9a9e92}.mode-tabs{display:flex;gap:4px;padding:4px;background:#e9eae1;border-radius:6px;margin-bottom:8px}.mode-tabs button{flex:1;border-radius:4px;padding:9px 7px;font-size:11px;display:flex;gap:5px;align-items:center;justify-content:center;color:#7e8476;white-space:nowrap}.mode-tabs button[aria-selected=true]{background:#fcfbf5;color:#2b4a36;box-shadow:0 2px 5px #2b362009}.mode-tabs svg{width:14px;height:14px}.control-section{padding:22px 0;border-bottom:1px solid var(--line)}.section-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.section-title h2{font-size:12px;line-height:1.4;font-weight:600;margin:0;display:flex;align-items:center;gap:7px}.section-title h2 svg{width:15px;height:15px}.control-section p{font-size:10px;line-height:1.7;color:var(--muted);margin:7px 0 0}.tiny-tag{font:8px monospace;color:#7c876e;padding:3px 5px;background:#e6e9dd;border-radius:3px;white-space:nowrap}.slider-row{display:flex;align-items:center;gap:11px;margin:22px 0 10px}.slider-row svg{width:15px;height:15px;color:#859279}.range-labels{display:flex;justify-content:space-between;font-size:9px;color:#8b9380;margin-left:26px;margin-right:26px}.inline-button{font-size:9px;color:#637b55;padding:0;white-space:nowrap}.inline-button:hover{text-decoration:underline}.sections-section{padding-bottom:12px}#section-list{margin-top:14px}.section-row{display:flex;align-items:center;gap:9px;min-height:39px;border-radius:4px;transition:background .15s}.section-row:hover,.section-row.focused{background:#e9ecdf}.section-row .section-select{display:flex;align-items:center;gap:10px;text-align:left;flex:1;min-width:0;padding:9px 5px}.section-index{font:9px monospace;color:#a2a994}.section-dot{width:6px;height:6px;border-radius:50%;flex-shrink:0}.section-name{font-size:10px;flex:1}.section-visibility{width:30px;height:30px;padding:8px;color:#77876d}.section-visibility svg{width:14px;height:14px}.section-visibility[aria-pressed=false]{opacity:.3}.section-row:has(.section-visibility[aria-pressed=false]) .section-name{text-decoration:line-through;opacity:.5}.lighting-section{padding-top:21px;padding-bottom:18px}.light-presets{display:flex;gap:5px;margin-top:15px}.light-preset{flex:1;font-size:8px;border:1px solid #d9ded0;border-radius:5px;display:flex;flex-direction:column;align-items:center;gap:7px;padding:9px 3px;white-space:nowrap}.light-preset.active{background:#e9ecdf;border-color:#859676;color:#3f5b37}.light-dot{width:21px;height:21px;border-radius:50%;box-shadow:inset 0 0 0 1px #0001}.light-dot.classroom{background:linear-gradient(135deg,#fff5d4,#c3b389)}.light-dot.studio{background:linear-gradient(135deg,#fff,#a5bac4)}.light-dot.night{background:linear-gradient(135deg,#7c93ad,#202c3c)}.exposure-row{display:flex;gap:16px;align-items:center;margin-top:15px;font-size:9px;color:#8b9380}.sidebar-bottom{margin-top:auto;padding-top:20px}.history-controls{display:flex;align-items:center;gap:3px;color:#79866f}.history-controls .icon-button{font-size:23px;width:29px;height:25px}.history-controls>span{font-size:8px;color:#949c8b;margin-left:auto}.reset-button{font-size:10px;color:#7c8572;margin:13px auto 0}.reset-button svg{width:14px;height:14px}.selected-panel{background:#e7ecdf;border-radius:6px;margin-top:15px;padding:12px}.selected-panel .eyebrow{font-size:8px}.selected-panel h3{font-size:13px;margin:6px 0}.selected-panel p{font-size:10px;line-height:1.5;margin:7px 0 12px;color:#738168}.selected-panel .button{font-size:10px;padding:8px}.compact{height:20px;width:20px}.brick-sizes{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:18px 0 12px}.brick-size{height:57px;border:1px solid #d9ded0;border-radius:5px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;font:9px monospace;color:#88937d}.brick-size.active{background:#e3eadb;border-color:#80936e;color:#35583e}.mini-brick{height:14px;width:25px;background:#91a38b;border-radius:2px;box-shadow:0 3px 0 #6d8366;position:relative}.mini-brick:before,.mini-brick:after{content:'';position:absolute;width:6px;height:4px;background:#a7b79f;top:-3px;border-radius:2px}.mini-brick:before{left:3px}.mini-brick:after{right:3px}.brick-size[data-size='0'] .mini-brick{width:13px}.brick-size[data-size='0'] .mini-brick:after{display:none}.brick-size[data-size='3'] .mini-brick{width:39px}.type-row{display:flex;align-items:center;gap:6px}.type-button{padding:5px 9px;font-size:9px;border-radius:3px;border:1px solid #d9ded0}.type-button.active{background:#e5eadc;border-color:#94a181}.type-row>.inline-button{margin-left:auto}.field-label{display:flex;justify-content:space-between;font:8px monospace;letter-spacing:.8px;margin:22px 0 11px;color:#78846b}.field-label>span{font-family:inherit;letter-spacing:0;color:#8e9685}.swatches{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:20px}.swatch{height:21px;width:21px;border-radius:50%;border:2px solid transparent;outline:1px solid #0001;outline-offset:2px}.swatch.active{outline:2px solid #6b815e;outline-offset:3px}.help-text{font-size:10px!important;color:#8b9380!important;line-height:1.7!important}#removed-tray{display:flex;flex-direction:column;gap:4px;max-height:175px;overflow:auto}.tray-item{display:flex;align-items:center;gap:7px;text-align:left;font-size:10px;padding:7px;background:#e9ecdf;border-radius:3px}.tray-item span:first-child{height:8px;width:8px;border-radius:2px;flex-shrink:0}.tray-item span:last-child{margin-left:auto;color:#6e8560}kbd{font:9px monospace;background:#e9ecdf;padding:3px 4px;border:1px solid #dbe1d1;border-radius:3px}footer{display:flex;align-items:center;justify-content:space-between;height:38px;padding:0 34px;border-top:1px solid var(--line);font:8px monospace;color:#919989;letter-spacing:1px;gap:12px}footer i{font-style:normal;padding:0 9px;color:#8a987b}footer button{font:8px monospace;color:#7c8970;letter-spacing:.5px;padding:8px 0}
dialog{border:1px solid #d3d7c9;border-radius:10px;background:#f8f7ef;color:var(--ink);padding:30px;width:min(600px,calc(100vw - 32px));max-height:88dvh;box-shadow:0 30px 100px #15241640;overflow:auto}dialog::backdrop{background:#25352e77;backdrop-filter:blur(7px)}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.dialog-heading h2{font-size:26px;line-height:1.25;font-weight:500;letter-spacing:-.8px;margin:8px 0 0}.dialog-heading>.icon-button{flex-shrink:0}dialog p{font-size:12px;line-height:1.8;color:#738068}.help-grid{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;margin:25px 0;font-size:11px}.help-grid kbd{text-align:right}.photo-dialog{width:min(920px,calc(100vw - 32px))}.photo-layout{display:grid;grid-template-columns:1.5fr 1fr;gap:25px}.photo-layout figure{margin:0;min-width:0}.photo-layout figure img{width:100%;height:430px;object-fit:contain;background:#e7e5da;border-radius:5px}.photo-layout figcaption{font:9px monospace;color:#89937e;margin:10px 0}.reference-side p:first-child{margin-top:0}#photo-thumbs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.photo-thumb{padding:0;border:2px solid transparent;border-radius:4px;overflow:hidden;opacity:.7}.photo-thumb.active{border-color:#5b7650;opacity:1}.photo-thumb img{width:100%;height:100px;object-fit:cover;display:block}.reference-note{font-size:10px!important;margin-top:20px}.export-option{display:flex;align-items:center;justify-content:space-between;text-align:left;width:100%;padding:17px 0;border-bottom:1px solid var(--line)}.export-option:hover{color:#6f8a5e}.export-option span:first-child{display:flex;flex-direction:column;gap:5px}.export-option strong{font-size:13px;font-weight:600}.export-option small{font-size:10px;color:#849077}.export-option span:last-child{font-size:22px}
#toast{position:absolute;left:50%;bottom:190px;transform:translate(-50%,8px);background:#2d4839ee;color:#f4f5eb;padding:11px 17px;border-radius:5px;font-size:11px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:10;max-width:85%;text-align:center}#toast.visible{opacity:1;transform:translate(-50%,0)}#loading{position:absolute;inset:0;z-index:20;background:#e9e6dc;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#637859;transition:opacity .4s}#loading.done{opacity:0;pointer-events:none}#loading p{font-size:12px}.loading-brick svg{width:36px;height:36px;animation:pulse 1s infinite alternate}#render-error{position:absolute;inset:0;z-index:30;background:#e9e6dc;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px;text-align:center}#render-error h2{font-size:25px}#render-error p{max-width:320px;font-size:13px;line-height:1.7}@keyframes pulse{to{transform:translateY(-8px);opacity:.5}}.placement-mode #viewport{cursor:crosshair}.placement-mode .stage-heading{opacity:.55}
@media(min-width:1600px){.workspace{grid-template-columns:minmax(0,1fr) 365px}.sidebar{padding-left:28px;padding-right:28px}.stage-heading{top:45px;left:48px}h1{font-size:62px}.assembly-dock{bottom:32px}.view-bottom{bottom:190px}}
@media(max-width:1100px){.header-center{display:none}.workspace{grid-template-columns:minmax(0,1fr) 295px}.sidebar{padding:25px 18px 18px}.stage-heading{left:26px;top:28px}h1{font-size:43px}.stage-heading .eyebrow{font-size:8px}.intro{font-size:10px}.assembly-dock{left:20px;right:20px;padding:16px 18px}.orbit-hint{font-size:9px}.orbit-hint>span{display:none}.view-bottom{left:25px;right:23px}.stage-label{left:26px}.light-preset{font-size:7px}.view-controls{right:17px;top:24px}}
@media(max-width:760px){.topbar{height:65px;padding:0 18px}.brand{font-size:24px}.brand-icon{height:29px;width:29px}.brand-icon svg{width:20px;height:20px}.header-actions{gap:15px}.header-actions .text-button>span{display:none}.button.small{font-size:10px;padding:9px 11px}.workspace{height:auto;max-height:none;min-height:0;display:flex;flex-direction:column}.stage{height:70dvh;min-height:520px;max-height:850px}.stage-heading{top:25px;left:22px}h1{font-size:40px;margin:11px 0 8px}.model-meta{margin-top:12px}.model-meta>span{font-size:7px}.intro{font-size:10px}.stage-heading>.eyebrow{font-size:7px;letter-spacing:1px}.view-controls{top:21px;right:14px}.view-controls .icon-button{width:29px;height:29px}.view-controls .divider{margin:4px 0}.stage-label{display:none}.assembly-dock{left:14px;right:14px;bottom:16px;padding:15px 17px 13px}.dock-heading p{font-size:14px}.counter{font-size:20px}.dock-heading .eyebrow{font-size:7px}.timeline{margin-top:12px}.view-bottom{bottom:160px;left:18px;right:17px}.orbit-hint{font-size:8px;max-width:200px;line-height:1.5}.orbit-hint svg{display:none}.orbit-hint>span{display:initial}.pill{font-size:9px;padding:6px 8px}.sidebar{border-left:0;border-top:1px solid var(--line);padding:22px;overflow:visible}.panel-heading{margin-bottom:17px}.mode-tabs button{font-size:12px}.control-section p{font-size:11px}.section-title h2{font-size:13px}.section-name{font-size:12px}.section-row{height:43px}.light-preset{font-size:10px;flex-direction:row;justify-content:center;padding:13px 6px}.sidebar-bottom{padding-top:18px}.history-controls>span{font-size:9px}.reset-button{font-size:11px}.help-text{font-size:11px!important}footer{height:auto;min-height:50px;padding:16px 20px;font-size:7px;line-height:1.8}footer>span:nth-child(2){display:none}.photo-layout{grid-template-columns:1fr}.photo-layout figure img{height:320px}#photo-thumbs{grid-template-columns:repeat(4,1fr)}.photo-thumb img{height:70px}.reference-side p{display:none}.photo-dialog{padding:22px}.dialog-heading h2{font-size:23px}dialog{padding:24px}.help-grid{font-size:10px}.help-grid kbd{font-size:8px}.brick-size{height:64px}.swatches{gap:13px}.swatch{width:23px;height:23px}#toast{bottom:163px}.section-select{min-height:42px}.section-visibility{width:40px;height:40px;padding:12px}}
@media(max-width:760px){.stage{height:76dvh}}
.night-mode h1{color:#e1e8da}.night-mode .intro,.night-mode .model-meta>span,.night-mode .orbit-hint,.night-mode .stage-label{color:#b4c2b2}.night-mode .label-cross{color:#b4c2b2}.night-mode .info-button{color:#b4c2b2;border-color:#849785}.night-mode .assembly-dock .eyebrow{color:#777d73}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
