.direct-editor{position:absolute;z-index:8;width:360px;max-width:calc(100% - 16px);padding:10px;background:rgba(255,254,248,.96);border:1px solid #c7d1bc;border-radius:12px;box-shadow:0 5px 22px #402b091b;font-size:11px}.direct-heading{display:flex;justify-content:space-between;gap:8px;margin-bottom:8px}.direct-heading strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:240px}.direct-heading span{white-space:nowrap;color:#65725d}.direct-modes,.direct-align-buttons,.direct-footer{display:flex;gap:4px}.direct-editor button{padding:7px 5px;min-height:30px;font-size:10px}.direct-modes button{flex:1}.direct-modes button.active{background:#402b09;color:#fff}.direct-align{display:flex;align-items:center;gap:5px;margin:7px 0}.direct-align select{width:auto;min-width:0;flex:1;margin:0;padding:4px;font-size:10px}.direct-align-buttons{flex-wrap:wrap}.direct-align-buttons button{flex:1;white-space:nowrap}.direct-footer{margin-top:6px}.direct-footer button{flex:1}.direct-editor p{font-size:10px;color:#667460;margin:6px 0 0;line-height:1.4}.object-dimension{position:absolute;z-index:9;width:128px;padding:5px 7px;background:#fffef8f5;box-shadow:0 3px 12px #402b0922;border:1px solid #c7d1bc;border-left:4px solid #ba6455;border-radius:8px;margin:0!important;font-size:10px}.object-dimension.axis-y{border-left-color:#54874c}.object-dimension.axis-z{border-left-color:#5286b9}.object-dimension span{display:block;white-space:nowrap;font-size:10px}.object-dimension input{padding:4px!important;margin:3px 0 0!important;min-width:0;width:100%;height:29px;font-size:12px;font-variant-numeric:tabular-nums;appearance:auto}.object-dimension input::-webkit-inner-spin-button{opacity:1}.move-step{position:absolute;z-index:10;right:12px;bottom:42px;width:185px;padding:9px 10px;background:#fffef8f5;border:1px solid #c7d1bc;border-radius:10px}.move-step label{margin:0 0 5px;font-size:11px}.move-step>div{display:flex;gap:5px}.move-step input,.move-step select{min-width:0;width:50%;margin:0;padding:5px;font-size:12px}.move-step small{display:block;font-size:9px;color:#677662;margin-top:5px}.stage-title{display:none}.axis-widget{display:none}.stage-bottom>span{font-size:10px}.view-tools{z-index:11}#svg-import-dialog,#back-panel-dialog{max-width:540px}#svg-status,#back-preview{font-size:12px;line-height:1.6}@media(max-width:760px){.direct-editor{width:360px;padding:8px}.object-dimension{padding:4px}.direct-editor button{padding:5px 3px}.direct-editor p{font-size:9px}.move-step{right:8px;bottom:38px;width:164px;padding:6px}.stage-bottom>span{display:none}}
.stage.loft-face-pick-mode .move-step{display:none}.stage.loft-view-navigation-mode canvas{cursor:grab}.stage.loft-view-navigation-mode canvas:active{cursor:grabbing}.loft-navigation-row{margin:10px 0}#loft-view-toggle.active{border-color:#218979;background:color-mix(in srgb,#218979 12%,white)}.object-dimension.object-axis-y{border-left-color:#54874c}
.direct-editor{width:320px;max-height:calc(100% - 180px);overflow:auto}
.direct-heading{cursor:grab;touch-action:none;align-items:center;margin-bottom:0;min-height:32px}
.direct-heading:active{cursor:grabbing}
.direct-heading strong{max-width:170px}
.direct-heading:focus-visible{outline:2px solid #c58a33;outline-offset:2px}
.direct-heading button{font-size:20px;min-width:32px;margin-left:auto}
.direct-body{padding-top:8px}
.direct-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:8px 0}
.direct-numbers .object-dimension{position:static;width:auto;min-width:0;padding:5px;box-shadow:none}
.direct-numbers .object-dimension span{white-space:normal;min-height:26px}
.direct-scale-anchor{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;margin:4px 0 8px;font-size:11px}.direct-scale-anchor select{width:100%;min-width:0;margin:0;padding:6px;font-size:11px}
.direct-editor summary,.revision-tools summary{cursor:pointer;font-weight:700;padding:10px 0;font-size:12px}
.right-panel>.revision-tools{margin:0 0 20px;padding-top:0}
.stage .axis-widget{display:block;position:absolute;left:12px;bottom:40px;width:94px;height:94px;background:#fffef880;border:1px solid #c7d1bc80;border-radius:50%;pointer-events:none;z-index:7}
.axis-widget canvas{display:block;width:100%;height:100%}
.axis-widget:before,.axis-widget:after{display:none}
.object-dimension.object-axis-z{border-left-color:#5286b9}
.stage .toast{z-index:15;bottom:140px;pointer-events:none;width:max-content;max-width:85%}
@media(max-width:1100px){.view-tools{top:14px;right:8px;flex-direction:row;padding:2px}.view-tools button{font-size:16px;min-width:25px;padding:4px}.view-tools span{display:none}}
@media(max-width:760px){.workspace{grid-template-columns:1fr 1fr;grid-template-rows:minmax(600px,75dvh) 440px;overflow-y:auto}.stage{grid-column:1 / 3;grid-row:1}.left-panel{grid-column:1;grid-row:2}.right-panel{grid-column:2;grid-row:2}.stage-top{left:10px;top:14px}.direct-editor{width:calc(100% - 16px);max-width:408px}.view-tools{top:14px}}
.selection-marquee{position:absolute;z-index:12;border:1px solid #218979;background:rgba(33,137,121,.14);box-shadow:0 0 0 1px rgba(255,255,255,.7) inset;pointer-events:none}.selection-marquee[hidden]{display:none}#scene canvas.marquee-active{cursor:crosshair}
