.orientation-widget{position:absolute;right:12px;top:12px;width:96px;height:96px;z-index:4;pointer-events:none;-webkit-user-select:none;user-select:none}.orientation-widget svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.orientation-widget button{position:absolute;width:26px;height:26px;border:1px solid var(--axis-color);border-radius:50%;background:var(--panel);color:var(--axis-color);font:600 10px Arial,sans-serif;transform:translate(-50%,-50%);padding:0;pointer-events:auto;cursor:pointer;transition:background .12s}.orientation-widget button:hover,.orientation-widget button:focus-visible{background:var(--axis-color);color:var(--bg);opacity:1!important;outline:2px solid white;outline-offset:2px}.three-stage.camera-looking{cursor:crosshair}.three-stage.camera-panning{cursor:move}@media(max-width:760px){.orientation-widget{right:6px;top:6px;transform:scale(.85);transform-origin:top right}}.layer-inspector{min-width:0;color:var(--text-secondary)}.layer-section{min-width:0;border-top:1px solid var(--line)}.layer-section>summary{display:flex;min-height:44px;align-items:center;justify-content:space-between;padding:0 17px;color:var(--text-secondary);font-size:12px;cursor:pointer;list-style:none}.layer-section>summary::-webkit-details-marker{display:none}.layer-section>summary:after{width:7px;height:7px;margin-right:3px;transform:rotate(45deg);border-right:1px solid var(--line-strong);border-bottom:1px solid var(--line-strong);content:"";transition:transform .15s ease}.layer-section[open]>summary:after{transform:rotate(225deg)}.layer-section>summary:hover{background:var(--hover);color:var(--text)}.layer-section-body{display:flex;min-width:0;flex-direction:column;gap:10px;padding:2px 17px 15px}.layer-select,.layer-text-field,.layer-number-fallback{display:flex;min-width:0;flex-direction:column;gap:5px;color:var(--muted);font-size:12px}.layer-select select,.layer-text-field textarea,.layer-number-fallback input{width:100%;min-width:0;min-height:44px;border:1px solid var(--line);border-radius:4px;outline:0;background:var(--panel);color:var(--text);font:inherit;font-size:12px}.layer-select select{padding:7px 9px}.layer-select select:focus,.layer-text-field textarea:focus,.layer-number-fallback input:focus{border-color:var(--accent)}.layer-text-field textarea{min-height:92px;padding:9px;resize:vertical;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}.layer-number-fallback input{padding:7px 6px}.layer-font-row,.layer-dimensions{display:grid;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.layer-font-row>*,.layer-dimensions>*{min-width:0}.layer-inspector .navigation-number{gap:5px;min-width:0;color:var(--muted);font-size:12px}.layer-inspector .navigation-number-input{min-width:0}.layer-inspector .navigation-number-input input{width:100%;min-width:0;min-height:44px;padding:7px 6px;border-color:var(--line);background:var(--panel);color:var(--text);font-size:12px}.layer-inspector .navigation-number-input small{font-size:9px}.layer-color-field{display:flex;min-width:0;min-height:44px;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:12px}.layer-color-value{display:flex;min-width:0;align-items:center;gap:8px;color:var(--text-secondary)}.layer-color-value input{width:44px;height:44px;flex:0 0 auto;padding:3px;border:1px solid var(--line);border-radius:5px;background:var(--panel);cursor:pointer}.layer-color-value code{color:inherit;font:11px ui-monospace,SFMono-Regular,Consolas,monospace}.layer-toggle{display:flex;min-width:0;min-height:44px;align-items:center;gap:8px;color:var(--text-secondary);font-size:12px;cursor:pointer}.layer-toggle>span{flex:1}.layer-toggle input{position:absolute;width:1px;height:1px;opacity:0}.layer-toggle i{position:relative;width:31px;height:18px;flex:0 0 auto;border:1px solid var(--line);border-radius:10px;background:var(--panel)}.layer-toggle i:after{position:absolute;top:3px;left:3px;width:10px;height:10px;border-radius:50%;background:var(--text-secondary);content:"";transition:transform .16s,background .16s}.layer-toggle input:checked+i{border-color:var(--accent);background:var(--action)}.layer-toggle input:checked+i:after{transform:translate(13px);background:var(--on-accent)}.layer-toggle input:focus-visible+i{outline:2px solid var(--accent);outline-offset:3px}.layer-plane-upload{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:8px;padding:8px;border:1px dashed var(--line);border-radius:5px;background:var(--inset)}.layer-plane-upload>div{display:flex;min-width:0;align-items:center;gap:6px;color:var(--muted);font-size:12px}.layer-plane-upload>div svg{flex:0 0 auto;color:var(--text-secondary)}.layer-plane-upload>div span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.layer-upload-button{position:relative;display:inline-flex;min-height:44px;flex:0 0 auto;align-items:center;justify-content:center;gap:5px;padding:5px 8px;border:1px solid var(--line);border-radius:4px;background:var(--panel);color:var(--text-secondary);font-size:12px;white-space:nowrap;cursor:pointer}.layer-upload-button input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.layer-upload-button:focus-within{outline:2px solid var(--accent);outline-offset:2px}.layer-error{margin:0;color:#f0b9af;font-size:11px;line-height:1.45;overflow-wrap:anywhere}.layer-stops-heading{display:flex;min-height:44px;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px}.layer-add-stop,.layer-remove-stop{display:inline-flex;min-width:44px;min-height:44px;align-items:center;justify-content:center;gap:4px;border:1px solid var(--line);border-radius:4px;background:var(--panel);color:var(--text-secondary);font-size:11px}.layer-add-stop:hover:not(:disabled),.layer-remove-stop:hover:not(:disabled){border-color:var(--line-strong);background:var(--hover)}.layer-add-stop:disabled,.layer-remove-stop:disabled{opacity:.45;cursor:not-allowed}.layer-stops{display:flex;min-width:0;flex-direction:column;gap:7px}.layer-stop{min-width:0;padding:7px;border:1px solid var(--line);border-radius:5px;background:var(--inset)}.layer-stop-top{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:5px}.layer-stop-top .layer-color-field{flex:1;min-width:0}.layer-stop-top .layer-color-value{gap:6px}.layer-stop-top .layer-color-value input{width:44px;height:44px}.layer-remove-stop{flex:0 0 44px;padding:0;color:var(--muted)}.layer-stop-values{display:grid;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.layer-note{margin:0;color:var(--muted);font-size:12px;line-height:1.5;overflow-wrap:anywhere}@media(max-width:410px){.layer-section>summary{padding-right:15px;padding-left:15px}.layer-section-body{gap:9px;padding-right:15px;padding-left:15px}.layer-font-row,.layer-dimensions,.layer-stop-values{gap:6px}.layer-stop{padding:6px}.layer-stop-top .layer-color-value{gap:5px}.layer-stop-top .layer-color-value code{font-size:10px}.layer-plane-upload{gap:5px;padding:6px}.layer-upload-button{padding-right:6px;padding-left:6px}}.scene-outliner{display:flex;flex:1 1 auto;flex-direction:column;max-height:none;min-height:0;overflow:hidden;padding:13px 12px 10px;border-bottom:1px solid var(--line, var(--line));color:var(--text, var(--text))}.scene-outliner-heading,.scene-outliner-heading>div{display:flex;align-items:center}.scene-outliner-heading{justify-content:space-between;min-height:22px;margin-bottom:9px}.scene-outliner-heading>div{gap:7px;min-width:0;color:var(--muted)}.scene-outliner-heading h2{margin:0;color:var(--text);font-size:12px;font-weight:550}.scene-count{min-width:18px;padding:2px 5px;border-radius:8px;background:var(--panel);color:var(--text-secondary);font-size:10px;text-align:center}.scene-template-link{min-height:28px;padding:4px 8px;border:1px solid var(--line);border-radius:4px;color:var(--text-secondary);font-size:11px}.scene-template-link:hover{background:var(--hover);color:var(--accent, var(--text-secondary))}.scene-add-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;flex:0 0 auto}.scene-add-grid button{display:flex;min-width:0;min-height:31px;align-items:center;justify-content:center;gap:3px;overflow:hidden;padding:3px 2px;border:1px solid var(--line);border-radius:4px;background:var(--panel);color:var(--muted);font-size:11px;white-space:nowrap}.scene-add-grid button:hover{border-color:var(--line-strong);background:var(--hover);color:var(--text-secondary)}.scene-add-grid button svg:first-child{color:var(--subtle)}.scene-add-grid button svg:nth-child(2){color:var(--text-secondary)}.scene-object-list{min-height:26px;flex:1 1 auto;max-height:none;overflow-y:auto;overscroll-behavior:contain;margin-top:7px;padding-right:2px}.scene-object-row{display:flex;min-height:32px;align-items:center;gap:3px;margin-bottom:2px;padding:2px 3px 2px 6px;border:1px solid transparent;border-radius:5px}.scene-object-row:hover{background:var(--hover)}.scene-object-row.selected{border-color:var(--accent);background:var(--accent-soft)}.scene-object-row.hidden-object .scene-object-select{color:var(--subtle)}.scene-object-select{display:flex;flex:1;min-width:0;align-items:center;gap:7px;overflow:hidden;padding:3px 0;color:var(--text-secondary);text-align:left}.scene-object-select>svg:first-child{color:var(--text-secondary)}.scene-object-name{overflow:hidden;flex:1;color:inherit;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.scene-lock-mark{color:#d5c99d}.scene-object-actions{display:flex;flex:0 0 auto;align-items:center;gap:0}.scene-icon-action{display:inline-flex;width:22px;height:23px;align-items:center;justify-content:center;border-radius:4px;color:var(--muted)}.scene-icon-action:hover:not(:disabled){background:var(--hover);color:var(--text)}.scene-icon-action.danger:hover:not(:disabled){background:#492f2b;color:#f0aaa0}.scene-empty{margin:8px 1px;color:var(--muted);font-size:11px;line-height:1.6}.scene-editor-error{margin:5px 0;padding:6px 8px;border:1px solid #70423c;border-radius:4px;background:#382523;color:#f0b9af;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.object-inspector{display:flex;min-width:0;min-height:0;height:100%;flex-direction:column;background:var(--panel);color:var(--text, var(--text))}.object-inspector-heading{display:flex;flex:0 0 auto;min-height:61px;align-items:center;gap:8px;padding:9px 18px;border-bottom:1px solid var(--line)}.object-inspector-heading>span{color:var(--subtle);font-size:11px}.object-inspector-heading h2{margin:0;color:var(--text);font-size:13px;font-weight:500}.object-inspector-heading small{margin-left:auto;padding:4px 6px;border-radius:4px;background:var(--panel);color:var(--text-secondary);font-size:10px}.object-inspector-content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}.scene-object-title{display:flex;align-items:center;gap:8px;padding:13px 17px 10px;color:var(--text-secondary)}.scene-object-title input{min-width:0;width:100%;min-height:34px;padding:7px 8px;border:1px solid var(--line);border-radius:4px;outline:0;background:var(--panel);color:var(--text);font-size:12px}.scene-object-title input:focus{border-color:var(--accent)}.scene-inspector-section{border-top:1px solid var(--line)}.scene-inspector-section>summary{display:flex;min-height:38px;align-items:center;justify-content:space-between;padding:0 17px;color:var(--text-secondary);font-size:11px;cursor:pointer;list-style:none}.scene-inspector-section>summary::-webkit-details-marker{display:none}.scene-inspector-section>summary:hover{background:var(--hover);color:var(--text)}.scene-inspector-section>summary svg{color:var(--subtle);transition:transform .15s ease}.scene-inspector-section[open]>summary svg{transform:rotate(180deg)}.scene-inspector-section-body{display:flex;flex-direction:column;gap:9px;padding:2px 17px 14px}.scene-transform-group{min-width:0;margin:0;padding:0;border:0}.scene-transform-group:disabled{opacity:.62}.scene-transform-group legend{margin-bottom:7px;color:var(--muted);font-size:11px}.scene-axis-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.scene-axis-fields .navigation-number{gap:4px;color:var(--muted);font-size:11px}.scene-axis-fields .navigation-number-input input{padding:7px 4px;color:var(--text);font-size:11px}.scene-axis-fields .navigation-number-input small{font-size:9px}.scene-transform-group>.scene-toggle{margin-bottom:7px}.scene-transform-mode{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:6px;margin:0;padding:2px 0 0;border:0}.scene-transform-mode:disabled{opacity:.62}.scene-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.scene-inspector-note{margin:0;color:var(--subtle);font-size:10px;line-height:1.5}.scene-segmented,.scene-mode-buttons{display:flex;align-items:center;gap:2px;padding:2px;border:1px solid var(--line);border-radius:5px;background:var(--inset)}.scene-segmented button,.scene-mode-buttons button{display:inline-flex;min-height:30px;align-items:center;justify-content:center;gap:4px;padding:3px 7px;border-radius:3px;color:var(--muted);font-size:11px}.scene-mode-buttons button{min-width:36px}.scene-segmented button.active,.scene-mode-buttons button.active{background:var(--accent-soft);color:var(--accent-text)}.scene-mode-buttons button span{color:inherit;font-size:10px;font-weight:600}.scene-toggle{display:flex;min-height:32px;align-items:center;gap:8px;color:var(--text-secondary);font-size:11px;cursor:pointer}.scene-toggle>span{display:flex;flex:1;flex-direction:column;gap:3px}.scene-toggle small{color:var(--subtle);font-size:10px}.scene-toggle input{position:absolute;width:1px;height:1px;opacity:0}.scene-toggle i{position:relative;width:27px;height:15px;flex:0 0 auto;border:1px solid var(--line);border-radius:9px;background:var(--panel);transition:background .16s,border-color .16s}.scene-toggle i:after{position:absolute;top:2px;left:2px;width:9px;height:9px;border-radius:50%;background:var(--text-secondary);content:"";transition:transform .16s,background .16s}.scene-toggle input:checked+i{border-color:var(--accent);background:var(--action)}.scene-toggle input:checked+i:after{transform:translate(12px);background:var(--on-accent)}.scene-toggle input:focus-visible+i{outline:2px solid var(--accent, var(--accent));outline-offset:3px}.scene-toggle.disabled{opacity:.48;cursor:not-allowed}.scene-align-controls{display:flex;flex-direction:column;gap:8px}.scene-align-controls>label,.scene-select-field{display:flex;flex-direction:column;gap:5px;color:var(--muted);font-size:11px}.scene-align-controls select,.scene-select-field select{min-height:34px;padding:6px 8px;border:1px solid var(--line);border-radius:4px;background:var(--panel);color:var(--text-secondary);font-size:11px}.scene-primary-action,.scene-secondary-action{display:inline-flex;min-height:34px;align-items:center;justify-content:center;gap:6px;border:1px solid var(--line-strong);border-radius:4px;background:var(--raised);color:var(--text-secondary);font-size:11px}.scene-primary-action:hover:not(:disabled){background:var(--hover)}.scene-plane-upload{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:9px;border:1px dashed var(--line);border-radius:5px;background:var(--inset)}.scene-plane-upload>div{display:flex;min-width:0;align-items:center;gap:6px;color:var(--muted);font-size:10px}.scene-plane-upload>div span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scene-secondary-action{position:relative;min-height:34px;padding:4px 7px;border-color:var(--line);background:var(--panel);white-space:nowrap;cursor:pointer}.scene-secondary-action input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.scene-secondary-action:focus-within{outline:2px solid var(--accent, var(--accent));outline-offset:3px}.scene-color-field{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:11px}.scene-color-field>span:last-child{display:flex;align-items:center;gap:7px;color:var(--text-secondary);font-size:10px}.scene-color-field input{width:27px;height:23px;padding:2px;border:1px solid var(--line);border-radius:4px;background:var(--panel);cursor:pointer}.scene-plane-size{grid-template-columns:repeat(2,minmax(0,1fr))}.scene-inspector-empty{display:flex;min-height:180px;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:24px;color:var(--subtle);text-align:center}.scene-inspector-empty strong{color:var(--text-secondary);font-size:11px;font-weight:500}.scene-inspector-empty span{max-width:200px;color:var(--subtle);font-size:10px;line-height:1.6}.scene-template-gallery{display:flex;flex:1;max-height:none;min-height:0;flex-direction:column;overflow:hidden;color:var(--text)}.scene-template-heading{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid var(--line)}.scene-template-heading>div{display:flex;align-items:center;gap:10px;color:var(--text-secondary)}.scene-template-heading h2{margin:0;color:var(--text);font-size:14px;font-weight:550}.scene-template-heading>span{color:var(--subtle);font-size:10px}.scene-template-filters{display:flex;flex:0 0 auto;flex-wrap:wrap;gap:6px;padding:9px 14px;border-bottom:1px solid var(--line)}.scene-template-filters button{min-width:64px;min-height:44px;padding:7px 12px;border:1px solid var(--line);border-radius:5px;background:var(--panel);color:var(--muted);font-size:11px;cursor:pointer}.scene-template-filters button:hover{border-color:var(--line-strong);color:var(--text-secondary)}.scene-template-filters button.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-text)}.scene-template-filters button:focus-visible,.scene-template-card-info button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.scene-template-grid{display:grid;flex:1;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:max-content;align-content:start;gap:11px;min-height:0;overflow-y:auto;padding:14px}.scene-template-card{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:7px;background:var(--inset);transition:border-color .15s,transform .15s}.scene-template-card:hover{transform:translateY(-1px);border-color:var(--line-strong)}.scene-template-card.applied{border-color:var(--line-strong);box-shadow:0 0 0 1px var(--accent-glow)}.scene-template-preview-frame{display:flex;width:100%;aspect-ratio:4 / 3;align-items:center;justify-content:center;overflow:hidden;background:var(--panel)}.scene-template-preview{display:block;width:100%;height:100%;object-fit:contain}.scene-template-preview-failed{display:flex;width:100%;height:100%;align-items:center;justify-content:center;background:var(--panel);color:var(--muted);font-size:11px}.scene-template-card-info{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px}.scene-template-card-info>div{min-width:0}.scene-template-meta{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:5px}.scene-template-meta span{padding:2px 5px;border:1px solid var(--line);border-radius:3px;color:var(--muted);font-size:9px;line-height:1.3}.scene-template-card-info h3{overflow:hidden;margin:0;color:var(--text);font-size:11px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.scene-template-card-info p{overflow:hidden;margin:4px 0 0;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.scene-template-object-count{display:inline-block;margin-top:5px;color:var(--muted);font-size:10px}.scene-template-card-info button{min-width:52px;min-height:44px;flex:0 0 auto;padding:6px 8px;border:1px solid var(--line-strong);border-radius:4px;background:var(--raised);color:var(--text-secondary);font-size:11px;cursor:pointer}.scene-template-card-info button:hover{background:var(--hover)}.scene-template-no-results{padding:24px 14px;color:var(--muted);font-size:12px;text-align:center}@media(max-width:1200px)and (min-width:761px){.scene-outliner{padding-right:8px;padding-left:8px}.scene-add-grid button{font-size:11px}.scene-add-grid button svg{width:12px;height:12px}.scene-object-actions .scene-icon-action{width:19px}.scene-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.scene-outliner{min-height:0;padding:13px 17px 11px}.scene-outliner-heading h2{font-size:12px}.scene-template-link{min-height:44px;padding-right:12px;padding-left:12px}.scene-add-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.scene-add-grid button{min-height:44px;gap:6px;font-size:11px}.scene-object-list{max-height:none}.scene-object-row{min-height:46px}.scene-object-select{min-height:42px}.scene-object-name{font-size:11px}.scene-icon-action{width:40px;min-height:44px}.object-inspector{height:auto;min-height:calc(100dvh - 108px)}.object-inspector-heading{min-height:56px;padding:9px 22px}.object-inspector-heading h2{font-size:14px}.object-inspector-content{overflow:visible}.scene-object-title{padding-right:22px;padding-left:22px}.scene-object-title input{min-height:44px}.scene-inspector-section>summary{min-height:45px;padding-right:22px;padding-left:22px;font-size:11px}.scene-inspector-section-body{gap:12px;padding:3px 22px 18px}.scene-axis-fields{gap:10px}.scene-axis-fields .navigation-number{font-size:11px}.scene-axis-fields .navigation-number-input input{min-height:44px;font-size:11px}.scene-toggle{min-height:44px}.scene-segmented button,.scene-mode-buttons button{min-height:40px;font-size:11px}.scene-align-controls select,.scene-select-field select,.scene-primary-action,.scene-secondary-action{min-height:44px;font-size:11px}.scene-color-field input{width:40px;height:40px}.scene-template-gallery{max-height:none;min-height:calc(100dvh - 108px);overflow:visible}.scene-template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;overflow:visible;padding:12px}.scene-template-filters{gap:5px;padding:8px 12px}.scene-template-filters button{min-width:0;flex:1 1 calc(33.333% - 5px)}.scene-template-card-info{padding:8px}}@media(max-width:410px){.scene-template-grid{grid-template-columns:1fr}.scene-template-filters button{flex-basis:calc(33.333% - 5px)}.scene-object-actions .scene-icon-action{width:44px}}.onboarding-help{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;margin-left:auto;border:1px solid var(--line);border-radius:8px;color:var(--muted)}.onboarding-help:hover{background:var(--hover);color:var(--text)}.bm-tour{position:fixed;inset:0;z-index:500;isolation:isolate;overscroll-behavior:contain;color:var(--text);font-family:var(--sans,Arial,sans-serif)}.bm-tour-spotlight{position:fixed;pointer-events:none;border:1px solid var(--accent-glow);border-radius:12px;box-shadow:0 0 0 9999px var(--scrim),0 0 24px var(--accent-glow);transition:left .25s ease,top .25s ease,width .25s ease,height .25s ease}.bm-tour-scrim{position:absolute;inset:0;background:var(--scrim)}.bm-tour-card{position:fixed;width:min(404px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--line-strong);border-radius:16px;background:linear-gradient(145deg,var(--panel),var(--inset) 68%);box-shadow:0 24px 80px #0008,0 1px 0 var(--accent-glow) inset;padding:20px;touch-action:pan-y;scrollbar-width:thin}.bm-tour-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:36px}.bm-tour-header>span{display:flex;align-items:center;gap:10px}.bm-tour-header b{font-size:13px;font-weight:650;letter-spacing:-.3px}.bm-tour-header>span>span{font-size:11px;color:var(--muted);padding-left:10px;border-left:1px solid var(--line)}.bm-tour-skip{display:flex;align-items:center;justify-content:center;gap:6px;min-width:60px;min-height:44px;color:var(--text-secondary);font-size:12px;border-radius:6px}.bm-tour-skip:hover{background:var(--ui-tint);color:var(--text)}.bm-tour-progress{display:flex;gap:5px;margin:10px 0 20px}.bm-tour-progress>span{flex:1;height:2px;background:var(--raised);border-radius:2px}.bm-tour-progress>span.active{background:var(--accent)}.bm-tour-content{animation:bm-tour-enter .22s ease-out both}.bm-tour-step{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--text-secondary);letter-spacing:1px}.bm-tour-step>span:first-child{font-family:Consolas,monospace;color:var(--subtle)}.bm-tour-card h2{margin:10px 0;font-size:21px;line-height:1.4;letter-spacing:-.4px;font-weight:550}.bm-tour-card p{margin:0;font-size:13px;line-height:1.8;color:var(--text-secondary)}.bm-tour-demonstration{position:relative;margin:17px 0 12px;border:1px solid var(--line);border-radius:10px;overflow:hidden}.bm-demo{position:relative;height:168px;overflow:hidden;background:radial-gradient(ellipse at 50% 40%,var(--ui-tint),transparent 70%),var(--bg);perspective:650px}.bm-demo-grid{position:absolute;inset:0;opacity:.34;background-image:linear-gradient(var(--ui-tint) 1px,transparent 1px),linear-gradient(90deg,var(--ui-tint) 1px,transparent 1px);background-size:24px 24px;-webkit-mask-image:radial-gradient(ellipse,#000,transparent 90%);mask-image:radial-gradient(ellipse,#000,transparent 90%)}.bm-demo-world{position:absolute;left:calc(50% - 38px);top:5px;width:76px;height:154px;transform-style:preserve-3d}.bm-demo-watch{width:76px;height:154px;position:relative;transform:rotate(-9deg)}.bm-demo-strap{position:absolute;left:24px;top:0;bottom:0;width:28px;background:linear-gradient(90deg,var(--line),var(--line-strong),var(--line));border:1px solid var(--line-strong);border-radius:15px;box-shadow:0 10px 14px #0004}.bm-demo-case{position:absolute;inset:28px 1px;border:2px solid var(--line-strong);background:linear-gradient(115deg,var(--text-secondary),var(--line-strong));border-radius:22px;padding:4px;box-shadow:8px 12px 24px #0004}.bm-demo-face{height:100%;border-radius:17px;background:var(--bg);border:1px solid var(--ui-tint);display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--text-secondary);font:600 30px/1.03 Arial,sans-serif;position:relative;overflow:hidden}.bm-demo-pointer{position:absolute;left:54%;top:101px;color:var(--text);fill:var(--subtle);filter:drop-shadow(0 2px 2px #0007);animation:bm-pointer 4s cubic-bezier(.4,0,.2,1) infinite}.bm-demo-caption{position:absolute;left:12px;bottom:10px;color:var(--subtle);font-size:9px;letter-spacing:1px}.bm-demo-lineup{position:absolute;inset:8px 40px;display:flex;justify-content:center;gap:17px;align-items:center}.bm-demo-lineup>div{transform:scale(.76);width:76px;height:154px;flex-shrink:0;opacity:.4}.bm-demo-lineup>div:nth-child(2){opacity:1;transform:scale(.94)}.bm-demo-lineup>div:nth-child(2) .bm-demo-case{outline:1px solid var(--line-strong);outline-offset:5px;animation:bm-selected 4s ease-in-out infinite}.bm-demo-choose .bm-demo-pointer{top:108px;left:57%}.bm-demo-screen .bm-demo-face:after{content:"";position:absolute;inset:0;background:linear-gradient(145deg,#77919e 0%,var(--text-secondary) 42%,var(--text-secondary) 43%,var(--inset) 70%,var(--inset));opacity:0;animation:bm-upload 4s ease-in-out infinite}.bm-demo-upload{position:absolute;right:18%;top:67px;display:flex;align-items:center;gap:7px;padding:10px;border:1px solid var(--line-strong);border-radius:7px;background:var(--panel);color:var(--text-secondary);font-size:10px}.bm-demo-screen .bm-demo-world{left:27%}.bm-demo-screen .bm-demo-pointer{left:69%;top:107px}.bm-demo-select .bm-demo-world{animation:bm-object-move 4s ease-in-out infinite}.bm-demo-axes{position:absolute;left:38px;top:82px;width:68px;height:60px}.bm-demo-axes i{font:9px Consolas,monospace;position:absolute;height:1px;width:58px;transform-origin:left center;text-align:right;padding-bottom:4px}.bm-demo-axes .x{color:#da8e82;background:#da8e82;transform:rotate(-9deg)}.bm-demo-axes .y{color:#b6d595;background:#b6d595;transform:rotate(-90deg);width:54px}.bm-demo-axes .z{color:#87acd0;background:#87acd0;transform:rotate(135deg);width:34px}.bm-demo-shortcuts{position:absolute;right:15px;bottom:12px;display:flex;gap:5px}.bm-demo-shortcuts kbd,.bm-demo-keys kbd{display:flex;align-items:center;justify-content:center;width:25px;height:24px;border:1px solid var(--line-strong);border-bottom-width:3px;border-radius:5px;background:var(--panel);color:var(--text-secondary);font:11px Consolas,monospace}.bm-demo-mouse.bm-demo-middle .bm-demo-world{animation:bm-pan 4.5s ease-in-out infinite}.bm-demo-mouse.bm-demo-right .bm-demo-world{animation:bm-look 4.5s ease-in-out infinite}.bm-demo-mouse-icon>i{position:absolute;left:0;top:0;width:100%;height:100%}.bm-demo .bm-demo-mouse-icon{position:absolute;right:23%;top:51px;width:36px;height:58px;border:1px solid var(--line-strong);border-radius:19px;background:var(--panel);box-shadow:5px 6px 15px #0003}.bm-demo-mouse-icon>span{position:absolute;top:0;left:50%;height:24px;width:1px;background:var(--raised)}.bm-demo-mouse-icon>i.middle{inset:8px auto auto 15px;width:4px;height:13px;border-radius:3px;background:var(--accent)}.bm-demo-mouse-icon>i.right{inset:0 0 auto auto;width:17px;height:25px;background:var(--accent);border-radius:0 18px 0 0}.bm-demo-mouse-icon>b{position:absolute;left:44px;top:13px;font-size:22px;font-weight:400;color:var(--text-secondary)}.bm-demo-mouse .bm-demo-world{left:29%}.bm-demo-keys .bm-demo-world{left:25%;animation:bm-fly 5s ease-in-out infinite}.bm-demo .bm-demo-keyboard{position:absolute;right:16%;top:50px;display:grid;grid-template-columns:repeat(3,27px);gap:5px}.bm-demo-keys kbd{width:27px;height:28px}.bm-demo-keys .key-w{grid-column:2;animation:bm-key 5s ease-in-out infinite}.bm-demo-keys .key-a{grid-column:1;animation:bm-key 5s 1.6s ease-in-out infinite}.bm-demo-keys .key-d{animation:bm-key 5s 3.2s ease-in-out infinite}.bm-demo-files{position:absolute;inset:34px 50px 32px;display:flex;align-items:center;justify-content:center;gap:25px}.bm-demo-files>div{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;width:66px;height:85px;border:1px solid var(--line-strong);border-radius:7px;background:linear-gradient(130deg,var(--raised),var(--inset));box-shadow:6px 8px 18px #0003;color:var(--text-secondary);font-size:9px}.bm-demo-files>div:first-child{transform:rotate(-9deg)}.bm-demo-files>div:nth-child(2){transform:rotate(6deg)}.bm-demo-download{position:absolute;right:10%;top:38px;color:var(--text-secondary);animation:bm-download 3.5s ease-in-out infinite}.bm-tour-pause{position:absolute;right:5px;top:5px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:7px;color:var(--text-secondary);background:var(--ui-tint)}.bm-tour-pause:hover{background:var(--hover)}.bm-tour-card .bm-tour-note{font-size:11px;color:var(--muted);line-height:1.75;min-height:38px}.bm-tour-mouse-modes{display:flex;gap:7px;margin:0 0 12px}.bm-tour-mouse-modes button{min-height:44px;flex:1;border:1px solid var(--line);border-radius:7px;color:var(--muted);background:var(--inset);font-size:11px}.bm-tour-mouse-modes button[aria-pressed=true]{border-color:var(--accent);color:var(--accent-text);background:var(--accent-soft)}.bm-tour-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px;padding-top:15px;border-top:1px solid var(--line)}.bm-tour-back,.bm-tour-next{min-height:44px;padding:10px 16px;border-radius:7px;font-size:12px}.bm-tour-back{color:var(--muted)}.bm-tour-back:hover:not(:disabled){background:var(--hover)}.bm-tour-next{display:flex;align-items:center;justify-content:center;gap:12px;min-width:114px;background:var(--action);color:var(--on-accent);border:1px solid var(--accent)}.bm-tour-next:hover{background:var(--action-hover)}.bm-tour button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.bm-tour-paused .bm-demo *{animation-play-state:paused!important}@keyframes bm-tour-enter{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes bm-pointer{0%,to{transform:translate(18px,8px);opacity:.4}35%,65%{transform:translate(-6px,-8px);opacity:1}48%{transform:translate(-6px,-8px) scale(.85)}}@keyframes bm-selected{0%,to{outline-color:var(--ui-tint)}40%,70%{outline-color:var(--accent)}}@keyframes bm-upload{0%,25%,to{opacity:0}45%,80%{opacity:1}}@keyframes bm-object-move{0%,25%,to{transform:translate(-7px)}55%,75%{transform:translate(17px)}}@keyframes bm-pan{0%,to{transform:translate(-15px,8px)}50%{transform:translate(18px,-8px)}}@keyframes bm-look{0%,to{transform:rotateY(-20deg) rotateX(4deg)}50%{transform:rotateY(24deg) rotateX(-8deg)}}@keyframes bm-fly{0%,to{transform:scale(.82) translate(0)}33%{transform:scale(1.12) translate(0)}65%{transform:scale(1.12) translate(16px)}}@keyframes bm-key{0%,24%,to{background:var(--panel);color:var(--text-secondary);box-shadow:none}5%,18%{background:var(--action);color:var(--on-accent);box-shadow:0 0 10px var(--accent-glow)}}@keyframes bm-download{0%,to{transform:translateY(-7px);opacity:.45}50%{transform:translateY(7px);opacity:1}}@media(max-width:760px){.bm-tour-card{padding:17px}.bm-tour-card h2{font-size:20px}.bm-demo{height:146px}.bm-demo-world{top:-4px}.bm-tour-progress{margin-bottom:16px}.bm-demo-lineup{inset:0 22px}.bm-tour-card p{font-size:12px}.bm-tour-footer{margin-top:14px;padding-top:12px}.bm-tour-note{min-height:0!important}.bm-demo-upload{right:13%}.bm-demo .bm-demo-mouse-icon{right:19%}.bm-demo .bm-demo-keyboard{right:11%}}@media(max-width:600px){.app-header{position:relative}.onboarding-help{position:absolute;top:0;right:12px;margin:0;border-color:transparent;flex-basis:auto}.bm-tour-header>span{gap:7px}.bm-tour-header>span>span{padding-left:7px}}@media(prefers-reduced-motion:reduce){.bm-tour *,.bm-tour-spotlight{animation:none!important;transition:none!important}.bm-demo-screen .bm-demo-face:after{opacity:1}}:root{font-family:DM Sans,Microsoft YaHei,sans-serif;color:var(--text);background:var(--bg);font-synthesis:none;color-scheme:dark;--bg:#1e1e1e;--panel:#2c2c2c;--raised:#383838;--inset:#252525;--hover:#3c3c3c;--line:#414141;--line-strong:#575757;--muted:#b3b3b3;--subtle:#a3a3a3;--accent:#0d99ff;--accent-text:#8ecfff;--accent-soft:#253b4b;--accent-glow:#0d99ff38;--action:#087ac1;--action-hover:#096fb3;--on-accent:#fff;--text:#f0f0f0;--text-secondary:#d0d0d0;--text-muted:var(--muted);--ui-tint:#ffffff0a;--scrim:#000000b8;--radius:8px;--sans:"DM Sans","Microsoft YaHei",sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;background:none;border:0}button,a,input,select{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent)}button{transition:background .18s,color .18s,border-color .18s,opacity .18s}button:disabled{opacity:.3;cursor:not-allowed}a{color:inherit;text-decoration:none}svg{flex-shrink:0}button svg{vertical-align:middle}input{min-width:0}input[type=number]::-webkit-inner-spin-button{appearance:none}input[type=number]{appearance:textfield}input[type=range]{appearance:none;width:100%;height:3px;background:linear-gradient(to right,var(--accent) var(--progress),var(--line) var(--progress));border-radius:4px;margin:10px 0 5px;cursor:pointer}input[type=range]::-webkit-slider-thumb{appearance:none;width:11px;height:11px;border-radius:50%;background:var(--accent);border:2px solid var(--line);box-shadow:0 0 0 1px var(--accent-glow)}input[type=range]::-moz-range-thumb{width:10px;height:10px;border-radius:50%;background:var(--accent);border:2px solid var(--line)}input[type=range]:focus-visible{outline-offset:8px}select{color:var(--text);background:var(--panel);border:1px solid var(--line);padding:11px;border-radius:6px;width:100%;cursor:pointer}option{background:var(--panel)}::-webkit-scrollbar{width:5px;height:5px}::-webkit-scrollbar-thumb{background:var(--line-strong);border-radius:8px}::-webkit-scrollbar-track{background:transparent}.hidden{display:none!important}.app{height:100dvh;min-height:650px;display:flex;flex-direction:column;overflow:hidden}.app-header{height:76px;min-height:76px;padding:0 26px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:var(--panel);gap:16px;z-index:5}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.brand strong{font-family:Manrope,sans-serif;font-size:27px;letter-spacing:-1.9px;line-height:1}.brand strong>span{font-size:10px;vertical-align:top;letter-spacing:0;margin-left:3px;position:relative;top:2px}.brand-sub{font-size:11px;letter-spacing:1.2px;color:var(--muted);margin-left:12px;padding-left:17px;border-left:1px solid var(--line)}.brand-icon{image-rendering:pixelated;width:32px;height:32px;display:block;object-fit:contain;flex-shrink:0}.brand strong{letter-spacing:-.6px}.project-title{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--text-secondary)}.project-dot{width:5px;height:5px;background:var(--raised);border-radius:50%}.version{color:var(--muted);font-size:10px;background:var(--panel);padding:4px 6px;border-radius:4px;margin-left:4px}.header-actions{display:flex;align-items:center;gap:7px}.icon-button{width:32px;height:34px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;color:var(--muted);flex-shrink:0}.icon-button:hover:not(:disabled){background:var(--hover);color:var(--text)}.icon-button.active{background:var(--accent-soft);color:var(--accent)}.header-divider{height:20px;width:1px;background:var(--raised);margin:0 8px}.help-button{display:flex;gap:7px;align-items:center;font-size:12px;color:var(--muted);padding:9px}.help-button:hover{color:#fff}.primary{background:var(--action);color:var(--on-accent);border:1px solid var(--action);border-radius:6px;font-weight:600;font-size:12px;display:flex;align-items:center;justify-content:center;gap:9px;padding:11px 16px}.primary:hover:not(:disabled){background:var(--action-hover);box-shadow:0 3px 15px var(--accent-glow)}.export-main{margin-left:9px}.workspace{display:grid;grid-template-columns:260px minmax(350px,1fr) 302px;flex:1;min-height:0}.device-library{background:var(--panel);border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:0}.library-heading{display:flex;align-items:center;justify-content:space-between;padding:25px 17px 18px 22px}.eyebrow{font-family:Manrope,sans-serif;color:var(--subtle);font-size:9px;letter-spacing:1.7px;font-weight:600}.library-heading h2{font-size:14px;font-weight:500;margin:9px 0 0;letter-spacing:.4px;display:flex;gap:10px;align-items:center}.library-heading h2 span{font-size:10px;color:var(--muted);background:var(--panel);padding:2px 5px;border-radius:3px}.library-heading .icon-button{width:24px;opacity:.7}.search-box{margin:0 18px;display:flex;align-items:center;border:1px solid var(--line);background:var(--inset);padding:9px 10px;border-radius:6px;color:var(--subtle);gap:8px}.search-box input{border:0;outline:0;background:none;color:var(--text);font-size:11px;flex:1;width:100%}.search-box:focus-within{border-color:var(--accent)}.search-box input::placeholder{color:var(--muted)}.search-box kbd{font-size:12px}.family-tabs{display:flex;padding:15px 18px 12px;gap:4px}.family-tabs button{font-size:10px;color:var(--muted);padding:7px 10px;border-radius:5px}.family-tabs button.selected{background:var(--accent-soft);color:var(--accent-text)}.family-tabs button:hover{color:var(--text);background:var(--hover)}.device-list{padding:0 12px 15px;overflow-y:auto;flex:1;min-height:100px;scrollbar-gutter:stable}.device-card{display:flex;align-items:center;text-align:left;gap:11px;border:1px solid transparent;border-radius:7px;padding:8px 10px;margin-bottom:4px;width:100%;min-height:68px;position:relative}.device-card.selected{background:var(--accent-soft);border-color:var(--accent)}.device-card:hover:not(.selected){background:var(--accent-soft)}.device-thumb{width:42px;height:46px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.device-description{display:flex;flex-direction:column;gap:7px;flex:1;min-width:0}.device-description strong{font-size:11px;font-weight:500;color:var(--text-secondary);white-space:nowrap}.device-card.selected strong{color:var(--accent-text)}.device-description small{font-size:8px;white-space:nowrap;color:var(--muted);letter-spacing:.1px}.device-description small span{margin:0 2px}.selected-check{width:15px;height:15px;border-radius:50%;background:var(--action);color:var(--on-accent);display:flex;align-items:center;justify-content:center;position:absolute;right:9px;top:11px}.device-arrow{opacity:0;position:absolute;right:8px}.device-card:hover .device-arrow{opacity:.6}.library-footer{border-top:1px solid var(--line);padding:21px 22px;background:var(--bg)}.library-footer>div{display:flex;gap:9px;align-items:center;color:var(--text-secondary)}.library-footer strong{font-size:11px;font-weight:500}.library-footer p{font-size:10px;line-height:1.9;color:var(--muted);margin:12px 0}.library-footer button{font-size:10px;color:var(--text-secondary);display:flex;align-items:center;gap:6px;padding:0}.library-footer button:hover{color:var(--text)}.empty-state{text-align:center;color:var(--muted);font-size:12px;line-height:2;padding:25px 5px}.empty-state button{text-decoration:underline;color:var(--accent)}.mini-device{width:27px;height:44px;position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;filter:drop-shadow(1px 2px 2px #0007)}.mini-strap{position:absolute;background:linear-gradient(90deg,#0003,var(--strap) 25%,var(--strap) 70%,#0005);width:16px;height:44px;border-radius:5px;opacity:.8}.mini-case{position:relative;width:27px;height:32px;background:linear-gradient(110deg,#d1d3cf,#747b7a 55%,#c4c8c6);padding:2px;border-radius:6px;box-shadow:0 0 0 .5px #111}.mini-face{width:100%;height:100%;border:2px solid #0c1010;border-radius:4px;background:#131b14;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#c7e894;line-height:.91;overflow:hidden}.mini-face span{font:700 12px Arial;line-height:.9;letter-spacing:-.5px}.mini-face.orbit{background:radial-gradient(circle,transparent 35%,#d4edab 36%,#d4edab 43%,transparent 44%,transparent 48%,#ac9ac9 49%,#ac9ac9 55%,#121717 56%)}.mini-face.mono{color:#e7e8e2}.mini-face.landscape{background:linear-gradient(150deg,#354961,#a1b4b7,#5b7485);color:#fff}.mini-device.pill{width:18px}.pill .mini-case{width:17px;height:34px;border-radius:9px;padding:1.4px}.pill .mini-face{border-radius:7px;border-width:1px}.pill .mini-face span{font-size:10px}.pill .mini-strap{width:12px}.round .mini-case{width:31px;height:31px;border-radius:50%;padding:3px;background:linear-gradient(120deg,#ccd1d0,#727c7d,#c0c6c4)}.round .mini-face{border-radius:50%}.round .mini-face span{font-size:10px}.round .mini-strap{width:17px}.rect .mini-case{width:29px;height:33px;border-radius:7px}.mini-device>i{width:3px;height:4px;background:#b8bdb9;position:absolute;right:-2px;top:17px;border-radius:1px}.round>i{right:-4px}.editor{min-width:0;min-height:0;display:flex;flex-direction:column;background:var(--bg);overflow:hidden}.editor-toolbar{display:flex;justify-content:space-between;align-items:center;min-height:62px;border-bottom:1px solid var(--line);padding:0 24px;gap:8px}.breadcrumb{display:flex;align-items:center;font-size:10px;gap:10px;color:var(--muted);white-space:nowrap}.breadcrumb strong{font-weight:400;color:var(--text-secondary)}.breadcrumb>svg:first-of-type{color:var(--muted)}.live-badge{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:9px;margin-left:3px}.live-badge i{width:4px;height:4px;background:var(--accent);border-radius:50%}.history-actions{display:flex;align-items:center;gap:2px}.history-actions>span{width:1px;height:15px;background:var(--raised);margin:0 6px}.history-actions .icon-button{width:27px}.canvas-surround{position:relative;min-height:240px;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 36px 65px;background-image:none;background-size:12px 12px;overflow:hidden}.artboard{position:relative;width:min(100%,550px);min-height:0;max-height:100%;box-shadow:0 5px 26px #0003;overflow:hidden;isolation:isolate;background:transparent;container-type:size}.three-stage{position:absolute;inset:0;cursor:grab;touch-action:none}.three-stage.dragging{cursor:grabbing}.three-stage canvas{display:block;width:100%;height:100%}.stage-label{position:absolute;top:23px;left:25px;right:25px;display:flex;justify-content:space-between;font-family:Manrope,sans-serif;font-size:7px;letter-spacing:1.5px;font-weight:600;color:var(--subtle);z-index:1;pointer-events:none}.stage-caption{position:absolute;bottom:24px;left:25px;right:25px;display:flex;align-items:flex-end;justify-content:space-between;color:var(--subtle);pointer-events:none;z-index:1}.stage-caption h1{font-family:Manrope,sans-serif;letter-spacing:1.6px;font-size:11px;font-weight:700;margin:0 0 6px}.stage-caption p{font-size:8px;color:var(--subtle);margin:0;letter-spacing:.7px}.studio-seal{font-family:Manrope,sans-serif;font-size:28px;line-height:1;font-weight:800;display:flex;flex-direction:column}.studio-seal span{font-size:5px;letter-spacing:1.5px;margin-top:5px}.canvas-topline{display:flex;justify-content:space-between;align-items:center;position:absolute;top:13px;left:25px;right:25px;font-size:9px;color:var(--muted);letter-spacing:.2px}.canvas-topline>span{display:flex;align-items:center;gap:7px}.small-square{width:7px;height:7px;border:1px solid var(--line-strong)}.canvas-topline button{display:flex;gap:7px;align-items:center;background:var(--panel);border:1px solid var(--line);border-radius:4px;padding:4px 7px;font-size:9px}.canvas-bottomline{display:flex;justify-content:space-between;align-items:center;width:min(100%,550px);font-size:8px;color:var(--muted);margin-top:10px;gap:8px}.canvas-bottomline>span{display:flex;align-items:center;gap:6px}.bullet{margin:0 2px;color:var(--subtle)}.floating-tools{position:absolute;bottom:15px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:3px;background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:4px 6px;box-shadow:0 5px 15px #0003}.floating-tools .icon-button{width:30px;height:28px}.floating-tools .icon-button svg{width:15px}.tool-separator{height:16px;width:1px;background:var(--raised);margin:0 4px}.zoom-level{font-size:10px;min-width:42px;color:var(--text-secondary);padding:6px}.pose-panel{padding:21px 24px 18px;border-top:1px solid var(--line);background:var(--bg);flex-shrink:0}.pose-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.pose-heading h3{font-size:12px;font-weight:500;color:var(--text-secondary);margin:0 0 5px}.pose-heading>div>span{font-size:9px;color:var(--muted)}.pose-heading>.eyebrow{font-size:8px;letter-spacing:1.2px}.pose-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.pose-card{padding:0;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:var(--panel)}.pose-card.selected{border-color:var(--accent)}.pose-card:hover{border-color:var(--line-strong)}.pose-preview{height:67px;background:radial-gradient(ellipse at 40% 30%,var(--raised),var(--panel));display:flex;align-items:center;justify-content:center;position:relative}.pose-preview .large{transform-origin:center;scale:1.05}.pose-card>div:last-child:not(.pose-preview){display:flex;justify-content:space-between;padding:8px 9px;align-items:center}.pose-card span{font-size:9px;white-space:nowrap}.pose-card small{font-family:Manrope,sans-serif;font-size:8px;color:var(--subtle)}.pose-card.selected>div:last-child{background:var(--accent-soft);color:var(--accent-text)}.pose-2 .mini-device{transform:rotate(-10deg) rotateY(57deg)!important;scale:1.05 1.05}.pose-3 .mini-device{transform:rotate(25deg) rotateX(30deg)!important}.pose-4 .mini-face{visibility:hidden}.pose-4 .mini-case{background:linear-gradient(100deg,#464e49,#212a25)}.back-sensor{position:absolute!important;width:12px;height:12px;border-radius:50%;background:radial-gradient(circle,#334d3a 15%,#121b16 20%,#080d09 55%,#606d61 65%,#242d25 70%);transform:translateY(0) rotate(-15deg)}.editor-status{display:flex;justify-content:space-between;align-items:center;font-size:8px;min-height:30px;padding:0 24px;background:var(--bg);color:var(--muted);border-top:1px solid var(--line);gap:15px}.editor-status>span{display:flex;align-items:center;gap:6px}.status-led{width:4px;height:4px;border-radius:50%;background:var(--accent)}.library-closed{grid-template-columns:minmax(350px,1fr) 302px}.device-library.collapsed{display:none}.checkerboard{background-color:#e7e8e7;background-image:linear-gradient(45deg,#c9cecb 25%,transparent 25%),linear-gradient(-45deg,#c9cecb 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#c9cecb 75%),linear-gradient(-45deg,transparent 75%,#c9cecb 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}.inspector{background:var(--panel);border-left:1px solid var(--line);display:flex;flex-direction:column;min-height:0}.inspector-heading{display:flex;align-items:center;justify-content:space-between;padding:0 22px;height:62px;min-height:62px;border-bottom:1px solid var(--line)}.inspector-heading h2{font-size:13px;font-weight:500;letter-spacing:.4px}.inspector-heading>svg{color:var(--muted)}.inspector-tabs{display:grid;grid-template-columns:repeat(5,1fr);border-bottom:1px solid var(--line);padding:0 11px}.inspector-tabs button{color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;height:68px;border-bottom:2px solid transparent;font-size:10px;padding:11px 4px}.inspector-tabs button.selected{border-bottom-color:var(--accent);color:var(--accent)}.inspector-tabs button:hover{color:var(--text-secondary);background:var(--hover)}.inspector-content{overflow-y:auto;flex:1;min-height:0}.control-section{padding:21px 21px 20px;border-bottom:1px solid var(--line)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:15px}.section-heading h3{font-size:11px;font-weight:500;margin:0;color:var(--text-secondary)}.section-heading>span{font-size:7px;font-family:Manrope,sans-serif;color:var(--muted);letter-spacing:1.15px}.upload-zone{position:relative;border:1px dashed var(--line-strong);border-radius:7px;background:linear-gradient(140deg,var(--panel),var(--inset))}.upload-zone>button:first-child{width:100%;padding:22px 9px 19px;display:flex;flex-direction:column;align-items:center;gap:7px}.upload-zone>button:first-child:hover{background:var(--ui-tint)}.upload-zone .upload-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;background:var(--raised);border:1px solid var(--line);border-radius:10px;color:var(--text-secondary);margin-bottom:5px;transform:rotate(-6deg)}.upload-zone strong{font-size:11px;line-height:1.8;color:var(--text);font-weight:500}.upload-zone button>span:not(.upload-icon){font-size:9px;color:var(--muted);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upload-zone small{font-size:8px;color:var(--subtle);line-height:1.5}.upload-zone img{height:60px;max-width:110px;object-fit:contain;margin-bottom:4px}.remove-image{position:absolute;right:8px;top:8px;padding:5px;color:var(--text-secondary);background:var(--raised);border-radius:50%;width:24px;height:24px;display:flex;align-items:center;justify-content:center}.spec-note{display:flex;align-items:center;gap:6px;font-size:9px;color:var(--muted);margin-top:12px}.spec-note strong{color:var(--text-secondary);font-weight:400;font-family:DM Sans,sans-serif}.face-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.face-grid>button{position:relative;padding:6px 5px 0;border:1px solid var(--line);background:var(--panel);border-radius:6px;min-width:0;display:flex;flex-direction:column;align-items:center}.face-grid>button:hover{border-color:var(--line-strong)}.face-grid>button.selected{border-color:var(--accent);background:var(--accent-soft)}.face-grid canvas{width:100%;max-width:42px;height:59px;border-radius:8px;object-fit:cover}.face-grid button>span{font-size:8px;color:var(--muted);margin:8px -2px 7px;white-space:nowrap;letter-spacing:-.2px}.face-grid button.selected>span{color:var(--accent-text)}.face-grid i{position:absolute;right:3px;top:3px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--accent);color:var(--bg);width:13px;height:13px}.segmented{display:flex;background:var(--bg);border:1px solid var(--line);border-radius:6px;padding:3px;gap:3px}.segmented button{flex:1;font-size:10px;color:var(--muted);padding:8px 4px;border-radius:4px}.segmented button.selected{background:var(--accent-soft);color:var(--accent-text);box-shadow:0 1px 3px #0003}.segmented button:hover:not(.selected){background:var(--accent-soft);color:var(--accent-text)}.range-field{margin-top:19px}.field-top{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted);gap:5px}.number-field{display:flex;align-items:center;font-size:9px;gap:2px;color:var(--text-secondary);font-family:DM Sans,sans-serif}.number-field input{width:34px;background:var(--panel);color:var(--text-secondary);text-align:right;border:1px solid var(--line);border-radius:3px;padding:3px 4px;font-size:9px}.dual-fields{display:grid;grid-template-columns:1fr 1fr;gap:17px}.dual-fields .field-top{font-size:9px}.dual-fields .number-field input{width:28px}.hint{font-size:9px;line-height:1.9;color:var(--muted);margin:12px 0 0;display:flex;align-items:flex-start;gap:6px}.inactive-controls{opacity:.5}.text-button{font-size:9px;color:var(--text-secondary);padding:0;margin-left:auto}.text-button:hover{color:var(--text-secondary)}.tip-card{margin:20px;background:linear-gradient(135deg,var(--panel),var(--panel));border:1px solid var(--line);border-radius:7px;padding:16px}.tip-number{font-size:8px;letter-spacing:.7px;color:var(--muted)}.tip-card p{font-size:12px;line-height:1.7;color:var(--text-secondary);margin:10px 0}.tip-card>span:last-of-type{font-size:9px;color:var(--muted);line-height:1.9;display:block}.tip-card button{font-size:9px;display:flex;align-items:center;gap:7px;margin-top:15px;padding:0;color:var(--text-secondary)}.inspector-footer{padding:15px 21px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);background:var(--inset);min-height:66px}.inspector-footer>div{display:flex;flex-direction:column;gap:7px}.inspector-footer>div>span{font-size:9px;color:var(--muted)}.inspector-footer strong{font-size:10px;display:flex;align-items:center;gap:9px;font-weight:400;color:var(--text-secondary)}.inspector-footer strong i{width:3px;height:3px;background:var(--raised);border-radius:50%}.inspector-footer button{padding:8px;color:var(--text-secondary);border:1px solid var(--line);border-radius:5px}.inspector-footer button:hover{background:var(--hover)}.color-picker{margin-top:21px}.hex-code{font-size:9px;color:var(--muted);font-family:monospace}.swatches{display:flex;gap:9px;margin-top:12px;align-items:center}.swatches>button{width:24px;height:24px;border-radius:50%;border:2px solid var(--line);box-shadow:0 0 0 1px transparent;display:flex;align-items:center;justify-content:center;padding:0;flex-shrink:0}.swatches>button.selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.swatches>button:hover{box-shadow:0 0 0 2px var(--accent-glow)}.custom-color{width:24px;height:24px;position:relative;border-radius:50%;background:var(--panel);color:var(--muted);display:flex;align-items:center;justify-content:center;border:1px dashed var(--line-strong);cursor:pointer;flex-shrink:0}.custom-color input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:15px;cursor:pointer;font-size:10px;color:var(--text-secondary);position:relative;margin:6px 0}.toggle-row small{display:block;font-size:9px;color:var(--muted);margin-top:6px;line-height:1.6}.toggle-row input{position:absolute;right:0;opacity:0;width:30px;height:20px;cursor:pointer}.switch{display:block;flex-shrink:0;width:29px;height:17px;background:var(--raised);border-radius:12px;border:1px solid var(--line-strong);position:relative;pointer-events:none}.switch:after{content:"";position:absolute;left:2px;top:2px;width:11px;height:11px;border-radius:50%;background:var(--text-secondary);transition:transform .18s}.toggle-row input:checked+.switch{background:var(--action);border-color:var(--accent)}.toggle-row input:checked+.switch:after{transform:translate(12px);background:var(--on-accent)}.toggle-row input:focus-visible+.switch{outline:2px solid var(--accent);outline-offset:3px}.select-label{display:flex;flex-direction:column;gap:9px;font-size:10px;color:var(--muted);margin-top:24px}.select-label select{font-size:10px;background:var(--panel);border-color:var(--line)}.material-card{display:flex;align-items:center;gap:12px;background:var(--panel);border:1px solid var(--line);border-radius:6px;padding:15px 12px;color:var(--text-secondary)}.material-card>div{display:flex;flex-direction:column;gap:7px}.material-card strong{font-size:10px;font-weight:500}.material-card small{font-size:8px;color:var(--muted)}.light-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.light-grid>button{position:relative;border:1px solid var(--line);border-radius:6px;padding:0 0 10px;overflow:hidden;text-align:left;background:var(--panel)}.light-grid>button.selected{border-color:var(--accent)}.light-grid>button:hover{border-color:var(--line-strong)}.light-grid strong{font-size:10px;display:block;margin:9px 10px 4px;font-weight:500}.light-grid small{display:block;font-size:7px;color:var(--muted);letter-spacing:.7px;margin-left:10px}.light-grid>button>svg{position:absolute;right:9px;bottom:15px;color:var(--accent)}.light-art{height:66px;background:radial-gradient(ellipse at 25% 20%,var(--light),#232b29 80%);position:relative;display:flex;justify-content:center;align-items:center}.light-art>span{display:block;width:26px;height:40px;background:linear-gradient(100deg,#829b88,#303e35);border:1px solid #b3c9a3;border-radius:9px;transform:rotate(-22deg);box-shadow:9px 7px 12px #0009}.light-art.rim{background:radial-gradient(ellipse at 70% 20%,#487daf,#0a1a24 80%)}.light-art.rim>span{border-color:#8cc4e8;background:linear-gradient(110deg,#14252f 60%,#b2defd)}.light-art.warm{background:linear-gradient(130deg,#f3d8ad,#9d8061 50%,#554c3e)}.light-art.warm>span{background:linear-gradient(110deg,#b9a589,#645d4e);border-color:#f3d2a0}.light-art.neon{background:linear-gradient(100deg,#637ba9,#4f486a,#a16885)}.light-art.neon>span{background:linear-gradient(110deg,#8299da,#483d64 60%,#d09aac);border-color:#c9abdf}.ratio-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.ratio-grid button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;font-size:9px;color:var(--muted);background:var(--panel);border:1px solid var(--line);border-radius:6px;height:76px}.ratio-grid button.selected{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-text)}.ratio-grid button>span{height:23px;max-width:35px;border:1px solid currentColor;border-radius:2px}.ratio-grid button:nth-child(3)>span{height:17px}.axis-intro{display:flex;align-items:center;gap:20px;padding:8px 4px 14px;color:var(--muted)}.axis-intro p{font-size:10px;line-height:1.9;color:var(--muted)}.quick-poses{display:flex;flex-direction:column;gap:6px}.quick-poses button{display:flex;align-items:center;text-align:left;gap:10px;font-size:11px;border:1px solid var(--line);background:var(--panel);border-radius:5px;padding:12px;color:var(--text-secondary)}.quick-poses button svg:last-child{margin-left:auto}.quick-poses button:hover{background:var(--hover)}.mobile-nav{display:none}.modal-overlay{position:fixed;inset:0;background:var(--scrim);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);z-index:50;display:flex;align-items:center;justify-content:center;padding:24px}.modal{width:440px;max-height:calc(100dvh - 48px);overflow:auto;background:var(--panel);border:1px solid var(--line);border-radius:13px;padding:27px;box-shadow:0 25px 100px #0008}.modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.modal-heading .eyebrow{color:var(--muted)}.modal-heading h2{font-size:21px;font-weight:500;letter-spacing:-.4px;margin:11px 0 0;color:var(--text)}.modal-heading .icon-button{margin:-7px -8px 0 0}.modal-description{font-size:11px;color:var(--muted);line-height:1.9;margin:17px 0 21px}.modal .control-section{padding:19px 0;border-bottom-color:var(--line)}.modal .section-heading{margin-bottom:12px}.modal .section-heading h3{font-size:11px}.modal .segmented button{padding:10px 6px;font-size:11px}.export-summary{display:flex;align-items:center;gap:17px;background:var(--panel);border:1px solid var(--line);border-radius:7px;padding:15px 20px}.export-summary>div:nth-child(2){display:flex;flex-direction:column;gap:8px;flex:1}.export-summary strong{font-size:12px;font-weight:500}.export-summary>div>span{font-size:10px;color:var(--muted)}.file-type{border:1px solid var(--line-strong);padding:5px 6px;border-radius:4px;color:var(--text-secondary);font-size:9px}.resolution-sub{display:block;font-size:8px;color:var(--muted);margin-top:5px}.export-confirm{width:100%;font-size:12px;margin-top:20px;padding:13px}.export-confirm svg:last-child{margin-left:auto}.export-confirm svg:first-child{margin-right:auto}.secondary{border:1px solid var(--line-strong);background:var(--panel);color:var(--text-secondary);font-size:11px;padding:12px 14px;border-radius:6px}.secondary:hover{background:var(--hover)}.full-width{width:100%;display:flex;align-items:center;justify-content:space-between;margin-top:17px}.models-modal{width:620px}.model-table{border:1px solid var(--line);border-radius:8px;overflow:hidden}.model-table a{display:flex;align-items:center;justify-content:space-between;padding:13px 15px;border-bottom:1px solid var(--line);gap:15px}.model-table a:last-child{border-bottom:0}.model-table a:hover{background:var(--hover)}.model-table a>div{display:flex;flex-direction:column;gap:7px}.model-table strong{font-weight:500;font-size:11px}.model-table div>span{font-size:9px;color:var(--muted)}.model-table a>span{display:flex;align-items:center;gap:15px;color:var(--muted);font-size:10px}.guide-list{display:flex;flex-direction:column;gap:20px}.guide-list>div{display:flex;gap:15px}.guide-list>div>span{width:40px;height:40px;background:var(--panel);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;color:var(--text-secondary);border-radius:8px;flex-shrink:0}.guide-list small{font-family:Manrope,sans-serif;color:var(--muted);font-size:9px;margin-right:9px}.guide-list strong{font-weight:500;font-size:12px;color:var(--text-secondary)}.guide-list p{font-size:10px;color:var(--muted);line-height:1.9;margin:7px 0 0}.shortcut-list{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0 17px;padding-top:20px;border-top:1px solid var(--line);font-size:9px;color:var(--muted)}.shortcut-list span{display:flex;gap:6px;align-items:center}.shortcut-list kbd{font-size:8px;background:var(--raised);border:1px solid var(--line);border-radius:3px;padding:3px}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%);z-index:80;display:flex;align-items:center;gap:10px;max-width:calc(100% - 32px);padding:13px 15px;background:var(--panel);border:1px solid var(--line-strong);color:var(--text-secondary);box-shadow:0 5px 25px #0005;border-radius:7px;font-size:11px;line-height:1.7}.toast>svg{color:var(--muted)}.toast button{margin-left:10px;display:flex;padding:3px}.canvas-loading,.canvas-error{position:absolute;inset:0;z-index:3;background:var(--panel);display:flex;align-items:center;justify-content:center;gap:12px;color:var(--subtle);font-size:12px}.canvas-error{flex-direction:column;padding:30px;text-align:center;background:var(--ui-tint)}.canvas-error p{font-size:11px;line-height:1.8;max-width:320px}.spinner{width:16px;height:16px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;display:inline-block;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:1600px){.workspace{grid-template-columns:280px minmax(400px,1fr) 326px}.library-closed{grid-template-columns:minmax(400px,1fr) 326px}.artboard,.canvas-bottomline{width:min(100%,680px)}.control-section{padding:24px}.device-card{min-height:75px}.device-description strong{font-size:12px}.device-description small{font-size:9px}.canvas-surround{padding:45px 55px 70px}.pose-preview{height:85px}.stage-caption h1{font-size:13px}.stage-label{font-size:8px}.upload-zone>button:first-child{padding:27px 12px}.face-grid canvas{height:70px;max-width:49px}}@media(max-width:1200px){.workspace{grid-template-columns:223px minmax(300px,1fr) 275px}.library-closed{grid-template-columns:minmax(300px,1fr) 275px}.brand-sub{display:none}.app-header{padding:0 20px}.project-title{font-size:11px}.device-card{gap:6px;padding-left:6px}.device-description strong{font-size:10px}.device-description small{font-size:7px}.family-tabs{padding-left:13px;padding-right:13px}.family-tabs button{padding:7px 8px}.library-heading{padding-left:18px}.library-heading h2{font-size:12px}.canvas-surround{padding-left:24px;padding-right:24px}.editor-toolbar{padding:0 17px}.breadcrumb{gap:6px;font-size:9px}.live-badge{display:none}.pose-panel{padding-left:17px;padding-right:17px}.pose-heading>.eyebrow{display:none}.pose-grid{gap:5px}.pose-card>div:last-child:not(.pose-preview){padding:7px 6px}.pose-card span{font-size:8px}.pose-card small{font-size:7px}.control-section{padding:19px 17px}.inspector-heading{padding:0 17px}.tip-card{margin:17px}.swatches{gap:7px}.swatches>button,.custom-color{width:23px;height:23px}.face-grid{gap:6px}.face-grid button>span{font-size:7px}.stage-caption h1{font-size:9px}.stage-label{left:18px;right:18px;top:18px;font-size:6px}.stage-caption{left:18px;right:18px;bottom:18px}}@media(max-width:1000px)and (min-width:761px){.workspace{grid-template-columns:190px minmax(260px,1fr) 250px}.library-closed{grid-template-columns:minmax(260px,1fr) 250px}.app-header{height:64px;min-height:64px;padding:0 16px}.brand strong{font-size:25px}.project-title{display:none}.help-button{font-size:10px}.device-library .library-heading .icon-button{display:none}.device-card{padding:8px 4px;gap:5px}.device-thumb{width:32px}.device-description strong{font-size:9px}.selected-check{right:5px;top:7px;width:12px;height:12px}.device-description small{font-size:6px}.search-box{margin:0 12px}.family-tabs{gap:0;padding-left:10px;padding-right:10px}.family-tabs button{font-size:9px;padding:7px}.library-heading{padding-left:14px}.library-heading h2 span{display:none}.library-footer{padding:18px 14px}.canvas-surround{padding:38px 15px 66px}.canvas-bottomline{font-size:6px}.pose-card small{display:none}.pose-card span{font-size:7px}.pose-card>div:last-child:not(.pose-preview){padding:7px 4px;justify-content:center}.pose-panel{padding:18px 12px 15px}.pose-heading h3{font-size:11px}.pose-heading>div>span{font-size:8px}.pose-preview{height:58px}.floating-tools{gap:0;padding:4px}.floating-tools .icon-button{width:26px}.zoom-level{min-width:33px;font-size:9px}.tool-separator{margin:0 2px}.breadcrumb{font-size:8px;gap:4px}.breadcrumb>svg:first-of-type{display:none}.history-actions{gap:0}.history-actions .icon-button{width:23px}.history-actions .icon-button svg{width:14px}.history-actions>span{margin:0 2px}.editor-status{font-size:7px;padding:0 12px}.editor-status>span:last-child{display:none}.control-section{padding:18px 14px}.inspector-tabs{padding:0 5px}.face-grid{gap:5px}.face-grid>button{padding:5px 3px 0}.face-grid canvas{height:54px}.swatches{gap:6px}.swatches>button,.custom-color{width:21px;height:21px}.dual-fields{gap:12px}.field-top{font-size:9px}.tip-card{margin:14px}.stage-caption h1{font-size:7px}.stage-caption p{font-size:6px}.studio-seal{font-size:23px}.stage-label{font-size:5px;letter-spacing:1px}.stage-caption,.stage-label{left:14px;right:14px}}@media(max-height:850px)and (min-width:761px){.app-header{height:64px;min-height:64px}.editor-toolbar,.inspector-heading{height:50px;min-height:50px}.canvas-surround{padding-top:35px;padding-bottom:62px}.pose-panel{padding-top:15px;padding-bottom:13px}.pose-heading{margin-bottom:11px}.pose-preview{height:55px}.pose-heading h3{font-size:11px}.pose-card>div:last-child:not(.pose-preview){padding-top:7px;padding-bottom:7px}.library-heading{padding-top:19px;padding-bottom:16px}.library-footer{padding-top:15px;padding-bottom:15px}.inspector-tabs button{height:61px}.control-section{padding-top:18px;padding-bottom:18px}}@media(max-width:760px){.app{height:auto;min-height:100dvh;overflow:visible}.app-header{height:62px;min-height:62px;padding:0 14px;gap:8px}.brand{gap:9px}.brand strong{font-size:25px}.brand-icon{width:26px;height:26px}.project-title,.help-button,.header-divider,.header-actions>.icon-button:first-child{display:none}.header-actions{gap:2px}.header-actions>.icon-button{width:32px;height:38px}.export-main{padding:9px 11px;font-size:11px;gap:7px;margin-left:4px}.export-main>svg:last-child{display:none}.brand-sub{display:none}.mobile-nav{display:flex;position:sticky;top:0;background:var(--inset);border-bottom:1px solid var(--line);z-index:10;padding:0 15px;min-height:46px}.mobile-nav button{height:46px;font-size:12px;color:var(--muted);flex:1;border-bottom:2px solid transparent}.mobile-nav button.active{color:var(--accent-text);border-bottom-color:var(--accent);background:var(--accent-soft)}.workspace,.library-closed{display:block;flex:1;min-height:0}.device-library,.inspector,.editor,.device-library.collapsed{display:none;border:0}.mobile-visible,.device-library.collapsed.mobile-visible{display:flex}.device-library{min-height:calc(100dvh - 108px)}.library-heading{padding:23px 22px 18px}.library-heading h2{font-size:16px}.library-heading .icon-button{display:none}.search-box{margin:0 22px;padding:12px}.search-box input{font-size:13px}.family-tabs{padding:18px 22px 13px;gap:8px}.family-tabs button{font-size:12px;padding:9px 14px}.device-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 18px 22px;overflow:visible}.device-card{flex-direction:column;text-align:center;min-height:147px;border:1px solid var(--line);background:var(--panel);justify-content:center;gap:12px;padding:18px 6px;margin:0}.device-thumb{height:53px}.device-thumb .mini-device{scale:1.25}.device-description{flex:0;gap:7px}.device-description strong{font-size:12px}.device-description small{font-size:8px}.selected-check{right:12px;top:12px;width:17px;height:17px}.library-footer{padding:20px 24px;margin-top:auto}.library-footer strong{font-size:12px}.library-footer p{font-size:11px}.library-footer button{font-size:11px;min-height:36px}.editor{min-height:calc(100dvh - 108px);overflow:visible}.editor-toolbar{height:53px;min-height:53px;padding:0 16px}.breadcrumb{font-size:10px;gap:7px}.history-actions .icon-button{height:36px;width:29px}.history-actions>span{margin:0 4px}.live-badge{display:none}.canvas-surround{min-height:420px;padding:37px 19px 76px;flex:1;overflow:visible}.artboard{width:min(100%,540px);max-height:none;aspect-ratio:1!important;flex-shrink:0}.canvas-bottomline{font-size:8px}.canvas-topline{left:19px;right:19px;font-size:9px}.floating-tools{bottom:17px;padding:6px;gap:3px}.floating-tools .icon-button{height:34px;width:33px}.floating-tools .icon-button svg{width:17px}.zoom-level{font-size:10px}.stage-label{top:20px;left:19px;right:19px;font-size:6px}.stage-caption{left:19px;right:19px;bottom:19px}.stage-caption h1{font-size:9px}.stage-caption p{font-size:7px}.pose-panel{padding:19px 17px 20px}.pose-heading h3{font-size:13px}.pose-heading>div>span{font-size:9px}.pose-grid{gap:6px}.pose-preview{height:64px}.pose-preview .large{scale:1}.pose-card>div:last-child:not(.pose-preview){justify-content:center;padding:9px 2px}.pose-card span{font-size:8px}.pose-card small{display:none}.editor-status{height:34px;font-size:8px;padding:0 17px}.inspector{min-height:calc(100dvh - 108px)}.inspector-heading{height:56px;min-height:56px;padding:0 23px}.inspector-heading h2{font-size:14px}.inspector-tabs{padding:0 17px;position:sticky;top:46px;background:var(--inset);z-index:5}.inspector-tabs button{height:70px;font-size:12px;gap:8px}.inspector-tabs button svg{width:20px;height:20px}.inspector-content{overflow:visible;flex:1}.control-section{padding:24px}.section-heading h3{font-size:13px}.section-heading>span{font-size:9px}.upload-zone>button:first-child{padding:27px 12px;min-height:190px}.upload-zone strong{font-size:14px}.upload-zone button>span:not(.upload-icon){font-size:11px}.upload-zone small{font-size:10px}.spec-note{font-size:11px;margin-top:15px}.face-grid{gap:13px}.face-grid canvas{max-width:51px;height:73px}.face-grid button>span{font-size:10px;margin-top:10px}.face-grid>button{padding-top:10px}.face-grid i{width:17px;height:17px;right:5px;top:5px}.segmented button{font-size:12px;padding:11px 5px}.field-top{font-size:12px}.number-field{font-size:11px}.number-field input{font-size:11px;width:42px;padding:5px}.range-field{margin-top:23px}input[type=range]{height:4px;margin:15px 0 11px}input[type=range]::-webkit-slider-thumb{width:16px;height:16px}.hint,.dual-fields .field-top{font-size:11px}.dual-fields .number-field input{width:37px}.tip-card{margin:24px;padding:20px}.tip-card p{font-size:14px}.tip-card>span:last-of-type{font-size:11px}.tip-number{font-size:10px}.tip-card button{font-size:11px;padding:8px 0}.text-button{font-size:11px;padding:6px}.inspector-footer{padding:20px 24px}.inspector-footer>div>span{font-size:11px}.inspector-footer strong{font-size:12px}.inspector-footer button{padding:12px}.toggle-row{font-size:12px;min-height:32px}.toggle-row small{font-size:11px}.swatches{gap:13px;margin-top:18px}.swatches>button,.custom-color{width:30px;height:30px}.material-card{padding:20px 15px}.material-card strong{font-size:13px}.material-card small{font-size:10px}.select-label{font-size:12px}.select-label select{font-size:12px;padding:13px}.light-art{height:95px}.light-art>span{scale:1.4}.light-grid strong{font-size:12px;margin-top:13px}.light-grid small{font-size:8px}.light-grid>button{padding-bottom:13px}.ratio-grid button{height:90px;font-size:11px}.axis-intro{padding:12px 4px 20px}.axis-intro p{font-size:12px}.quick-poses button{padding:15px;font-size:13px}.modal-overlay{padding:13px}.modal{padding:23px;width:100%;max-width:440px;max-height:calc(100dvh - 26px)}.modal-heading h2{font-size:21px}.modal-description{font-size:12px}.modal .hint{font-size:10px}.models-modal{max-width:600px}.model-table a{padding:13px 10px}.model-table strong{font-size:11px}.model-table a>span{font-size:9px;gap:8px}.model-table div>span{font-size:9px}.guide-list p{font-size:11px}.guide-list strong{font-size:13px}.guide-list>div{gap:13px}.shortcut-list{font-size:10px}.toast{bottom:16px;font-size:11px;padding:12px;white-space:normal;width:max-content}.modal .control-section{padding:20px 0}.export-confirm{min-height:46px}}@media(max-width:370px){.export-main{padding:8px}.header-actions>.icon-button{display:none}.device-description strong{font-size:11px}.device-description small,.pose-card span{font-size:7px}.stage-caption h1{font-size:8px}.canvas-bottomline{font-size:7px}.breadcrumb{font-size:9px}.history-actions .icon-button{width:24px}.family-tabs button{padding:8px 11px}.swatches{gap:10px}}@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.three-stage:focus-visible{outline:2px solid var(--accent);outline-offset:-4px}.navigation-description{font-size:9px;line-height:1.8;color:var(--muted);margin:0 0 14px}.navigation-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:15px}.navigation-number{display:flex;flex-direction:column;gap:6px;min-width:0;color:var(--muted);font-size:9px}.navigation-number-input{display:flex;align-items:center;gap:4px;min-width:0}.navigation-number-input input{width:100%;min-width:0;border:1px solid var(--line);border-radius:4px;background:var(--panel);color:var(--text-secondary);padding:8px 6px;font:10px DM Sans,sans-serif;outline:none}.background-upload{position:relative;display:flex;align-items:center;min-height:70px;margin-top:15px;border:1px solid var(--line);border-radius:6px;background:var(--panel);overflow:hidden}.background-upload-button{display:flex;flex-direction:row;align-items:center;gap:12px;width:100%;min-width:0;padding:8px 42px 8px 10px;text-align:left;color:var(--muted)}.background-upload-button>svg{flex:none;color:var(--text-secondary)}.background-upload-button>img{width:58px;height:52px;flex:none;object-fit:cover;border-radius:4px}.background-upload-button>span{display:flex;flex-direction:column;gap:6px;min-width:0}.background-upload-button strong{font-size:10px;font-weight:500;color:var(--text-secondary)}.background-upload-button small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px;color:var(--muted)}.remove-background{position:absolute;right:7px;top:7px;display:flex;align-items:center;justify-content:center;width:26px;height:26px;border:1px solid var(--line-strong);border-radius:4px;color:var(--text-secondary);background:var(--panel)}.advanced-settings{display:flex;flex-direction:column;gap:12px;margin-top:15px;padding:12px;border:1px solid var(--line);border-radius:5px;background:var(--inset)}.advanced-settings summary{cursor:pointer;color:var(--text-secondary);font-size:10px;list-style:none}.advanced-settings summary::-webkit-details-marker{display:none}.advanced-settings[open] summary{padding-bottom:4px;border-bottom:1px solid var(--line)}.toggle-row.disabled{opacity:.52;cursor:not-allowed}.editor-status.storage-error>span:first-child{color:#efb7a9}.editor-status.storage-error .status-led{background:#db775f;box-shadow:0 0 8px #d9796280}.startup-gate{position:fixed;inset:0;z-index:100;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:12px;background:var(--scrim);color:var(--text-secondary);font-size:12px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.preset-modal{width:min(520px,100%)}.preset-modal .modal-heading h2{margin-top:0}.preset-device-name{margin:13px 0 21px;color:var(--muted);font-size:11px}.preset-create{display:flex;flex-direction:column;gap:8px;padding:15px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.preset-create>label,.preset-manager-heading{font-size:10px;color:var(--muted)}.preset-create>div{display:flex;flex-direction:row;gap:8px}.preset-create input{flex:1;min-width:0;border:1px solid var(--line);border-radius:5px;padding:10px;background:var(--panel);color:var(--text);font-size:11px;outline:none}.preset-create input:focus{border-color:var(--accent)}.preset-create .secondary{display:flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}.preset-manager-heading{display:flex;align-items:center;gap:8px;margin:17px 0 8px}.preset-manager-heading>span{padding:2px 6px;border:1px solid var(--line);border-radius:9px;color:var(--text-secondary);font-size:9px}.preset-manager-list{display:flex;flex-direction:column;gap:5px;max-height:220px;overflow:auto}.preset-manager-list>button{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:47px;padding:8px 10px;border:1px solid var(--line);border-radius:5px;background:var(--panel);text-align:left;color:var(--text-secondary)}.preset-manager-list>button.selected{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-text)}.preset-manager-list>button>span{display:flex;flex-direction:column;gap:5px;min-width:0}.preset-manager-list strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:500}.preset-manager-list small{font-size:8px;color:var(--muted)}.preset-manager-list>button>svg{flex:none;color:var(--text-secondary)}.preset-empty{margin:0;padding:17px 10px;color:var(--muted);text-align:center;font-size:10px}.preset-actions{display:flex;flex-direction:row;gap:8px;margin-top:13px}.preset-actions>button{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:6px;flex:1;min-width:0;padding:10px 5px;border-radius:5px;font-size:9px;white-space:nowrap}.danger-button{border:1px solid #70483e;background:#392925;color:#edc2b5}.danger-button:hover{background:#4a302a}.preset-backup-actions{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px 18px;margin-top:17px;padding-top:13px;border-top:1px solid var(--line)}.preset-backup-actions .text-button{display:flex;flex-direction:row;align-items:center;gap:5px;padding:4px 0;font-size:9px}@media(max-width:760px){.brand strong{font-size:18px;white-space:nowrap}.header-actions{gap:1px}.header-actions>.icon-button{width:30px}.export-main{padding:8px 9px}.editor-status{gap:8px}.editor-status>span:last-child{max-width:48%;font-size:6px;line-height:1.4;text-align:right}.preset-modal{max-width:500px}.preset-create>div{flex-direction:column}.preset-actions{gap:5px}.preset-actions>button{font-size:8px;padding:10px 2px}.preset-backup-actions{gap:9px 15px}.preset-backup-actions .text-button{font-size:10px}.advanced-settings{gap:13px}.background-upload-button{min-height:68px}}.navigation-number-input input:focus{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-glow)}.navigation-number-input small{flex-shrink:0;color:var(--subtle);font-size:8px}.navigation-zoom{display:flex;align-items:flex-end;gap:10px;margin-top:15px}.navigation-zoom>.navigation-number{flex:1}.navigation-zoom>div{display:flex;gap:3px}.navigation-zoom .icon-button{height:34px;width:32px}.navigation-hint{flex:1;text-align:center;white-space:nowrap;font-size:7px}@media(max-width:1000px){.navigation-description{font-size:8px}.navigation-fields{gap:5px}.navigation-number{font-size:8px}.navigation-number-input input{font-size:9px;padding:7px 4px}.navigation-hint{font-size:6px}}@media(max-width:760px){.canvas-bottomline{justify-content:center}.canvas-bottomline>span:first-child,.canvas-bottomline>span:last-child{display:none}.navigation-hint{font-size:7px;white-space:normal}}.zoom-control-group{display:flex;align-items:center}.app-header{height:62px;min-height:62px;padding-left:20px;padding-right:20px}.editor-toolbar,.inspector-heading{height:52px;min-height:52px}.inspector-tabs button{height:58px;gap:5px}.control-section{padding:16px 18px 15px}.section-heading{margin-bottom:11px}.range-field{margin-top:14px}.canvas-surround{padding:28px 32px 48px}.artboard{width:min(100%,820px);box-shadow:0 5px 26px #0003}.canvas-bottomline{width:min(100%,820px);margin-top:7px}.canvas-topline{left:22px;right:22px;top:10px}.floating-tools{bottom:10px}.preset-panel{display:flex;flex-direction:column;gap:3px;flex-shrink:0;padding:7px 18px 8px;background:var(--bg);border-top:1px solid var(--line)}.preset-row{display:flex;align-items:center;gap:10px;min-width:0;min-height:29px}.preset-row>strong{width:42px;flex-shrink:0;color:var(--muted);font-size:9px;font-weight:500}.preset-list{display:flex;align-items:center;gap:4px;min-width:0;flex:1;overflow-x:auto;scrollbar-width:none;padding:2px 0}.preset-list::-webkit-scrollbar{display:none}.product-view-list{display:flex;align-items:center;gap:4px;min-width:0;flex:1;overflow-x:auto;scrollbar-width:none;padding:2px 0}.product-view-list::-webkit-scrollbar{display:none}.product-view-list button{min-height:27px;flex-shrink:0;padding:4px 8px;border:1px solid var(--line);border-radius:4px;background:var(--panel);color:var(--muted);font-size:9px;white-space:nowrap}.product-view-list button:hover{border-color:var(--line-strong);color:var(--text)}.preset-list button,.camera-quick-poses button{min-height:27px;flex-shrink:0;padding:4px 8px;border:1px solid var(--line);border-radius:4px;background:var(--panel);color:var(--muted);font-size:9px;white-space:nowrap}.preset-list button:hover,.camera-quick-poses button:hover{border-color:var(--line-strong);color:var(--text)}.preset-list button.selected,.camera-quick-poses button.selected{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-text)}.preset-row>.icon-button{width:29px;height:28px}.transform-options{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px}.camera-quick-poses{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin-top:13px}.camera-quick-poses button{min-width:0;padding-left:4px;padding-right:4px}.navigation-description{font-size:9px;line-height:1.5;margin:0 0 9px}.navigation-fields{margin-top:10px}.navigation-number{gap:4px}.navigation-number-input input{padding:6px 5px}.navigation-zoom{margin-top:11px}.toggle-row{min-height:30px}.hint{line-height:1.55}.inspector-footer{padding-top:10px;padding-bottom:10px}.pose-panel,.stage-label,.stage-caption,.library-footer,.tip-card{display:none}@media(min-width:1600px){.canvas-surround{padding:26px 44px 48px}.artboard,.canvas-bottomline{width:min(100%,900px)}}@media(max-width:1200px){.canvas-surround{padding-left:22px;padding-right:22px}.preset-panel{padding-left:12px;padding-right:12px}}@media(max-width:1000px)and (min-width:761px){.preset-row{gap:6px}.preset-row>strong{width:36px}.preset-list{gap:3px}.preset-list button{padding-left:6px;padding-right:6px;font-size:8px}.navigation-fields{gap:5px}.camera-quick-poses{gap:3px}}@media(max-height:850px)and (min-width:761px){.canvas-surround{padding-top:23px;padding-bottom:43px}.preset-panel{padding-top:5px;padding-bottom:5px}.editor-toolbar,.inspector-heading{height:48px;min-height:48px}.inspector-tabs button{height:52px}.control-section{padding-top:13px;padding-bottom:12px}}@media(max-width:760px){.app-header{height:58px;min-height:58px;padding-left:12px;padding-right:12px}.editor-toolbar{height:48px;min-height:48px}.canvas-surround{min-height:390px;padding:25px 12px 67px}.canvas-topline{left:13px;right:13px;top:8px}.floating-tools{bottom:10px}.preset-panel{padding:6px 9px 8px;gap:4px}.preset-row{min-height:44px;gap:6px}.preset-row>strong{width:35px;font-size:9px}.preset-list,.product-view-list{gap:5px}.product-view-list button,.preset-list button{min-height:44px;padding:7px 10px;font-size:10px}.preset-row>.icon-button{height:44px;width:40px}.header-actions>.icon-button{width:40px;height:44px}.inspector-heading{height:50px;min-height:50px}.inspector-tabs button{height:64px}.control-section{padding:18px 20px}.navigation-fields{gap:8px}.navigation-number{font-size:10px}.navigation-number-input input{min-height:44px;font-size:11px;padding:7px 5px}.camera-quick-poses{gap:6px}.camera-quick-poses button{min-height:44px;font-size:10px}.toggle-row{min-height:44px}.canvas-bottomline{display:flex;font-size:9px}.canvas-bottomline>span:first-child{display:flex}}@media(max-width:370px){.preset-row>strong{width:30px}.preset-list button{padding-left:8px;padding-right:8px}.history-actions .icon-button{width:26px}}@media(max-width:370px){.header-actions>.icon-button{display:flex;width:26px}.header-actions>.icon-button:first-child{display:none}.brand strong{font-size:16px}.export-main{padding:8px}}.export-download{color:var(--accent);white-space:nowrap;text-decoration:underline;text-underline-offset:3px;margin-left:8px}.library-mode{display:flex;gap:6px}.library-mode button{border:0;background:transparent;color:var(--text-muted,var(--muted));padding:6px 10px;border-radius:5px;font-size:13px}.library-mode button.selected{background:var(--accent-glow);color:var(--accent-text)}.template-entry{display:flex;align-items:center;gap:7px;padding:8px 12px}.view-presets{flex-shrink:0}.view-presets>summary{cursor:pointer;color:var(--text-secondary);font-size:12px;padding:8px 0;list-style:revert}.view-presets:not([open]){padding-top:2px;padding-bottom:2px}.view-presets:not([open])>*:not(summary){display:none}.scene-template-modal{display:flex;flex-direction:column;min-height:0;width:min(880px,94vw)!important;max-width:880px!important}.scene-template-modal>.scene-template-gallery{min-height:0}.inspector-tabs button{min-width:0;flex:1}.inspector-tabs{display:flex;gap:0}.object-inspector-heading{min-height:36px;padding:6px 17px}.device-library>.scene-outliner{min-height:0;flex:1;overflow:auto}.template-entry:focus-visible,.library-mode button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media(max-width:760px){.template-entry{padding:8px}.template-entry span{display:none}.header-actions{gap:4px}.scene-template-modal{width:calc(100vw - 20px)!important}.view-presets>summary{padding:8px 12px}}@media(max-width:600px){.app-header{height:94px;min-height:94px;flex-wrap:wrap;gap:2px;padding:6px 12px}.brand{width:100%;justify-content:center;height:30px}.brand strong{font-size:18px}.header-actions{width:100%;justify-content:space-between;gap:3px}.header-actions>.icon-button{display:inline-flex;width:44px;height:44px}.header-actions>.template-entry{width:44px;height:44px;justify-content:center;padding:8px}.export-main{width:104px;height:44px;margin:0;padding:8px;white-space:nowrap}.export-main svg:last-child{display:none}}
