*{box-sizing:border-box}html,body{height:100%;margin:0;background:#dce7df;color:#304c47;font-family:-apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif}body{overflow:hidden}button,input{font:inherit}button{cursor:pointer;min-height:38px;border:1px solid #cdd8ce;border-radius:11px;padding:7px 11px;background:#fffcf1;color:inherit;touch-action:manipulation}button:active{transform:translateY(1px)}button:focus,input:focus{outline:2px solid #528697;outline-offset:1px}button:disabled{opacity:.4;cursor:default}button.active,.primary{background:#386e83!important;border-color:#386e83!important;color:#fff!important}small{font-size:11px;color:#7b897d}h1,h2,h3,p{margin-top:0}p{line-height:1.7;font-size:14px;color:#63766b}h1{font-size:20px;margin:4px 0}h2{font-size:23px}h3{font-size:16px}#app{height:100vh;height:var(--height,100vh);max-width:1500px;margin:auto;background:#f6f5e9;display:flex;flex-direction:column;padding-top:var(--native-top,0px);padding-left:var(--safe-area-inset-left,env(safe-area-inset-left,0px));padding-right:var(--safe-area-inset-right,env(safe-area-inset-right,0px))}header{display:flex;justify-content:space-between;align-items:center;padding:10px 22px;background:#fcfaf0;border-bottom:1px solid #d6dfd3;flex-shrink:0}.brand b{font:700 22px Georgia,'Songti SC',serif;letter-spacing:2px}.brand small{display:block;font-size:8px;letter-spacing:2px;margin-top:3px}nav{display:flex;border:1px solid #d5dfd4;background:#e8eee2;padding:3px;border-radius:15px}nav button{border:0;min-height:36px;background:transparent;font-size:13px;padding:8px 19px}nav span{font-size:10px;opacity:.7;margin-left:4px}.help{border-radius:50%;width:32px;min-height:32px;padding:0}#workspace{display:flex;flex:1;min-height:0}#space{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;background:#e3ece5}.roomhead{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;position:relative;z-index:2}.roomhead b{font-size:17px}.roomhead small{display:block;font-size:10px;margin-top:3px}.presets{display:flex}.presets button{font-size:11px;min-height:32px;padding:6px 9px;margin-left:5px;background:#f9f9ef}#stage{position:relative;flex:1;min-height:0;overflow:hidden}#room{display:block;width:100%;height:100%;touch-action:none;position:relative;z-index:1}.cam{display:flex;position:absolute;z-index:3;top:8px;right:14px}.cam button{width:33px;min-height:33px;padding:0;margin-left:5px;background:#fefdf1e8;border-color:#cdd9cd}.hint{position:absolute;bottom:10px;left:17px;font-size:10px;color:#708879;z-index:3;pointer-events:none}#selectionLabel{position:absolute;z-index:3;transform:translate(-50%,-100%);font-size:10px;white-space:nowrap;background:#fffdf2e8;padding:5px 8px;border-radius:9px;pointer-events:none}#selectionLabel:empty{display:none}#fallback{position:absolute;top:5px;left:10px;z-index:4;font-size:11px;color:#966b50}#objectTools{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;padding:8px 14px;border-top:1px solid #cfdccd;background:#eff3e8;min-height:49px;font-size:12px}#objectTools .toolbuttons{display:flex}#objectTools button{font-size:11px;min-height:32px;padding:5px 9px;margin-left:4px}#objectTools strong{font-size:12px}#catalogPanel{width:370px;display:flex;flex-direction:column;background:#fcf9ef;border-left:1px solid #d3ddcf;min-height:0;flex-shrink:0}.catalogtitle{display:flex;justify-content:space-between;align-items:center;padding:17px 16px 10px}.catalogtitle small{font-size:8px;letter-spacing:1.7px}.catalogtitle button{min-height:31px;height:31px;padding:3px 9px}.categories{display:flex;overflow:auto;padding:0 14px 10px;flex-shrink:0;scrollbar-width:thin}.categories button{flex-shrink:0;margin-right:5px;padding:6px 11px;min-height:33px;border-radius:18px;font-size:12px}.filters{display:flex;align-items:center;padding:0 14px 10px;flex-shrink:0}.filters input{width:100px;flex:1;min-width:0;border:1px solid #d7dfd0;border-radius:9px;background:#f3f2e8;padding:8px;font-size:11px;color:#456354}.filters button{font-size:11px;padding:5px 8px;min-height:33px;margin:0 8px}.filters span{font-size:10px;color:#89917f}.products{padding:2px 12px 12px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;overflow:auto;align-content:start;min-height:0;flex:1;-webkit-overflow-scrolling:touch}.product{position:relative;min-width:0;padding:5px;border:1px solid #e1e4d6;border-radius:13px;background:#f4f2e5;text-align:center;box-shadow:0 2px 0 #e3dfcd}.product img{display:block;width:100%;height:74px;object-fit:contain;background:#e7eadf;border-radius:9px}.product strong{font-size:10px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:5px 0 2px;font-weight:500}.product small{font-size:9px;color:#8b8c76}.product.active small{color:#d4e1d8}.product .heart{position:absolute;top:6px;right:8px;font-size:11px;color:#af8260}.empty{grid-column:1/-1;text-align:center;padding:30px;color:#748477;font-size:13px}#detail{padding:11px 15px 13px;background:#eeeee0;border-top:1px solid #d7ddcd;flex-shrink:0}.detailrow{display:flex;align-items:center;justify-content:space-between}.detailrow h3{margin-bottom:4px;font-size:14px}.detailrow small{display:block;font-size:10px}.detailrow button{min-height:30px;padding:3px 8px}.swatches{display:flex;margin:9px 0}.swatches button{width:25px;min-height:25px;border-radius:50%;border:3px solid #fbf8ed;margin-right:9px;padding:0;box-shadow:0 0 0 1px #c7d2c1}.swatches button.chosen{box-shadow:0 0 0 2px #386e83}.actions{display:flex}.actions button{flex:1;font-size:12px;min-height:35px}.actions>*+*{margin-left:7px}.detailhint{font-size:10px;margin:8px 0 0;color:#879180}.invalid{color:#a95642!important}.preview{background:#dfeae5!important}.shop #space{display:none}.shop #catalogPanel{width:100%;border:0}.shop .catalogtitle{padding:23px 26px 12px}.shop h1{font-size:25px}.shop .categories,.shop .filters{padding-left:26px;padding-right:26px}.shop .products{grid-template-columns:repeat(6,minmax(0,1fr));padding:6px 26px 20px;grid-gap:13px}.shop .product img{height:120px}.shop .product strong{font-size:12px}.shop #detail{padding-left:26px;padding-right:26px}.shop #detail .actions{max-width:460px}.shop .swatches{float:right;margin-top:0}.shop #detail .detailhint{clear:both}footer{display:flex;justify-content:space-between;align-items:center;flex-shrink:0;padding:7px 18px;background:#fcfaf0;border-top:1px solid #d2ddcd;padding-bottom:calc(7px + var(--safe-area-inset-bottom,env(safe-area-inset-bottom,0px)))}footer span{font-size:10px;color:#7a8b7b}footer button{font-size:11px;min-height:30px;padding:5px 11px;margin-left:5px}#modal{position:fixed;top:0;bottom:0;left:0;right:0;background:#19382e66;z-index:50;display:flex;align-items:center;justify-content:center;padding:18px}.modalcard{background:#fffbed;border-radius:24px;padding:27px;max-width:470px;width:100%;max-height:85vh;overflow:auto;position:relative}.close{position:absolute;right:10px;top:10px;font-size:22px;min-height:30px;width:30px;padding:0;border:0}.modalcard .actions{margin-top:17px;flex-wrap:wrap}.modalcard .preset{display:block;width:100%;text-align:left;margin-bottom:10px;padding:14px}.preset small{display:block;margin-top:6px}.modalcard p{font-size:13px}#toast{position:fixed;bottom:80px;left:50%;transform:translateX(-50%);z-index:60;background:#305448ef;color:white;max-width:90%;padding:13px 20px;border-radius:15px;font-size:13px;text-align:center}[hidden]{display:none!important}.large .products{grid-template-columns:repeat(2,minmax(0,1fr))}.shop.large .products{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:700px) and (orientation:portrait){header{padding:10px 12px}.brand b{font-size:18px}.brand small{font-size:7px;letter-spacing:1px}nav button{padding:7px 10px;font-size:11px}.help{width:25px;min-height:25px}#workspace{flex-direction:column}#space{flex:1;min-height:230px}#catalogPanel{width:100%;height:46%;border-left:0;border-top:1px solid #d3ddcf;border-radius:20px 20px 0 0}.roomhead{padding:8px 13px}.roomhead b{font-size:13px}.roomhead small{display:none}.presets button{font-size:10px;min-height:29px;padding:5px 7px}.catalogtitle{padding:9px 13px 5px}.catalogtitle small{display:none}.catalogtitle h1{font-size:14px}.categories{padding:0 11px 6px}.categories button{font-size:11px;min-height:28px;padding:4px 10px}.filters{padding:0 12px 6px}.filters input{padding:6px}.filters button{min-height:28px}.products{grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:6px;padding:1px 10px 8px}.product img{height:55px}.product strong{font-size:9px}.product small{font-size:8px}.product{padding:4px;border-radius:10px}#detail{padding:8px 12px}.detailrow h3{font-size:12px}.detailrow small{font-size:9px}.swatches{margin:7px 0}.swatches button{min-height:22px;width:22px}.detailhint{display:none}.actions button{font-size:11px;min-height:32px}#objectTools{min-height:39px;padding:5px 10px}#objectTools strong{font-size:10px}#objectTools button{font-size:10px;min-height:28px;padding:4px 7px}.hint{font-size:8px;left:10px;bottom:5px}.cam{top:4px;right:9px}.cam button{width:27px;min-height:27px;font-size:13px}footer{padding:5px 11px}footer span{font-size:9px}footer button{font-size:10px;min-height:28px}.shop #catalogPanel{height:100%;border-radius:0}.shop .catalogtitle{padding:15px 14px 9px}.shop h1{font-size:21px}.shop .categories,.shop .filters{padding-left:12px;padding-right:12px}.shop .products{grid-template-columns:repeat(4,minmax(0,1fr));padding:6px 10px 12px;grid-gap:7px}.shop .product img{height:64px}.shop .product strong{font-size:10px}.shop #detail{padding:10px 14px}.shop .swatches{float:none;margin:9px 0}.shop.large .products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(orientation:landscape) and (max-height:520px){header{padding:5px 14px}.brand b{font-size:16px}.brand small{display:none}nav button{min-height:28px;padding:5px 15px}.help{min-height:25px;width:25px}#catalogPanel{width:300px}.roomhead{padding:6px 12px}.roomhead b{font-size:12px}.roomhead small{display:none}.presets button{font-size:10px;min-height:25px;padding:3px 7px}.catalogtitle{padding:6px 12px 3px}.catalogtitle h1{font-size:13px}.catalogtitle small{display:none}.catalogtitle button{min-height:25px;height:25px}.categories{padding:0 10px 5px}.categories button{min-height:26px;padding:3px 8px;font-size:10px}.filters{padding:0 10px 5px}.filters input{padding:4px;font-size:10px}.filters button{min-height:25px;padding:3px 7px;font-size:10px}.products{grid-gap:5px;padding:0 8px 8px}.product img{height:49px}.product strong{font-size:9px}.product small{display:none}#detail{padding:6px 10px}.detailrow h3{font-size:12px}.detailrow small{font-size:9px}.swatches{margin:5px 0}.swatches button{min-height:19px;width:19px;border-width:2px}.actions button{min-height:28px;padding:4px 9px;font-size:10px}.detailhint{display:none}footer{padding:4px 13px}footer button{min-height:25px;padding:3px 9px}#objectTools{padding:4px 10px;min-height:33px}#objectTools button{min-height:25px;font-size:10px;padding:3px 7px}.hint{font-size:8px}.cam button{min-height:26px;width:26px}.shop .catalogtitle{padding:9px 18px 5px}.shop h1{font-size:18px}.shop .product img{height:65px}.shop .products{grid-gap:8px;padding:2px 18px 10px}.shop .product strong{font-size:10px}.shop .swatches{float:right;margin:0}.shop #detail{padding:6px 18px}}

.products{grid-auto-rows:minmax(118px,max-content)}.shop .products{grid-auto-rows:minmax(165px,max-content)}@media(max-width:700px) and (orientation:portrait){.products{grid-auto-rows:minmax(91px,max-content)}.shop .products{grid-auto-rows:minmax(102px,max-content)}}@media(orientation:landscape) and (max-height:520px){.products{grid-auto-rows:minmax(75px,max-content)}.shop .products{grid-auto-rows:minmax(94px,max-content)}}

/* Quiet gallery surfaces; the furniture carries the visual detail. */
html,body,#space{background:#f3f2ec}#app{background:#f6f5ef}.roomhead{background:#f1f2eb}.brand b{font-weight:500}header{background:#fbfaf5;border-color:#e5e3da}.product{background:#f8f7f1;border-color:#e5e1d7;box-shadow:0 2px 2px #36382b09}.product img{background:#f3f2ec}.product.active{background:#e1e9e8!important;color:#2d4f55!important;border-color:#60838b!important;box-shadow:inset 0 0 0 2px #60838b}.product.active small{color:#72807b}.products{grid-gap:10px}#catalogPanel{background:#faf9f4;border-color:#e4e1d7}#detail{background:#f0efe6}#objectTools{background:#f0f2eb;border-color:#e1e3d8}.swatches button{width:27px;min-height:27px}.shop .product img{height:150px}.shop .products{grid-auto-rows:minmax(195px,max-content)}
@media(max-width:700px) and (orientation:portrait){.roomhead b{font-size:12px}.presets button{font-size:9px;padding:4px 5px}.shop .product img{height:72px}.shop .products{grid-auto-rows:minmax(115px,max-content)}.swatches button{width:23px;min-height:23px}.products{grid-gap:6px}#objectTools button{padding:4px 6px}}
@media(orientation:landscape) and (max-height:520px){.swatches button{width:20px;min-height:20px}.shop .product img{height:70px}.shop .products{grid-auto-rows:minmax(100px,max-content)}}

.lightbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:0 18px 10px;background:#f1f2eb}.lightbar button{font-size:11px;margin-right:5px;min-height:32px}.lightbar span{font-size:10px;color:#657c7c;padding:5px 0}.cam .roomview{width:auto;padding:0 9px;font-size:11px}@media(max-width:700px){.lightbar{padding:0 10px 5px}.lightbar button{font-size:10px;min-height:27px;padding:4px 7px}.lightbar span{display:none}.cam .roomview{font-size:9px}.roomhead{padding-bottom:6px}}

.stylebar{padding:0 18px 9px;background:#f1f2eb;display:flex;align-items:center;justify-content:space-between}.stylebar>div{display:flex}.stylebar button{font-size:12px;margin-right:7px;padding:9px 12px;border-radius:11px;background:#faf9f3}.stylebar button small{margin-right:5px}.stylebar button.active small{color:#d6e7e9}.stylebar span{font-size:11px;color:#607a7b}.collectionfilter{display:flex;padding:0 13px 10px;flex-shrink:0;overflow:auto}.collectionfilter button{font-size:10px;padding:4px 9px;min-height:29px;margin-right:4px;white-space:nowrap}.stylebar .active{box-shadow:0 3px 0 #254c5a}.lightbar button{min-height:27px;padding:4px 8px;font-size:10px}.lightbar span{font-size:9px}@media(max-width:700px){.stylebar{padding:0 10px 8px}.stylebar button{font-size:10px;padding:7px 8px;margin-right:4px;min-height:30px}.stylebar span,.stylebar button small{display:none}.collectionfilter{padding:0 11px 6px}.collectionfilter button{min-height:26px;font-size:10px}.lightbar{padding-bottom:5px}.roomhead .presets button{font-size:9px}}
