:root{font-family:Inter,Avenir Next,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#29362e;background:#f5f6f2;font-synthesis:none;--paper:#f5f6f2;--ink:#29362e;--muted:#778076;--green:#355748;--line:#e3e6df;--soft:#edf0e9}*{box-sizing:border-box}body{margin:0;font-size:13px}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button{border:0;background:none}button:disabled{opacity:.32;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #557763;outline-offset:3px}input,select{min-width:0}button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}h1,h2,h3,p{margin:0}h1,h2{font-family:Avenir Next,Inter,sans-serif;font-weight:500;letter-spacing:-.045em}h3{font-size:12px;font-weight:600}p{line-height:1.6}[hidden]{display:none!important}.topbar{height:82px;display:flex;align-items:center;gap:40px;padding:0 26px;background:#fff;border-bottom:1px solid var(--line)}.brand{color:var(--ink);text-decoration:none;display:flex;gap:11px;align-items:center;flex-shrink:0}.brand>svg{width:32px;height:34px;fill:none;stroke:var(--green);stroke-width:1.5}.brand>span{font-size:19px;font-weight:600;letter-spacing:.09em}.brand small{display:block;font-size:8px;font-weight:500;letter-spacing:.19em;margin-top:3px}.project-name{padding-left:25px;border-left:1px solid var(--line)}.project-name input{display:block;width:220px;background:none;border:0;padding:0;font-size:13px;font-weight:500;color:var(--ink)}.project-name>span{display:block;font-size:9px;color:var(--muted);margin-top:5px}.header-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.icon-btn{width:32px;height:34px;display:grid;place-items:center;font-size:24px;border-radius:5px}.icon-btn:hover{background:var(--soft)}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:38px;padding:10px 15px;border-radius:6px;font-size:11px;transition:background .2s}.primary{background:var(--green);color:#fff}.primary:hover{background:#254535}.secondary{background:#fff;border:1px solid var(--line)}.secondary:hover{background:var(--soft)}.full{width:100%}.workspace{height:calc(100dvh - 114px);min-height:500px;display:grid;grid-template-columns:258px minmax(300px,1fr) 278px}.library,.inspector{background:#fff;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d4dacf transparent}.library{border-right:1px solid var(--line)}.inspector{border-left:1px solid var(--line);padding:28px 22px}.tabs{display:flex;height:58px;border-bottom:1px solid var(--line);padding:0 20px;gap:24px}.tabs button{font-size:11px;border-bottom:2px solid transparent;padding-inline:2px}.tabs button.active{border-color:var(--green);color:var(--green);font-weight:600}#furniturePanel,#roomPanel{padding:24px 20px}.library-heading h1,.library-heading h2{font-size:21px;line-height:1.2}.library-heading p{font-size:10px;color:var(--muted);margin-top:8px}.search{display:flex;align-items:center;gap:8px;background:var(--paper);border-radius:5px;padding:6px 10px;margin-top:22px}.search>span{font-size:22px}.search input{width:100%;background:none;border:0;font-size:11px;padding:5px 0}.categories{display:flex;flex-wrap:wrap;gap:6px;margin:15px 0 22px}.categories button{padding:6px 9px;border-radius:20px;background:var(--paper);font-size:9px}.categories button[aria-pressed=true]{background:var(--green);color:#fff}.catalog{display:grid;grid-template-columns:1fr 1fr;gap:20px 10px}.product{padding:0;text-align:left;position:relative;display:block;min-width:0}.product-art{height:95px;background:#eff1eb;border-radius:6px;overflow:hidden;position:relative;display:grid;place-items:center}.product-art img{width:100%;height:100%;object-fit:contain;transition:transform .3s}.product:hover img{transform:scale(1.08)}.product-plus{position:absolute;bottom:6px;right:6px;display:grid;place-items:center;background:#fff;width:21px;height:21px;border-radius:50%;font-size:16px;box-shadow:0 2px 8px #29362e08}.product strong{display:block;font-size:10px;font-weight:500;margin-top:8px;line-height:1.3}.product small{display:block;font-size:8px;color:var(--muted);margin-top:4px}.library-foot{font-size:9px;color:var(--muted);margin-top:25px}.viewport{position:relative;overflow:hidden;background:#e9ece6;isolation:isolate}#scene{position:absolute;top:0;right:0;bottom:0;left:0;touch-action:none;outline-offset:-3px}#scene canvas{display:block;width:100%;height:100%;touch-action:none}.scene-heading{position:absolute;top:27px;left:28px;right:28px;display:flex;justify-content:space-between;gap:15px;pointer-events:none}.eyebrow{display:block;font-size:8px;letter-spacing:.13em;font-weight:500;color:#7c877a}.scene-heading h2{font-size:24px;margin-top:8px;line-height:1.1}.scene-heading p{font-size:10px;color:#687465;margin-top:9px}.scene-heading p span{margin-left:10px;padding-left:10px;border-left:1px solid #bfc8b9}.demo-badge{font-size:8px;border:1px solid #cbd3c7;border-radius:20px;padding:6px 9px;align-self:flex-start;color:#677661}.view-switch{position:absolute;bottom:62px;left:50%;transform:translate(-50%);padding:4px;display:flex;background:#ffffffed;border:1px solid #e1e7dd;border-radius:8px;box-shadow:0 5px 20px #29362e08}.view-switch button{white-space:nowrap;font-size:10px;padding:9px 17px;border-radius:5px}.view-switch button.active{background:var(--green);color:#fff}.scene-tools{position:absolute;right:18px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;background:#ffffffeb;border:1px solid #e0e5dd;border-radius:7px;padding:4px;gap:3px}.tool{width:32px;height:33px;border-radius:4px;font-size:22px;display:grid;place-items:center}.tool:hover{background:var(--soft)}.scene-bottom{position:absolute;bottom:21px;left:24px;right:24px;display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:9px;color:#6d7869}.scene-hint{display:flex;align-items:center;gap:7px}.mouse-symbol{display:inline-block;width:10px;height:15px;border:1px solid #7e887a;border-radius:5px}.snap-toggle{display:flex;gap:5px;align-items:center;white-space:nowrap}.snap-toggle input{accent-color:var(--green);width:12px;height:12px}.loading{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#fffffff0;border-radius:8px;padding:20px;display:flex;align-items:center;gap:12px;font-size:12px}.spinner{width:17px;height:17px;border:2px solid #d5ddce;border-top-color:var(--green);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#emptySelection h2{font-size:25px;line-height:1.2;margin-top:14px}#emptySelection>p{font-size:11px;color:var(--muted)}.empty-illustration{margin:25px auto 20px;width:125px;height:115px}.empty-illustration svg{width:100%;height:100%;stroke:#a7b2a0;stroke-width:1.1;fill:none}.instruction{display:flex;align-items:center;gap:13px;margin-top:20px}.instruction span{font-size:9px;color:#94a18b}.instruction p{font-size:10px;color:#65725e}.instruction:last-of-type{margin-bottom:28px}.selection-heading h2{font-size:25px;margin-top:10px}.selection-heading>p{font-size:10px;color:var(--muted);margin-top:6px}.form-section{padding-top:23px;margin-top:23px;border-top:1px solid var(--line)}.form-section h3,.item-list-section h3{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.form-section h3 span,.item-list-section h3 span{font-weight:400;font-size:9px;color:var(--muted)}.field{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;margin-bottom:12px}.input-unit{display:flex;align-items:center;background:var(--paper);border:1px solid var(--line);border-radius:5px;width:96px;padding:0 8px}.input-unit input{width:100%;border:0;background:none;padding:9px 0;color:var(--ink);font-size:12px}.input-unit span{font-size:9px;color:var(--muted)}input[type=number]{-webkit-appearance:textfield;appearance:textfield;-moz-appearance:textfield}input::-webkit-inner-spin-button{opacity:.5}.dimension-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.dimension-fields label,.position-fields label{font-size:9px;color:var(--muted)}.dimension-fields input{display:block;width:100%;padding:10px 8px;margin-top:7px;border:1px solid var(--line);background:var(--paper);border-radius:5px;font-size:12px;color:var(--ink)}.hint{font-size:9px;color:var(--muted);margin-top:12px;line-height:1.6}select{width:100%;padding:10px;background:var(--paper);border:1px solid var(--line);border-radius:5px;color:var(--ink);font-size:11px}.swatches{display:flex;gap:10px;flex-wrap:wrap}.swatches button{width:25px;height:25px;border-radius:50%;border:2px solid white;box-shadow:0 0 0 1px #e6e9e2}.swatches button[aria-pressed=true]{box-shadow:0 0 0 1.5px var(--green)}.color-heading{margin-top:22px}.custom-color{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:15px}.custom-color input{width:29px;height:24px;padding:0;border:0;background:none}.position-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.position-fields .input-unit{width:100%;margin-top:7px}.position-fields~.field{margin-top:17px}.segmented{display:flex;background:var(--paper);padding:3px;border-radius:5px;margin-top:8px}.segmented button{flex:1;padding:8px;font-size:10px;border-radius:4px}.segmented button:hover{background:#e1e8dd}.segmented button[aria-pressed=true]{background:#fff;box-shadow:0 1px 4px #29362e12}.object-actions{display:flex;gap:12px;margin-top:25px;align-items:center}.delete-btn{font-size:10px;color:#9b5444;padding:10px}.item-list-section{padding-top:25px;margin-top:28px;border-top:1px solid var(--line)}.room-item{display:flex;align-items:center;justify-content:space-between;width:100%;padding:10px 6px;border-radius:4px;text-align:left;font-size:10px}.room-item span{font-size:8px;color:var(--muted)}.room-item[aria-pressed=true],.room-item:hover{background:var(--soft)}.floor-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.floor-options button{padding:0;font-size:8px;text-align:left}.sample{display:block;width:100%;height:43px;margin-bottom:8px;border-radius:5px;border:3px solid white;box-shadow:0 0 0 1px var(--line)}button[aria-pressed=true] .sample{box-shadow:0 0 0 1.5px var(--green)}.oak{background:#b9a17d url(../assets/oak-color.jpg) center/cover}.walnut{background:linear-gradient(#50311870,#50311870),url(../assets/oak-color.jpg) center/cover}.mineral{background:#d2d0c7}#loadPreset{margin-top:12px}.statusbar{height:32px;display:flex;justify-content:space-between;align-items:center;padding:0 22px;background:#fff;border-top:1px solid var(--line);font-size:9px;color:var(--muted);gap:15px}.statusbar>span:first-child{display:flex;align-items:center;gap:7px}.status-dot{width:5px;height:5px;border-radius:50%;background:#78976c}.status-note{font-size:8px}#issuesBtn{color:#a16c32;font-size:9px}#toast{position:fixed;bottom:55px;left:50%;transform:translate(-50%,20px);background:var(--ink);color:#fff;border-radius:7px;padding:13px 22px;font-size:12px;z-index:50;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:90%;text-align:center}#toast.visible{opacity:1;transform:translate(-50%)}dialog{border:0;border-radius:12px;padding:35px;width:min(510px,90vw);max-height:85dvh;color:var(--ink);box-shadow:0 25px 100px #1a291a30}dialog::backdrop{background:#24302766;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}dialog h2{font-size:29px;margin-top:12px}.dialog-close{position:absolute;right:15px;top:12px}dialog dl{margin-top:27px}dialog dt{font-size:12px;font-weight:600;margin-top:18px}dialog dd{font-size:12px;line-height:1.6;color:#73806c;margin:6px 0 0}dialog li{font-size:12px;line-height:1.7;margin-top:10px}.mobile-tools,.mobile-panel-head{display:none}@media (min-width:1700px){.workspace{grid-template-columns:290px minmax(300px,1fr) 300px}.product-art{height:112px}.inspector{padding-inline:27px}}@media (max-width:1150px){.workspace{grid-template-columns:222px minmax(280px,1fr) 246px}.topbar{gap:20px;padding-inline:20px}.project-name{padding-left:18px}.project-name input{width:150px}.project-name>span{font-size:8px}.header-actions{gap:5px}.inspector{padding:24px 17px}#furniturePanel,#roomPanel{padding-inline:15px}.scene-heading{left:20px;right:20px}.demo-badge{display:none}.scene-bottom{left:15px;right:15px;font-size:8px}.scene-hint{max-width:170px}.brand>span{font-size:16px}.brand>svg{width:27px}.product-art{height:85px}.dimension-fields{gap:5px}}@media (max-width:900px){.workspace{grid-template-columns:220px minmax(0,1fr)}.inspector{position:fixed;right:0;top:70px;bottom:32px;width:285px;z-index:20;box-shadow:-15px 0 50px #26342615;transform:translate(110%);transition:transform .25s}.inspector.open{transform:translate(0)}.inspector .mobile-panel-head{display:flex}.topbar{height:70px}.workspace{height:calc(100dvh - 102px)}.project-name{display:none}.mobile-tools{display:flex;position:absolute;right:17px;top:110px;gap:6px}.mobile-tools button{padding:10px 12px;border-radius:5px;background:#fffffff0;font-size:10px;box-shadow:0 2px 8px #26342608}#openLibrary{display:none}.mobile-panel-head{justify-content:space-between;align-items:center;margin-bottom:20px;font-size:12px}.scene-tools{right:17px}}@media (max-width:600px){.topbar{height:64px;padding:0 13px;gap:12px}.brand{gap:7px}.brand>span{font-size:14px;letter-spacing:.07em}.brand small{font-size:6px}.brand>svg{width:24px}.header-actions{gap:2px}.header-actions .icon-btn{width:26px;font-size:21px}.header-actions .secondary{font-size:0;gap:0;padding:8px;min-height:32px}.header-actions .secondary:after{content:"↥";font-size:19px}.header-actions .primary{font-size:10px;gap:0;min-height:32px;padding:8px 10px}.header-actions .primary span{display:none}.workspace{display:block;height:calc(100dvh - 94px);min-height:440px}.viewport{height:100%}.library,.inspector{position:fixed;z-index:20;top:64px;bottom:30px;width:min(310px,88vw);box-shadow:10px 0 60px #26342630;transition:transform .25s}.library{left:0;transform:translate(-110%)}.library.open{transform:translate(0)}.inspector{right:0}.library .mobile-panel-head{display:flex;padding:10px 18px;margin:0}.mobile-panel-head{display:flex}.scene-heading{top:22px;left:20px}.scene-heading h2{font-size:25px}.scene-heading .eyebrow{font-size:7px}.scene-tools{top:auto;bottom:120px;transform:none;right:13px}.mobile-tools{top:auto;bottom:66px;left:15px;right:auto}#openLibrary{display:block}.view-switch{left:auto;right:15px;transform:none;bottom:66px}.view-switch button{padding:8px 11px;font-size:9px}.mobile-tools button{font-size:9px;padding:12px 9px}.mobile-tools #openInspector{display:none}.scene-bottom{bottom:21px;left:17px;right:17px;font-size:8px}.scene-hint{max-width:195px}.statusbar{height:30px;padding-inline:12px;font-size:8px}.status-note{display:none}.inspector{padding-top:15px}.catalog{gap:20px 12px}.product-art{height:112px}.product strong{font-size:12px}.product small{font-size:9px}.tabs{height:48px}#furniturePanel,#roomPanel{padding:20px}.scene-heading{pointer-events:none}#toast{font-size:11px;bottom:105px}.primary{white-space:nowrap}.floor-options button{font-size:9px}}@media (prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media (max-width:600px){.has-selection .mobile-tools #openInspector{display:block}.has-selection .mobile-tools{bottom:111px}.has-selection .scene-tools{bottom:170px}}@media (max-width:600px){.view-switch{bottom:62px;left:50%;right:auto;transform:translate(-50%)}.mobile-tools{bottom:109px}.scene-tools{bottom:161px}.has-selection .mobile-tools{bottom:109px}.view-switch button{padding-inline:15px}}@media (max-width:600px){.swatches button{width:32px;height:32px}.tool{min-height:38px}.field,.form-section h3{font-size:12px}.input-unit input,.dimension-fields input,.search input{font-size:16px}.categories button{font-size:10px;min-height:32px}.tabs button{font-size:12px}.primary{min-height:38px}}.ui-symbol{display:inline-block;vertical-align:middle;flex-shrink:0;width:18px;height:18px}
