:root{color-scheme:light;--paper:#fafaf6;--green:#344d40;--ink:#262e29;--muted:#606b62;--line:#d9ddd3;--pale:#edf0e8;font:16px -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit;color:inherit}button,a.action{cursor:pointer;touch-action:manipulation}button{border:0;background:transparent;border-radius:7px}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #b97d42;outline-offset:3px}button:disabled{opacity:.44;cursor:default}button:hover:not(:disabled){filter:brightness(.94)}button:active:not(:disabled){transform:translateY(1px)}button,i,span{vertical-align:middle}i svg{width:19px;height:19px;display:block;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6}i{display:inline-flex;flex:none}button{transition:background .16s,filter .15s,transform .12s}h1,h2,h3,p{margin:0}header{height:68px;padding:0 clamp(16px,3vw,50px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fdfdf9}.brand{display:flex;align-items:center;gap:10px;font:600 29px/1 Georgia,serif;letter-spacing:-1.4px}.header-tools,.plain,.iconbtn,.export,.primary,.secondary,.seg button,.section-head,.side-top,.stage-footer,.zooms,.view-bottom,.titlebar,.stage-controls,.project-title{display:flex;align-items:center}.header-tools{gap:17px}.plain,.export,.primary,.secondary{justify-content:center;gap:8px;font-size:.9rem;font-weight:570;min-height:42px;padding:8px 13px}.device{font-size:.81rem;color:#556555}.device:before{content:"";width:7px;height:7px;display:inline-block;margin-right:7px;border-radius:50%;background:#759077}.device.warn:before{background:#b56242}.iconbtn{width:40px;height:40px;justify-content:center}.export,.secondary{border:1px solid #cbd1c7;background:var(--paper)}.primary{background:var(--green);color:#fffaf0}.primary i{color:#e4e9d7}main{display:grid;grid-template-columns:minmax(0,1fr) 335px;min-height:calc(100svh - 68px)}.workspace{min-width:0;padding:0 clamp(16px,2.8vw,46px);display:flex;flex-direction:column}.titlebar{min-height:110px;justify-content:space-between;gap:12px}.meta,.section-head span,.stage-footer,.view-bottom,.micro{font-size:.8rem;color:var(--muted)}.meta{font-size:.78rem;font-weight:560;letter-spacing:.02em;margin-bottom:5px}.project-title{gap:10px;padding:0;text-align:left}.project-title i{color:#859083}.project-title i svg{width:15px;height:15px}h1{font:normal clamp(2rem,3.4vw,3.25rem)/1.1 Georgia,serif;letter-spacing:-.05em;overflow-wrap:anywhere}.stage-footer{justify-content:space-between;min-height:52px;gap:8px}.stage-footer button{color:var(--muted);font-size:.82rem;padding:8px}.stage-footer button:hover{text-decoration:underline}#viewport{position:relative;isolation:isolate;overflow:hidden;background:#ebece6;flex:1;min-height:460px;border-radius:12px;border:1px solid #d9ddd3}#render,#plan{display:block;position:absolute;inset:0;width:100%;height:100%;touch-action:none}#plan{background-color:#f1f1e9;background-image:radial-gradient(#bcc4b7 1px,transparent 1px);background-size:20px 20px}#plan [data-item],#plan [data-room]{cursor:grab}[hidden]{display:none!important}.stage-controls{position:absolute;top:16px;left:16px;pointer-events:none}.seg{display:flex;align-items:center;background:#fbfcf6ed;padding:4px;border:1px solid #cbd1c6;border-radius:9px;box-shadow:0 2px 7px #29372b0d;pointer-events:auto}.seg button{gap:6px;justify-content:center;padding:8px 12px;min-height:35px;font-size:.83rem;color:#536055}.seg button[aria-pressed=true]{background:var(--green);color:white}.seg i svg{width:16px;height:16px}.view-bottom{position:absolute;bottom:15px;left:16px;right:16px;justify-content:space-between;pointer-events:none}.view-bottom span{display:flex;align-items:center;gap:7px;background:#f4f5eecc;padding:5px 7px;border-radius:5px}.zooms{background:#fafbf5ec;border:1px solid #cbd1c6;border-radius:7px;pointer-events:auto}.zooms button{width:37px;height:37px;display:grid;place-items:center;font-size:20px}.zooms button+button{border-left:1px solid var(--line);border-radius:0}.zooms i svg{width:16px}.sidebar{border-left:1px solid var(--line);padding:23px 21px 28px;background:#f4f5ef}.side-top{justify-content:space-between;gap:6px;margin-bottom:17px}h2{font:normal 1.55rem/1.16 Georgia,serif;letter-spacing:-.045em}.side-top .primary{font-size:.83rem;min-height:40px;padding:8px 10px}.section-head{justify-content:space-between;gap:8px;margin:0 0 11px}h3{font-size:1rem;font-weight:610;letter-spacing:-.025em}.panel{padding:18px 0;border-top:1px solid var(--line)}.roomrow,.designrow{display:flex;gap:10px;align-items:center;text-align:left;width:100%;padding:9px;border:1px solid transparent;margin:3px 0;background:transparent}.roomrow.active{background:#e5eade;border-color:#cbd5c5}.roomrow .glyph{display:grid;place-items:center;width:33px;height:33px;background:#f8faf3;border:1px solid #cbd4c3;border-radius:5px}.roomrow strong,.designrow strong{display:block;font-size:.92rem}.roomrow small,.designrow small{display:block;color:var(--muted);font-size:.78rem;margin-top:3px}.shelf{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.shelf button{min-width:0;display:grid;place-items:center;gap:6px;background:#fafbf6;border:1px solid #d6dbcf;border-radius:7px;padding:8px 2px;font-size:.74rem}.shelf button:hover{background:#e9eddf}.shelf svg{width:40px;height:28px}.aside-label{margin:16px 0 6px;font-size:.81rem;font-weight:570}.swatches{display:flex;gap:5px;flex-wrap:wrap}.swatch{width:31px;height:31px;border:3px solid var(--paper);outline:1px solid #c4cbbc;margin:3px;border-radius:50%}.swatch[aria-pressed=true]{outline:2px solid var(--green)}.edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.edit-grid label,.field{font-size:.8rem;color:var(--muted);display:grid;gap:5px}.field{margin:12px 0}.field input,.edit-grid input,.field select{width:100%;min-width:0;background:#fdfef9;border:1px solid #c6cebf;border-radius:6px;padding:9px;color:var(--ink);font-size:1rem}.row-actions{display:flex;gap:6px;flex-wrap:wrap}.row-actions button,.textbtn{padding:8px;font-size:.82rem;color:var(--green);text-decoration:underline;text-underline-offset:3px}.edit-list{list-style:none;padding:0;margin:10px 0 0}.edit-list button{width:100%;padding:7px 1px;text-align:left;color:#49564c;font-size:.85rem}.edit-list button:hover{background:#e6ebdf}details{padding:10px 0 0}summary{cursor:pointer;font-size:.86rem;font-weight:560}.subtext{font-size:.86rem;line-height:1.45;color:var(--muted);margin:8px 0}.swatchbox{display:flex;justify-content:space-between;align-items:center;gap:5px;flex-wrap:wrap;margin-top:10px}.swatchbox .aside-label{margin:0}#empty{position:absolute;inset:28% 10% auto;text-align:center}#empty p{margin:7px auto 18px;max-width:300px;color:var(--muted)}#empty button{margin:auto}
dialog{max-width:min(485px,calc(100vw - 24px));width:100%;max-height:90svh;padding:0;border:1px solid #d4dacd;border-radius:15px;background:var(--paper);color:var(--ink);box-shadow:0 20px 90px #19282040}dialog::backdrop{background:#1f2b2466;backdrop-filter:blur(3px)}#dlg{padding:23px}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:15px}.dialog-head h2{font-size:1.9rem}.close{padding:0;width:38px;height:38px;display:grid;place-items:center;font-size:1.4rem}.choice{display:flex;width:100%;align-items:center;gap:13px;background:#f7f8f2;border:1px solid var(--line);padding:12px;margin:8px 0;text-align:left}.choice>i{width:35px;height:35px;background:#e5ebde;display:grid;place-items:center;border-radius:7px;color:#465f4f}.choice strong{font-size:.94rem}.choice small{display:block;font-size:.82rem;color:var(--muted);margin-top:4px;line-height:1.35}.dialog-copy,.steps{font-size:.94rem;line-height:1.55;color:#48534a}.steps{padding-left:1.35rem}.steps li+li{margin-top:7px}a{color:var(--green);text-underline-offset:3px}.wide{width:100%;margin-top:12px}.error{color:#88442e;font-size:.88rem;line-height:1.45;margin-top:10px}.preview{position:relative;height:min(39svh,300px);background:#253029;border-radius:9px;overflow:hidden}.preview video{width:100%;height:100%;object-fit:cover}.reticle{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:22px;height:22px;border-radius:50%;border:2px solid white;box-shadow:0 0 0 1px #30302faa}.reticle:after{content:'';position:absolute;inset:7px;background:white;border-radius:50%}.reticle.locked{border-color:#c3ed94}.camera-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.measure-preview{width:100%;height:135px;background:var(--pale);border-radius:8px}.tagline{color:var(--muted);font-size:.82rem}#toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,8px);opacity:0;pointer-events:none;z-index:5;padding:10px 16px;background:#2d4336;color:white;border-radius:9px;transition:.18s;max-width:min(90vw,550px);font-size:.9rem}#toast.show{transform:translate(-50%,0);opacity:1}
@media(min-width:901px){main{height:calc(100svh - 68px);min-height:670px}.sidebar{overflow-y:auto}.workspace{padding-bottom:2px}}@media(max-width:1050px){main{grid-template-columns:minmax(0,1fr) 295px}.sidebar{padding:20px 15px}.workspace{padding:0 18px}}@media(max-width:900px){main{display:flex;flex-direction:column}.sidebar{border-left:none;border-top:1px solid var(--line);padding:17px max(16px,4vw) 32px}.side-body{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.side-body #inspector{grid-column:1/-1}.side-top{margin-bottom:10px}.titlebar{min-height:86px}#viewport{height:47svh;min-height:310px;flex:none}.stage-footer{min-height:37px}}@media(max-width:550px){header{height:55px;padding:0 14px}.brand{font-size:25px;gap:7px}.brand img{width:28px;height:28px}.header-tools{gap:1px}.header-tools .plain{padding:6px}.device{display:none}.device.warn{display:inline;font-size:0}.device.warn:before{width:10px;height:10px}.header-tools .iconbtn{width:34px}.workspace{padding:0 11px}.titlebar{min-height:78px;padding:0 3px}h1{font-size:2rem}.meta{font-size:.73rem}.export{font-size:.82rem;min-height:36px;padding:7px 9px}.stage-controls{top:10px;left:10px}.view-bottom{left:10px;bottom:9px;right:10px}.stage-footer{font-size:.75rem;padding:0 2px}.seg button{font-size:.78rem;min-height:32px;padding:6px 10px}.side-body{display:block}.shelf{grid-template-columns:repeat(4,1fr)}.panel{padding:12px 0}.section-head{margin-bottom:8px}.roomrow{padding:7px}.sidebar{padding:12px 15px 35px}.side-top{margin-bottom:8px}.shelf button{font-size:.78rem;min-height:54px}.view-bottom span{font-size:.72rem}#viewport{height:43svh;min-height:290px}.stage-footer button{min-height:37px}#dlg{padding:18px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
