@import"https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap";:root{color:#222326;background:#f8f8f9;font-family:Montserrat,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f8f8f9}button{color:inherit;font:inherit}.app-shell{min-height:100vh;padding:34px 44px 26px;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:18px}.topbar{height:60px;border-bottom:1px solid #27282b;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;position:relative;z-index:22}.brand{line-height:.95;font-size:20px;letter-spacing:0}.brand span,.brand strong{display:block}.brand strong{font-weight:800}.top-actions{display:flex;gap:10px}.ghost-action{border:1px solid rgba(38,39,42,.16);background:#ffffff6b;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-radius:999px;padding:9px 15px;cursor:pointer;font-size:13px;font-weight:700;box-shadow:0 12px 34px #1c1f2214}.scene-shell{min-height:560px;position:relative;overflow:hidden;border-bottom:1px solid #27282b;background:#f8f8f9}.scene-shell canvas{display:block;cursor:grab}.scene-shell canvas:active{cursor:grabbing}.back-button{position:absolute;z-index:12;top:46px;left:0;border:0;background:#ffffff61;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:999px;padding:10px 16px;display:inline-flex;align-items:center;gap:10px;font-weight:800;font-size:16px;cursor:pointer;box-shadow:0 14px 32px #22232614}.scene-hint{position:absolute;z-index:12;left:50%;bottom:30px;transform:translate(-50%);border:1px solid rgba(255,255,255,.5);background:#2324276b;color:#fff;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-radius:999px;padding:11px 17px;font-size:12px;font-weight:600;max-width:min(520px,calc(100% - 40px));text-align:center;box-shadow:0 18px 42px #191b1e1f}.catalog-panel{position:absolute;z-index:20;top:28px;right:10px;width:min(320px,calc(100% - 32px));max-height:calc(100% - 58px);padding:0;display:flex;flex-direction:column;border:0;border-radius:0;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;overflow:visible;transition:transform .26s ease,opacity .18s ease}.is-panel-collapsed .catalog-panel{transform:translate(calc(100% + 34px));opacity:0;pointer-events:none}.panel-header{flex:0 0 auto;display:flex;align-items:center;align-self:stretch;position:relative;width:100%;margin-bottom:12px;margin-left:0;padding:0 48px 0 0}.category-nav{flex:0 0 auto;width:100%;min-height:46px;padding:5px 18px;display:flex;align-items:center;justify-content:flex-start;gap:24px;border:1px solid rgba(255,255,255,.56);border-radius:999px;background:#ffffff6b;-webkit-backdrop-filter:blur(18px) saturate(1.25);backdrop-filter:blur(18px) saturate(1.25);box-shadow:inset 0 1px #ffffffa8}.category-tab,.collapsed-category{border:0;background:transparent;width:36px;height:36px;border-radius:999px;display:grid;place-items:center;cursor:pointer;position:relative;color:#242529;transition:background .16s ease,box-shadow .16s ease,transform .16s ease}.category-tab img,.collapsed-category img{width:21px;height:21px;object-fit:contain}.category-tab.is-active,.category-tab:hover,.collapsed-category.is-active,.collapsed-category:hover{background:#ffffffbd;box-shadow:0 12px 30px #18191c1f}.category-tab:after,.collapsed-category:after{content:attr(data-tooltip);position:absolute;left:50%;bottom:calc(100% + 9px);transform:translate(-50%) translateY(4px);border-radius:999px;background:#232427e0;color:#fff;padding:6px 10px;font-size:10px;font-weight:700;line-height:1;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .14s ease,transform .14s ease}.category-tab:hover:after,.collapsed-category:hover:after{opacity:1;transform:translate(-50%) translateY(0)}.catalog-list{display:grid;gap:9px;flex:1 1 auto;min-height:0;max-height:calc(100vh - 300px);overflow-y:auto;overflow-x:hidden;padding:2px 48px 18px 0;overscroll-behavior:contain}.module-card{width:100%;min-height:72px;border:1px solid rgba(255,255,255,.64);background:#ffffffe6;-webkit-backdrop-filter:none;backdrop-filter:none;border-radius:16px;padding:8px 34px 8px 8px;display:grid;grid-template-columns:48px minmax(0,1fr);gap:10px;align-items:center;text-align:left;cursor:grab;position:relative;box-shadow:0 4px 10px #191c1e1a;transition:transform .16s ease,background .16s ease,border-color .16s ease,box-shadow .16s ease}.module-card:active{cursor:grabbing}.module-card:hover,.module-card.is-active{transform:translateY(-1px);background:#fffffff5;border-color:#25262942;box-shadow:0 6px 14px #191c1e24}.module-card:hover .add-button{transform:translateY(-50%) scale(1.08);box-shadow:0 16px 34px #14151747}.module-thumb{align-self:center;width:48px;height:48px;border-radius:12px;background:#ffffffe6;display:grid;place-items:center;overflow:hidden;box-shadow:inset 0 1px #ffffffe6,0 2px 6px #1a1c1e14}.module-thumb span{width:var(--thumb-w, 44px);height:var(--thumb-h, 52px);border:4px solid #e5e1d9;background:repeating-linear-gradient(to bottom,#7b3a23 0 8px,#4b2216 8px 12px);box-shadow:8px 12px 18px #0003}.module-thumb img{width:100%;height:100%;object-fit:cover;display:block;border-radius:inherit;mix-blend-mode:normal}.module-copy strong,.module-copy span{display:block}.module-copy strong{font-size:12.5px;line-height:1.14;margin-bottom:3px}.module-copy{align-self:center}.module-copy span{font-size:9.5px;color:#42464a;line-height:1.3}.card-materials{display:grid;gap:3px;margin-top:5px;max-width:140px}.material-row{display:flex;flex-wrap:wrap;gap:5px;align-items:center}.material-row small{width:38px;flex:0 0 38px;color:#42464ab8;font-size:8px;font-weight:700;line-height:1}.card-swatch,.texture-chip,.metal-chip{width:11px;height:11px;border:1px solid rgba(28,29,32,.2);border-radius:999px;cursor:default;padding:0}.card-swatch{background:var(--swatch)}.texture-chip{border-radius:999px;background-color:var(--texture-color);background-image:var(--texture-image);background-size:cover;box-shadow:inset 0 0 0 1px #ffffff85}.metal-chip{background:var(--swatch)}.card-swatch.is-active,.texture-chip.is-active,.metal-chip.is-active{outline:2px solid #ffffff;outline-offset:1px;box-shadow:0 0 0 3px #27282b24}.add-button{position:absolute;top:50%;right:9px;transform:translateY(-50%);width:24px;height:24px;border:0;border-radius:999px;background:#27282b;color:#fff;font-size:17px;line-height:1;font-weight:500;cursor:pointer;box-shadow:0 12px 28px #1415173d;display:grid;place-items:center;transition:transform .15s ease,box-shadow .15s ease,background .15s ease}.add-button img{width:12px;height:12px;filter:invert(1)}.panel-rail{position:absolute;z-index:20;top:34px;right:22px;width:38px;height:38px;border:1px solid rgba(255,255,255,.58);border-radius:999px;background:#ffffff6b;color:#27282b;-webkit-backdrop-filter:blur(18px) saturate(1.25);backdrop-filter:blur(18px) saturate(1.25);display:grid;place-items:center;padding:0;cursor:pointer;opacity:0;pointer-events:none;box-shadow:0 16px 40px #14161829;transition:opacity .16s ease,transform .22s ease}.panel-rail img,.panel-toggle img{width:18px;height:18px;filter:brightness(0) saturate(1)}.panel-rail img{transform:rotate(180deg)}.is-panel-collapsed .panel-rail{opacity:1;pointer-events:auto;transform:translate(0)}.panel-toggle{position:absolute;z-index:2;top:5px;left:auto;right:0;width:36px;height:36px;border:1px solid rgba(255,255,255,.62);border-radius:999px;background:#ffffff75;color:#27282b;-webkit-backdrop-filter:blur(18px) saturate(1.25);backdrop-filter:blur(18px) saturate(1.25);display:grid;place-items:center;padding:0;cursor:pointer;box-shadow:0 14px 34px #14161824}.collapsed-category-rail{position:absolute;z-index:19;top:84px;right:22px;display:grid;gap:8px;padding:8px;border:1px solid rgba(255,255,255,.56);border-radius:999px;background:#ffffff61;-webkit-backdrop-filter:blur(18px) saturate(1.25);backdrop-filter:blur(18px) saturate(1.25);box-shadow:0 18px 48px #14161824;opacity:0;pointer-events:none;transform:translate(12px);transition:opacity .16s ease,transform .22s ease}.is-panel-collapsed .collapsed-category-rail{opacity:1;pointer-events:auto;transform:translate(0)}.collapsed-category:after{left:auto;right:calc(100% + 10px);bottom:50%;transform:translateY(50%) translate(4px)}.collapsed-category:hover:after{transform:translateY(50%) translate(0)}.summary-bar{min-height:96px;background:#f4f6f4c7;border:1px solid rgba(255,255,255,.62);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-radius:0;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:19px 26px;box-shadow:0 18px 50px #171b1e14}.summary-detail{display:grid;gap:8px;min-width:0}.summary-detail span{color:#08090b;font-size:13px;font-weight:700;text-transform:uppercase}.summary-detail strong{color:#08090b;font-size:15px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.summary-detail small{color:#50545a;font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cart-button{border:0;min-width:154px;min-height:50px;border-radius:999px;background:#0d43df;color:#fff;font-weight:700;cursor:pointer;box-shadow:0 16px 34px #0d43df33}.summary-actions{display:flex;align-items:center;gap:12px}.summary-toggle{display:none;border:1px solid rgba(38,39,42,.14);background:#ffffffbd;border-radius:999px;min-height:42px;padding:0 16px;color:#202226;font-size:12px;font-weight:800;cursor:pointer}.loader-badge{border-radius:999px;background:#26272ab8;color:#fff;padding:11px 16px;font-size:12px;font-weight:700;white-space:nowrap}.module-hud{display:grid;justify-items:start;gap:8px;opacity:0;transform:translateY(4px) scale(.96);animation:hud-in .14s ease forwards;pointer-events:none}.module-actions,.floating-materials{display:flex;align-items:center;gap:6px;padding:6px;border:1px solid rgba(255,255,255,.58);border-radius:999px;background:#ffffff8f;-webkit-backdrop-filter:blur(18px) saturate(1.25);backdrop-filter:blur(18px) saturate(1.25);box-shadow:0 16px 36px #1416182e}.module-actions{justify-self:start;width:max-content}.module-actions button{width:30px;height:30px;border:0;border-radius:999px;background:#27282be0;color:#fff;display:grid;place-items:center;font-size:17px;line-height:1;cursor:pointer;pointer-events:auto}.module-actions button img{width:16px;height:16px;filter:invert(1)}.module-actions button:hover{background:#111214}.module-actions .delete-action{background:#d83b32}.module-actions .delete-action:hover{background:#ba261e}.floating-materials{display:inline-grid;justify-items:start;width:max-content;margin-inline:0 auto;border-radius:18px;padding:7px 9px;gap:7px}.material-control-row{display:flex;align-items:center;gap:8px;width:max-content;min-height:22px}.material-control-row span{width:auto;flex:0 0 auto;font-size:9px;line-height:1;font-weight:700;letter-spacing:0;color:#2a2c30a8;text-align:left}.floating-swatches{display:flex;align-items:center;justify-content:flex-start;gap:6px;width:auto;min-width:0}.floating-swatch,.floating-texture{width:17px;height:17px;border:1px solid rgba(28,29,32,.2);border-radius:999px;cursor:pointer;padding:0;pointer-events:auto}.floating-swatch{background:var(--swatch)}.floating-swatch.wood-swatch,.floating-swatch.metal-swatch{background-color:var(--swatch);background-image:var(--swatch-image);background-position:center;background-size:cover}.floating-texture{border-radius:999px;background-color:var(--texture-color);background-image:var(--texture-image);background-size:cover;box-shadow:inset 0 0 0 1px #ffffff85}.floating-swatch.is-active,.floating-texture.is-active{outline:2px solid #ffffff;outline-offset:2px;box-shadow:0 0 0 4px #27282b38}@keyframes hud-in{to{opacity:1;transform:translateY(0) scale(1)}}@media(max-width:1080px){.app-shell{padding:28px 22px}.scene-shell{min-height:520px}.summary-bar{align-items:stretch;flex-direction:column}.cart-button{width:100%}}@media(max-width:680px){.app-shell{padding:8px 8px 14px;gap:10px}.topbar{height:auto;padding-bottom:14px;align-items:center}.brand{font-size:17px}.ghost-action{padding-inline:12px}.scene-shell{min-height:520px}.back-button{top:12px;left:10px;font-size:12px;padding:7px 12px}.catalog-panel{inset:96px 8px auto;width:auto;max-height:calc(100% - 104px);padding:0}.panel-header{align-items:flex-start;margin-bottom:8px;padding-right:44px}.category-nav{overflow-x:hidden;justify-content:flex-start;min-height:42px;gap:9px;padding:4px 10px}.category-tab,.collapsed-category{width:32px;height:32px;flex:0 0 32px}.category-tab img,.collapsed-category img{width:19px;height:19px}.panel-toggle{top:0;right:0;width:40px;height:40px}.catalog-list{max-height:calc(100vh - 250px);overflow-y:auto;padding:2px 44px 14px 0;gap:8px}.module-card{grid-template-columns:44px 1fr;min-height:68px;padding:8px 30px 8px 8px;border-radius:15px}.module-thumb{width:44px;height:44px;border-radius:12px}.module-copy strong{font-size:12px}.module-copy span{font-size:10px}.card-swatch{width:14px;height:14px}.add-button{right:8px;width:22px;height:22px}.summary-bar{min-height:0;padding:10px;gap:9px;border-radius:0}.summary-detail{order:2;display:none;gap:5px}.summary-bar.is-expanded .summary-detail{display:grid}.summary-detail strong,.summary-detail small{white-space:normal}.summary-detail span{font-size:10px}.summary-detail strong{font-size:12px;line-height:1.25}.summary-detail small{font-size:10px;line-height:1.35}.summary-actions{order:1;display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}.summary-actions .cart-button{order:-1}.summary-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 12px}.cart-button{min-height:38px;min-width:0;width:100%;font-size:11px}}
