:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#08090b;color:#f2eee8;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;overflow:hidden}button,input{font:inherit}button{color:inherit}.app-shell{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);height:100vh;min-height:100vh;overflow:hidden;background:linear-gradient(135deg,rgba(120,26,37,.18),transparent 32%),linear-gradient(315deg,rgba(24,92,86,.16),transparent 36%),#08090b}.catalog{display:flex;height:100vh;min-height:0;flex-direction:column;gap:16px;border-right:1px solid rgba(255,255,255,.08);background:#0a0c0ee0;padding:18px}.brand-row,.viewer-toolbar,.toolbar-actions,.segmented,.scene-controls,.scene-stepper,.tuning-bar,.tuning-controls,.range-control,.save-button{display:flex;align-items:center}.brand-row{justify-content:space-between}.eyebrow{margin:0 0 3px;color:#d8b56d;font-size:.72rem;font-weight:800;letter-spacing:0;text-transform:uppercase}h1,h2{margin:0;line-height:1.05}h1{font-size:1.45rem}h2{max-width:min(54vw,920px);overflow-wrap:anywhere;font-size:clamp(1rem,2vw,1.55rem)}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.stats-grid div{border:1px solid rgba(255,255,255,.09);border-radius:8px;background:#ffffff0d;padding:12px}.stats-grid span,.stats-grid small{display:block}.stats-grid span{font-size:1.32rem;font-weight:800}.stats-grid small{margin-top:2px;color:#b8c6c3;font-size:.78rem}.search-box{display:flex;align-items:center;gap:8px;min-height:42px;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#00000040;padding:0 11px}.search-box input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:#fff}.search-box input::placeholder{color:#80918d}.scene-list{display:flex;min-height:0;flex:1;flex-direction:column;gap:9px;overflow:auto;padding-right:4px}.scene-card{display:grid;grid-template-columns:74px minmax(0,1fr);gap:10px;width:100%;border:1px solid transparent;border-radius:8px;background:#ffffff0b;padding:8px;text-align:left;cursor:pointer}.scene-card:hover,.scene-card.selected,.scene-card:focus-visible{border-color:#d8b56dad;background:#d8b56d1c;outline:0}.scene-card img{width:74px;height:48px;border-radius:6px;object-fit:cover;background:#111}.scene-card-copy{display:flex;min-width:0;flex-direction:column;gap:5px}.scene-card span{min-width:0}.scene-card strong,.scene-card small{display:block}.scene-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.82rem}.scene-card small{color:#adbbb8;font-size:.72rem;line-height:1.35}.scene-card-actions{display:flex;flex-wrap:wrap;gap:5px}.mini-button{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;border:1px solid rgba(255,255,255,.12);border-radius:7px;background:#ffffff0e;color:#efe6d4;cursor:pointer}.mini-button:hover:not(:disabled){border-color:#d8b56d85;background:#d8b56d21}.mini-button:disabled{color:#64716e;cursor:not-allowed}.mini-button.favorite{border-color:#d8b56d9e;color:#d8b56d}.text-mini{min-width:52px;padding:0 8px;font-size:.72rem;font-weight:800}.viewer-panel{display:grid;grid-template-rows:auto auto auto minmax(0,1fr);height:100vh;min-width:0;min-height:0;overflow:hidden}.viewer-toolbar{grid-row:1}.tuning-bar{grid-row:3}.viewer-stage{grid-row:4}.viewer-toolbar{justify-content:space-between;gap:14px;min-height:76px;border-bottom:1px solid rgba(255,255,255,.08);background:#08090bb3;padding:14px 18px}.toolbar-actions{gap:10px}.scene-stepper{gap:6px}.segmented{min-height:40px;overflow:hidden;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#ffffff0d}.segmented button{display:inline-flex;align-items:center;gap:6px;height:40px;border:0;background:transparent;padding:0 12px;cursor:pointer}.segmented button.active{background:#d8b56d;color:#151006}.segmented button:disabled{color:#64716e;cursor:not-allowed}.icon-button,.xr-button,.save-button{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;border:1px solid rgba(255,255,255,.13);border-radius:8px;background:#ffffff0f;cursor:pointer}.icon-button:hover,.xr-button:hover:not(:disabled),.save-button:hover:not(:disabled){border-color:#ffffff52;background:#ffffff1f}.active-soft{border-color:#d8b56d9e;background:#d8b56d26}.tuning-bar{gap:12px;min-height:72px;border-bottom:1px solid rgba(255,255,255,.08);background:#08090b94;padding:9px 18px}.pipeline-bar{display:grid;grid-row:2;grid-template-columns:minmax(180px,1fr) auto minmax(360px,auto);gap:12px;align-items:center;min-height:70px;border-bottom:1px solid rgba(255,255,255,.08);background:#050506b8;padding:10px 18px}.pipeline-copy{min-width:0}.pipeline-copy strong,.pipeline-copy small{display:block}.pipeline-copy strong{color:#f5ead2;font-size:.9rem}.pipeline-copy small,.pipeline-error{overflow:hidden;color:#aebbb8;font-size:.78rem;text-overflow:ellipsis;white-space:nowrap}.pipeline-counts,.pipeline-actions{display:flex;align-items:center;gap:8px}.pipeline-counts{color:#d7e0dd;font-size:.78rem}.pipeline-counts span{min-width:24px;font-weight:900;text-align:right}.pipeline-counts small{color:#8ea09c;font-weight:800}.pipeline-actions{justify-content:flex-end}.pipeline-actions select{height:40px;border:1px solid rgba(255,255,255,.13);border-radius:8px;background:#ffffff0f;color:#efe6d4;padding:0 10px}.pipeline-error{grid-column:1 / -1;color:#ffb7b7}.tuning-controls{flex:1;flex-wrap:wrap;gap:10px 14px;min-width:0}.range-control{flex:1 1 220px;gap:9px;min-width:205px}.range-control span,.range-control output{color:#d7e0dd;font-size:.78rem;font-weight:800}.range-control output{min-width:42px;text-align:right}.range-control input{flex:1;accent-color:#d8b56d}.save-button{gap:7px;min-width:92px;padding:0 13px;font-weight:800}.save-button.secondary{min-width:74px;color:#d7e0dd}.save-button:disabled{color:#74807d;cursor:wait}.viewer-stage,.scene-viewer{position:relative;min-width:0;min-height:0;overflow:hidden}.source-preview,.flat-preview{display:grid;width:100%;height:100%;min-height:0;place-items:center;overflow:hidden;background:linear-gradient(135deg,rgba(216,181,109,.08),transparent 34%),#050506;padding:28px}.source-preview img,.flat-preview img{max-width:96%;max-height:calc(100vh - 220px);border:1px solid rgba(255,255,255,.12);border-radius:8px;object-fit:contain;box-shadow:0 18px 70px #00000059}.erp-preview img{width:min(96%,1400px)}.original-preview img{image-rendering:auto}.scene-viewer{width:100%;height:100%;background:#050506}.scene-viewer canvas{display:block;width:100%;height:100%}.scene-controls{position:absolute;z-index:2;top:14px;right:14px;gap:8px}.glass,.xr-button{background:#08090b9e;backdrop-filter:blur(12px)}.xr-button{gap:7px;padding:0 12px;font-weight:800}.xr-button:disabled{color:#74807d;cursor:not-allowed}.loading-overlay,.empty-state{position:absolute;inset:0;display:grid;place-items:center;background:#05050680;color:#efe6d4}.loading-overlay{gap:10px;grid-auto-flow:column}.loading-overlay svg{animation:spin .9s linear infinite}.inline-error{border:1px solid rgba(255,96,96,.32);border-radius:8px;background:#781a2538;padding:10px;color:#ffd4d4}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:820px){body{overflow:auto}.app-shell{grid-template-columns:1fr;min-height:100vh}.catalog{min-height:auto;max-height:44vh;border-right:0;border-bottom:1px solid rgba(255,255,255,.08)}.viewer-panel{min-height:56vh}.viewer-toolbar{align-items:flex-start;flex-direction:column}.toolbar-actions,.tuning-bar,.pipeline-bar{width:100%;flex-wrap:wrap}.pipeline-bar{grid-template-columns:1fr}.pipeline-actions,.pipeline-counts{flex-wrap:wrap;justify-content:flex-start}h2{max-width:100%}}
