:root{--green:#38624c;--ink:#293c32;--muted:#829087;--line:#e4e8df}*{box-sizing:border-box}body{margin:0;background:#fafbf7;color:var(--ink);font:14px/1.6 -apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif}button,input,select{font:inherit}button{cursor:pointer;border:1px solid var(--line);border-radius:10px;padding:9px 13px;color:var(--ink);background:#fff;transition:.2s}button:hover{background:#eaf0e4;transform:translateY(-1px)}button:disabled{opacity:.35;cursor:default}button.primary{background:var(--green);color:white}header{height:86px;display:flex;align-items:center;gap:14px;padding:0 28px;border-bottom:1px solid var(--line);background:#fff}.logo{font-size:38px;color:var(--green);background:#eff3e9;width:50px;text-align:center;border-radius:16px}header strong{font-size:23px;letter-spacing:3px}header strong span{font-size:10px;letter-spacing:2px;margin-left:10px;color:#8a968c}small{display:block;font-size:11px;color:var(--muted)}.top-actions{margin-left:auto;display:flex;gap:10px;align-items:center}#saved{font-size:11px;color:#80917c;margin-right:10px}b#count{background:#ffffff26;border-radius:5px;padding:2px 6px;margin-left:8px}main{height:calc(100vh - 86px);display:grid;grid-template-columns:280px minmax(300px,1fr) 260px}aside{padding:25px 21px;overflow:auto;background:#fff}.library{border-right:1px solid var(--line)}.eyebrow{font-size:9px;letter-spacing:2px;color:#8e9c85;font-weight:600}h1{font-size:23px;letter-spacing:-1px;margin:12px 0 4px}p{font-size:12px;color:#7a867d;margin:6px 0 20px}input:not([type=checkbox]):not([type=color]){width:100%;padding:10px 12px;background:#f7f8f4;border:1px solid var(--line);border-radius:8px;outline-color:#719773}nav{display:flex;gap:5px;flex-wrap:wrap;margin:16px 0}nav button{font-size:11px;padding:5px 10px;border:none;background:#f6f7f2}nav button.active,.segmented .active{background:var(--green);color:white}.catalog{display:grid;grid-template-columns:1fr 1fr;gap:10px}.product{padding:0;text-align:left;overflow:hidden;border-radius:12px;position:relative}.product .thumb{height:94px;background:#f3f3ed;display:flex;align-items:center;justify-content:center}.product svg{width:95px;height:76px}.product .info{padding:9px}.product strong{display:block;font-size:11px}.product small{font-size:10px}.product .price{font-size:11px;display:block;color:#50664f;margin-top:5px}.product .plus{position:absolute;right:8px;top:67px;background:#fff;border-radius:50%;width:22px;height:22px;text-align:center}.source-note{font-size:10px;color:#9aa398;line-height:1.8;margin-top:22px}.workspace{position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 45%,#f3f4e9,#e6eadc);min-height:480px}.scene-top{position:absolute;left:28px;right:25px;top:23px;display:flex;justify-content:space-between;align-items:center;z-index:1;pointer-events:none}.scene-top button{pointer-events:auto}.tag{font-size:9px;letter-spacing:2px;color:#83917c}h2{font-size:20px;margin:4px 0 15px}.segmented{padding:4px;background:#fff9;border-radius:13px;display:flex}.segmented button{font-size:11px;padding:6px 12px;border:0;background:transparent}.room-tabs{position:absolute;left:28px;top:105px;display:flex;gap:6px;z-index:1;flex-wrap:wrap}.room-tabs button{font-size:11px;padding:5px 10px;background:#ffffffb5;border:0}.room-tabs .active{background:#6b815e;color:white}canvas{width:100%;height:100%;display:block;touch-action:none;outline:none;cursor:grab}.scene-bottom{position:absolute;bottom:55px;left:24px;right:24px;display:flex;align-items:center;justify-content:space-between}.toolbox{display:flex;gap:2px;background:#fff;padding:5px;border-radius:14px;box-shadow:0 5px 20px #324c3510}.toolbox button{border:0;font-size:19px;padding:5px 10px}.toolbox i{border-right:1px solid var(--line);margin:5px}.snap{font-size:10px;color:#708069;background:#ffffffaa;padding:8px;border-radius:8px}.hint{position:absolute;bottom:23px;width:100%;text-align:center;font-size:10px;color:#899380}.inspector{border-left:1px solid var(--line)}.inspector>h2{margin-top:12px;font-size:20px}.card{background:#f7f8f2;border:1px solid #ebeee4;padding:16px;border-radius:14px;margin-top:20px}.mini{font-size:10px;color:#909b87}.card h3{font-size:14px;margin:7px 0 12px}.card p{font-size:11px;margin-bottom:12px}.materials{display:flex;gap:8px;margin-bottom:12px}.materials span{height:28px;width:28px;border-radius:50%;border:3px solid white;box-shadow:0 0 0 1px #ddd}.muted{color:#a0a69a!important;font-size:10px!important}.card button{font-size:11px;background:transparent;padding:0;border:0}.budget{border-top:1px solid var(--line);padding-top:20px;margin-top:25px}.budget span{font-size:11px;color:#849080}.budget strong{display:block;font-size:30px;font-weight:500;margin:5px 0}.inspector>button{width:100%;margin-top:12px;font-size:11px}.empty-selection{border:1px dashed #dbe1d4;border-radius:12px;text-align:center;padding:22px 7px;color:#98a28c;font-size:12px}.selected-title{font-size:17px;margin:9px 0}.selected-meta{font-size:11px;color:#8c9784}.selected-actions{display:flex;gap:5px;margin-top:15px}.selected-actions button{font-size:11px;padding:7px 9px}.status{font-size:11px;color:#5b8060;margin-top:12px}.status.bad{color:#b16548}.position-inputs{display:flex;gap:8px;margin-top:12px}.position-inputs label{width:50%;font-size:10px;color:#8a9582}.position-inputs input{padding:5px!important}.swatch-label{font-size:10px;margin-top:12px;display:flex;align-items:center;gap:8px}input[type=color]{width:28px;height:24px;border:0;background:none}a{color:var(--green);font-size:11px}dialog{border:0;border-radius:22px;padding:30px;width:min(850px,90vw);max-height:90vh;color:var(--ink);box-shadow:0 20px 100px #23332244}dialog::backdrop{background:#1d302a66;backdrop-filter:blur(5px)}.close{float:right;border:0}.photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.photo-grid img{width:100%;border-radius:12px}.shopping-row{display:flex;justify-content:space-between;align-items:center;padding:13px 0;border-bottom:1px solid var(--line);gap:15px}.shopping-row small{max-width:450px}#toast{position:absolute;bottom:110px;left:50%;transform:translateX(-50%);background:#304d3e;color:white;padding:10px 18px;border-radius:12px;font-size:12px;opacity:0;pointer-events:none;transition:.2s;max-width:90%;text-align:center}#toast.show{opacity:1}@media(min-width:1500px){main{grid-template-columns:310px 1fr 290px}.product .thumb{height:110px}}@media(max-width:1100px){main{grid-template-columns:230px 1fr}.inspector{position:absolute;right:16px;top:240px;width:205px;max-height:48vh;border-radius:14px;box-shadow:0 6px 24px #384b3515;padding:16px}.inspector .card,.inspector .budget,.inspector>button,.inspector .eyebrow,.inspector>h2{display:none}.workspace{padding-right:0}.top-actions #saved{display:none}}@media(max-width:700px){header{padding:10px;height:74px}header strong{font-size:18px}header strong span,header small,.top-actions #photos,.top-actions #export{display:none}main{height:auto;display:flex;flex-direction:column}.library{order:2;padding:18px}.catalog{grid-template-columns:repeat(3,1fr)}.workspace{height:65vh;min-height:480px}.inspector{position:static;order:3;width:100%;max-height:none;border-radius:0}.scene-top{left:16px;right:16px}.room-tabs{left:16px}.scene-bottom{left:12px;right:12px}.snap{font-size:9px}.photo-grid{grid-template-columns:1fr}}
/* Room atelier */
.product .thumb img{width:100%;height:100%;object-fit:contain}.scene-top h2{margin-bottom:0}#room-subtitle{margin-top:3px}.room-tabs{top:120px}#wall-controls{position:absolute;left:25px;right:25px;top:168px;z-index:2;background:#ffffffee;padding:10px;border-radius:12px;box-shadow:0 4px 15px #41553e10;display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between}#wall-controls[hidden],#wall-guide[hidden],#render-error[hidden]{display:none}#wall-controls select{max-width:100%;min-width:160px;flex:1;border:1px solid #d9dfd0;background:white;color:#52694c;border-radius:8px;padding:6px;font-size:11px}#wall-controls button{font-size:11px;padding:6px 10px;margin-right:4px}#wall-guide{position:absolute;left:0;right:0;bottom:122px;text-align:center;font-size:12px;color:#687c60;pointer-events:none}.decor-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}.decor-fields label{font-size:10px;color:#7b8972}.junctions{display:grid;gap:8px;margin-top:14px}.junctions button{font-size:10px!important;text-align:left;color:#8d7650}#render-error{position:absolute;z-index:10;inset:35% 10% auto;background:white;padding:25px;border-radius:15px;color:#a46a44}.scene-bottom{gap:8px}.toolbox button{padding:5px 8px}canvas:active{cursor:grabbing}@media(max-width:1100px) and (min-width:701px){main{grid-template-columns:210px minmax(280px,1fr)}.inspector{top:auto;bottom:15px;right:15px;max-height:38vh;width:220px}.scene-bottom{right:240px;flex-wrap:wrap}.room-tabs{right:20px}#wall-controls{top:185px}.scene-top{align-items:flex-start;gap:10px}.segmented{flex-wrap:wrap;max-width:160px}}@media(max-width:700px){#wall-controls{left:12px;right:12px;top:180px}.workspace{height:76vh;min-height:600px}.scene-top{gap:10px}.segmented button{font-size:10px;padding:6px 8px}.room-tabs{top:125px}.scene-bottom{flex-wrap:wrap}.hint{font-size:9px;bottom:12px}.inspector .card{display:block}.inspector .budget,.inspector>button{display:block}}
.workspace canvas{position:absolute;top:165px;height:calc(100% - 285px);min-height:200px}.workspace.wall-design canvas{top:245px;height:calc(100% - 385px)}.workspace{min-height:700px}main{min-height:700px}.room-tabs{max-width:calc(100% - 45px)}@media(max-width:700px){.workspace{height:760px;min-height:760px}.workspace canvas{top:180px;height:460px}.workspace.wall-design canvas{top:270px;height:340px}.scene-bottom{bottom:45px}#wall-guide{bottom:120px}}@media(max-width:1100px) and (min-width:701px){.workspace canvas{top:190px;height:calc(100% - 300px)}.workspace.wall-design canvas{top:270px;height:calc(100% - 390px)}}

.shared-banner{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:8px 22px;background:#eaf1e4;border-bottom:1px solid #d9e3d1;font-size:11px}.shared-banner strong{color:#40633c}.shared-banner button{font-size:10px;padding:3px 8px}.shared-banner #shared-status{flex:1;color:#617958}.shared-banner [hidden]{display:none}.sync-loading .catalog,.sync-loading #starter,.sync-loading #import-btn,.sync-loading .selected-actions,.sync-loading .position-inputs,.sync-loading [data-decor]{pointer-events:none;opacity:.4}main{height:calc(100vh - 133px)}@media(max-width:700px){.shared-banner{padding:8px 12px;gap:6px}.shared-banner strong{font-size:10px}.shared-banner #shared-status{min-width:180px}.shared-banner button{font-size:9px}}

.shop-catalog-button{width:100%;margin-top:10px;font-size:12px;background:#edf2e7}.shewu-entry{padding:16px 0;border-bottom:1px solid #dde3d7}.shewu-entry h3{margin:0 0 6px;font-size:15px}.shewu-entry p{margin:8px 0}.shewu-entry details{margin:10px 0}.shewu-entry summary{cursor:pointer;font-size:12px}.shewu-entry img{width:100%;height:auto;margin-top:10px}
