:root{color:#f5f7fa;font-synthesis:none;--bg:#0c0e11;--panel:#111419;--panel-2:#171b21;--line:#282e37;--muted:#8f98a6;--text:#f5f7fa;--accent:#ff8a28;--accent-2:#ffa85f;--danger:#ff6b6b;--radius:14px;background:#0c0e11;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(circle at 52% -15%,#25282b 0,transparent 28%),var(--bg);min-width:1120px;min-height:100vh;color:var(--text);margin:0}button,input,select{font:inherit}.app-shell{min-height:100vh}.topbar{border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);z-index:10;background:#0c0e11e6;justify-content:space-between;align-items:center;height:74px;padding:0 24px;display:flex;position:sticky;top:0}.topbar h1{letter-spacing:-.02em;margin:0 0 6px;font-size:18px;line-height:1}.topbar p{color:var(--muted);margin:0;font-size:12px}.kernel-state{color:var(--muted);align-items:center;gap:8px;font-size:12px;display:flex}.dot{background:#d99b35;border-radius:99px;width:8px;height:8px;box-shadow:0 0 14px}.kernel-state.ready .dot{background:#62d98b}.kernel-state.error .dot{background:var(--danger)}.workspace{grid-template-columns:326px minmax(520px,1fr) 270px;min-height:calc(100vh - 74px);display:grid}.controls,.export-panel{border-right:1px solid var(--line);background:#111419eb;max-height:calc(100vh - 74px);padding:18px;position:sticky;top:74px;overflow:auto}.export-panel{border-right:0;border-left:1px solid var(--line);flex-direction:column;gap:24px;display:flex}.control-section{border-bottom:1px solid var(--line);margin:0 0 20px;padding:0 0 20px}.control-section:last-child{border-bottom:0}.control-section h2,.export-panel h2{letter-spacing:.01em;margin:0 0 12px;font-size:13px}.section-heading{justify-content:space-between;align-items:center;display:flex}.section-heading h2{margin:0}.segmented{border:1px solid var(--line);background:#0b0e12;border-radius:10px;grid-template-columns:1fr 1fr;margin-bottom:14px;padding:3px;display:grid}.segmented button,.view-tabs button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;padding:8px 10px;font-size:12px}.segmented button.active,.view-tabs button.active{color:#fff;background:#252a31;box-shadow:inset 0 1px #ffffff0f}.segmented.small button{padding:7px}.source-panel{display:block}.hidden{display:none!important}.field{flex-direction:column;gap:6px;margin-top:10px;display:flex}.field>span,.check-field span{color:var(--muted);justify-content:space-between;font-size:11px;display:flex}.field input[type=text],.field input[type=number],.field select{border:1px solid var(--line);width:100%;height:36px;color:var(--text);background:#0c0f13;border-radius:8px;outline:none;padding:0 10px}.field input:focus,.field select:focus{border-color:#555f6c;box-shadow:0 0 0 2px #ffffff0a}.field input[type=range]{width:100%;accent-color:var(--accent)}.two-col,.three-col{grid-template-columns:1fr 1fr;gap:10px;display:grid}.three-col{grid-template-columns:1fr 1fr 1fr}.compact-top{margin-top:3px}.check-field{align-items:center;gap:8px;height:36px;margin-top:26px;display:flex}.dropzone{cursor:pointer;background:#0c0f13;border:1px dashed #3a424e;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;height:92px;display:flex;position:relative}.dropzone:hover{border-color:#606b78}.dropzone input{opacity:0;cursor:pointer;position:absolute;inset:0}.dropzone span{color:var(--muted);margin-top:5px;font-size:10px}.preview-strip{border:1px solid var(--line);background:#080a0d;border-radius:10px;height:112px;margin-top:12px;overflow:hidden}.preview-strip canvas{width:100%;height:100%;display:block}.text-button,.icon-button{color:var(--muted);cursor:pointer;background:0 0;border:0;font-size:11px}.text-button:hover,.icon-button:hover{color:#fff}.advanced summary{cursor:pointer;font-size:13px;font-weight:650;list-style:none}.advanced summary::-webkit-details-marker{display:none}.advanced summary:after{content:"+";float:right;color:var(--muted)}.advanced[open] summary:after{content:"−"}.details-body{margin-top:3px}.hint{color:var(--muted);margin:10px 0 0;font-size:10px;line-height:1.5}.stage-panel{background:linear-gradient(#121519 0,#0a0c0f 100%);flex-direction:column;min-width:0;display:flex}.stage-toolbar{border-bottom:1px solid var(--line);justify-content:center;align-items:center;height:54px;padding:0 18px;display:flex;position:relative}.view-tabs{border:1px solid var(--line);background:#0a0d10;border-radius:10px;gap:2px;padding:3px;display:flex}.icon-button{border:1px solid var(--line);border-radius:8px;padding:7px 9px;position:absolute;right:18px}.stage{flex:1;min-height:520px;position:relative;overflow:hidden}.stage canvas{width:100%;height:100%;display:block}.stage-message{border:1px solid var(--line);color:var(--muted);pointer-events:none;background:#0a0c0fc7;border-radius:9px;padding:10px 14px;font-size:12px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.stats{border-top:1px solid var(--line);grid-template-columns:1fr 1fr 1fr 1fr;height:82px;display:grid}.stats>div{border-right:1px solid var(--line);min-width:0;padding:17px 18px}.stats>div:last-child{border:0}.stats span{text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-bottom:7px;font-size:10px;display:block}.stats strong{white-space:nowrap;text-overflow:ellipsis;font-size:12px;display:block;overflow:hidden}.validation-note{border-top:1px solid var(--line);background:#0f1315;align-items:flex-start;gap:10px;padding:13px 18px;display:flex}.validation-icon{color:#74e69d;background:#183b27;border-radius:50%;place-items:center;width:22px;height:22px;font-size:12px;display:grid}.validation-note strong{font-size:11px}.validation-note p{color:var(--muted);margin:3px 0 0;font-size:10px}.export-panel h2{margin-bottom:7px;font-size:16px}.export-panel p{color:var(--muted);margin:0;font-size:11px;line-height:1.55}.export-list{flex-direction:column;gap:8px;display:flex}.export-button{border:1px solid var(--line);color:#fff;text-align:left;cursor:pointer;background:#15191f;border-radius:11px;justify-content:space-between;align-items:center;padding:12px;display:flex}.export-button.primary{background:var(--accent);border-color:var(--accent);color:#17100b}.export-button span{flex-direction:column;gap:3px;display:flex}.export-button strong{font-size:12px}.export-button small{color:var(--muted);font-size:9px}.export-button b{letter-spacing:.08em;font-size:9px}.export-button:disabled{opacity:.45;cursor:not-allowed}.export-meta{border-top:1px solid var(--line);grid-template-columns:1fr 1fr;gap:8px 10px;padding-top:18px;font-size:10px;display:grid}.export-meta span{color:var(--muted)}.export-meta strong{text-align:right;font-weight:600}.error-box{color:#faa;background:#ff6b6b14;border:1px solid #ff6b6b59;border-radius:9px;padding:11px;font-size:10px;line-height:1.5}@media (width<=1260px){body{min-width:980px}.workspace{grid-template-columns:300px minmax(470px,1fr) 230px}.controls,.export-panel{padding:14px}.three-col{grid-template-columns:1fr 1fr}.three-col .field:last-child{grid-column:1/-1}}@media (width<=1000px){body{min-width:0}.topbar{position:relative}.workspace{flex-direction:column;display:flex}.controls,.export-panel{border:0;border-bottom:1px solid var(--line);max-height:none;position:relative;top:auto}.controls{order:2}.stage-panel{order:1;min-height:640px}.export-panel{order:3}.stats{grid-template-columns:1fr 1fr;height:auto}.stats>div{border-bottom:1px solid var(--line)}.two-col,.three-col{grid-template-columns:1fr 1fr}}.topbar-actions{align-items:center;gap:16px;display:flex}.theme-toggle{border:1px solid var(--line);background:var(--panel-2);height:32px;color:var(--text);cursor:pointer;border-radius:9px;padding:0 11px;font-size:11px}.theme-toggle:hover{border-color:#596574}.closure-tabs{grid-template-columns:repeat(2,1fr)}.closure-tabs button{padding-left:6px;padding-right:6px}.hinge-info{border:1px solid var(--line);color:var(--muted);background:#ff8a280e;border-radius:9px;margin-top:10px;padding:10px 11px;font-size:10px;line-height:1.55}.hinge-info strong{color:var(--text);margin-bottom:3px;font-size:11px;display:block}.hinge-info .hardware-line{color:var(--accent-2);margin-top:4px}.stage-actions{z-index:8;flex-direction:column;align-items:center;gap:7px;display:flex;position:absolute;top:14px;left:14px;right:auto}.stage-actions .icon-button{background:color-mix(in srgb,var(--panel-2) 92%,transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:9px;place-items:center;width:36px;min-width:36px;height:36px;display:grid;position:relative;right:auto;box-shadow:0 2px 10px #00000029;padding:0!important}.stage-actions .stage-icon{pointer-events:none;stroke:currentColor;width:18px;height:18px;display:block}.stage-actions .icon-button:after{content:attr(data-label);border:1px solid var(--line);background:color-mix(in srgb,var(--panel) 96%,transparent);color:var(--text);white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;border-radius:7px;padding:5px 8px;font-size:10px;line-height:1;transition:opacity .12s,transform .12s,visibility .12s;position:absolute;top:50%;left:calc(100% + 9px);right:auto;transform:translateY(-50%)translate(-4px);box-shadow:0 4px 14px #0003}.stage-actions .icon-button:hover:after,.stage-actions .icon-button:focus-visible:after{opacity:1;visibility:visible;transform:translateY(-50%)translate(0)}.animate-button{min-width:62px}.animate-button.active{color:#18100a;background:var(--accent);border-color:var(--accent)}.animate-button:disabled{opacity:.4;cursor:not-allowed}.field select:disabled,.field input:disabled{opacity:.55;cursor:not-allowed}html[data-theme=light]{--bg:#f2f4f7;--panel:#fff;--panel-2:#f5f7f9;--line:#d9dee5;--muted:#687280;--text:#15181d;--accent:#f47b16;--accent-2:#c85d07;--danger:#c63d3d;color:#15181d;background:#f2f4f7}html[data-theme=light] body{background:radial-gradient(circle at 52% -15%,#fff 0,transparent 32%),var(--bg);color:var(--text)}html[data-theme=light] .topbar{background:#ffffffe6}html[data-theme=light] .segmented,html[data-theme=light] .view-tabs{background:#eef1f4}html[data-theme=light] .segmented button.active,html[data-theme=light] .view-tabs button.active{color:#15181d;background:#fff;box-shadow:0 1px 2px #141e2d17}html[data-theme=light] .field input[type=text],html[data-theme=light] .field input[type=number],html[data-theme=light] .field select{color:#15181d;background:#fff}html[data-theme=light] .dropzone{background:#fafbfc;border-color:#ccd3db}html[data-theme=light] .preview-strip{background:#f8fafc}html[data-theme=light] .stage-message{background:#ffffffe0}html[data-theme=light] .validation-note{background:#f7faf8}html[data-theme=light] .export-button{color:#15181d;background:#f7f8fa}html[data-theme=light] .icon-button{color:#596473;background:#fff}html[data-theme=light] .theme-toggle{background:#fff}html[data-theme=light] .hinge-info{background:#fff8f1}.hardware-line{font-variant-numeric:tabular-nums}@media (width<=1000px){.topbar-actions{gap:8px}.kernel-state{display:none}.closure-tabs{grid-template-columns:repeat(2,1fr)}.stage-actions{top:10px;left:10px;right:auto}.stage-toolbar{justify-content:flex-start}.view-tabs{margin-left:8px}}html:not([data-theme=light]){--bg:#171c23;--panel:#20262f;--panel-2:#29313c;--line:#3b4654;--muted:#aab5c4;--text:#f7f9fc;--accent:#ff902f;--accent-2:#ffb36f;--danger:#ff7b7b;color:#f7f9fc;background:#171c23}html:not([data-theme=light]) body{background:radial-gradient(circle at 52% -15%,#343d49 0,transparent 30%),var(--bg)}html:not([data-theme=light]) .topbar{background:#191e26f0}html:not([data-theme=light]) .controls,html:not([data-theme=light]) .export-panel{background:#1f262ff5}html:not([data-theme=light]) .segmented,html:not([data-theme=light]) .view-tabs{background:#171c23;border-color:#414d5b}html:not([data-theme=light]) .segmented button.active,html:not([data-theme=light]) .view-tabs button.active{color:#fff;background:#35404d;box-shadow:inset 0 1px #ffffff1a}html:not([data-theme=light]) .field input[type=text],html:not([data-theme=light]) .field input[type=number],html:not([data-theme=light]) .field select{color:#f8fafc;background:#181e26;border-color:#414d5b}html:not([data-theme=light]) .dropzone{background:#181e26;border-color:#536172}html:not([data-theme=light]) .preview-strip{background:#161c24;border-color:#414d5b}html:not([data-theme=light]) .stage-panel{background:linear-gradient(#222a34 0,#192029 100%)}html:not([data-theme=light]) .stage-message{color:#c0cad6;background:#1a2029e6;border-color:#465362}html:not([data-theme=light]) .validation-note{background:#1d2625}.validation-note.warning{background:color-mix(in srgb,#d99b35 7%,var(--panel,#111419));border-top-color:#d99b3552}html[data-theme=light] .validation-note.warning{background:#fff9ed;border-top-color:#f0dfbb}.validation-note.warning .validation-icon{color:#91651b;background:#fff0ce}html:not([data-theme=light]) .export-button{color:#f8fafc;background:#29313c;border-color:#414d5b}html:not([data-theme=light]) .export-button:hover{background:#333d49;border-color:#5e6d7d}html:not([data-theme=light]) .theme-toggle,html:not([data-theme=light]) .icon-button{color:#dfe5ec;background:#29313c;border-color:#465362}html:not([data-theme=light]) .hinge-info{background:#272b2f;border-color:#48525e}.field small{color:var(--muted);font-size:9px;font-weight:400}.mini-toggle{color:var(--muted);cursor:pointer;align-items:center;gap:6px;font-size:10px;display:flex}.mini-toggle input{accent-color:var(--accent)}.watermark-controls{transition:opacity .15s}.disabled-panel{opacity:.48}.compact-drop{height:68px;margin-top:10px}.compact-check{height:28px;margin-top:8px}.target-checks{margin-top:4px}.panel-label{text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-bottom:8px;font-size:10px;display:block}.export-formats{grid-template-columns:repeat(3,1fr);margin-bottom:0}.export-formats button{padding:7px 6px}.export-button.hidden{display:none!important}@media (width<=1000px){.watermark-controls .three-col{grid-template-columns:1fr 1fr}.export-formats{max-width:360px}}.magnet-info{border:1px solid var(--line);color:var(--muted);background:#252d37;border-radius:9px;margin-top:10px;padding:10px 11px;font-size:10px;line-height:1.55}.magnet-info strong{color:var(--text);margin-bottom:3px;font-size:11px;display:block}.magnet-info b{color:var(--accent-2);font-weight:700}#flipBackBtn.active{color:#fff;background:#364252;border-color:#65758a}html[data-theme=light] .magnet-info{background:#f7f9fb}html[data-theme=light] #flipBackBtn.active{color:#18202a;background:#e7edf4;border-color:#a8b4c2}.studio-tool-tabs{border:1px solid var(--line);background:var(--panel-2);border-radius:10px;gap:3px;padding:3px;display:flex;position:absolute;left:50%;transform:translate(-50%)}.studio-tool-tabs button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;padding:7px 14px;font-size:11px;font-weight:650}.studio-tool-tabs button.active{background:var(--text);color:var(--bg)}#cutterTool textarea{resize:vertical;border:1px solid var(--line);width:100%;min-height:62px;color:var(--text);background:#1a2028;border-radius:8px;outline:none;padding:9px 10px;line-height:1.35}#cutterTool textarea:focus{border-color:#657487;box-shadow:0 0 0 2px #ffffff0b}.cutter-trace-grid{grid-template-columns:1fr 1fr;gap:8px;margin-top:10px;display:grid}.cutter-trace-grid>div{border:1px solid var(--line);background:#151a21;border-radius:9px;overflow:hidden}.cutter-trace-grid span{border-bottom:1px solid var(--line);text-transform:uppercase;letter-spacing:.08em;color:var(--muted);padding:6px 8px;font-size:9px;display:block}.cutter-trace-grid canvas{width:100%;height:84px;display:block}.field-row-with-action{grid-template-columns:1fr auto;align-items:end;gap:8px;display:grid}.small-action,.inline-input-action button{border:1px solid var(--line);background:var(--panel-2);height:36px;color:var(--text);cursor:pointer;border-radius:8px;padding:0 10px;font-size:10px}.small-action:disabled{opacity:.4;cursor:not-allowed}.inline-input-action{grid-template-columns:1fr auto;gap:6px;display:grid}.inline-input-action input{min-width:0}.inline-input-action button{padding:0 8px}.food-note{border:1px solid var(--line);color:var(--muted);background:#ff902f0f;border-radius:10px;flex-direction:column;gap:4px;padding:11px 12px;font-size:10px;line-height:1.5;display:flex}.food-note strong{color:var(--text);font-size:11px}.panel-label{color:var(--muted);margin-bottom:7px;font-size:10px;display:block}.compact-check input{accent-color:var(--accent)}html[data-theme=light] #cutterTool textarea{color:#15181d;background:#fff}html[data-theme=light] .cutter-trace-grid>div{background:#f8fafc}html[data-theme=light] .small-action,html[data-theme=light] .inline-input-action button{background:#fff}html[data-theme=light] .food-note{background:#fff8f1}@media (width<=1000px){.studio-tool-tabs{margin-left:auto;position:static;transform:none}.topbar{gap:10px}.studio-tool-tabs button{padding:7px 10px}.cutter-trace-grid canvas{height:110px}}.c-view-note{z-index:4;border:1px solid var(--border);background:color-mix(in srgb,var(--panel) 88%,transparent);color:var(--muted);pointer-events:none;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:8px;padding:7px 10px;font-size:11px;line-height:1.25;position:absolute;bottom:14px;left:14px}.export-button.is-disabled{opacity:.5}.measure-overlay{pointer-events:none;z-index:6;position:absolute;inset:0;overflow:hidden}.measure-label{color:#eaf8ff;white-space:nowrap;background:#090e14e6;border:1px solid #38bdf8;border-radius:6px;padding:4px 7px;font:600 11px/1.15 ui-monospace,SFMono-Regular,Menlo,monospace;position:absolute;transform:translate(-50%,-50%);box-shadow:0 2px 8px #00000047}.measure-label.box-label{background:#08121aeb}.measure-label.box-title{color:#8edcff;transform:translate(-50%,-130%)}.measure-status{color:#ccefff;background:#090e14db;border:1px solid #38bdf87a;border-radius:7px;padding:7px 10px;font-size:10px;position:absolute;bottom:12px;left:12px}.measure-button.active{color:#07121a;background:#38bdf8;border-color:#38bdf8}.cutter-dimensions{border-top:1px solid var(--line);background:#38bdf809;grid-template-columns:repeat(3,1fr);display:grid}.cutter-dimensions>div{border-right:1px solid var(--line);min-width:0;padding:12px 16px}.cutter-dimensions>div:last-child{border-right:0}.cutter-dimensions span{text-transform:uppercase;letter-spacing:.07em;color:var(--muted);margin-bottom:5px;font-size:9px;display:block}.cutter-dimensions strong{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:11px}html[data-theme=light] .measure-label,html[data-theme=light] .measure-status{color:#0d4f6c;background:#fffffff0;border-color:#0ea5e9}.stage canvas.measure-active{cursor:crosshair}@media (width<=1260px){.stage-actions{gap:5px}.stage-actions .icon-button{width:34px;min-width:34px;height:34px}.cutter-dimensions{grid-template-columns:1fr}.cutter-dimensions>div{border-right:0;border-bottom:1px solid var(--line)}.cutter-dimensions>div:last-child{border-bottom:0}}#stencilTool textarea{resize:vertical;border:1px solid var(--line);width:100%;min-height:82px;color:var(--text);background:#181e26;border-radius:8px;outline:none;padding:9px 10px;line-height:1.4}#stencilTool textarea:focus{border-color:#657487;box-shadow:0 0 0 2px #ffffff0b}.stencil-profile-info,.stencil-bridge-info{border:1px solid var(--line);color:var(--muted);background:#72c7aa12;border-radius:9px;margin-top:10px;padding:10px 11px;font-size:10px;line-height:1.55}.stencil-profile-info strong{color:var(--text);margin-bottom:3px;font-size:11px;display:block}.stencil-profile-info div{color:#8bd6bc;margin-top:4px}.stencil-bridge-info{background:#38bdf80d}.stencil-preview{height:150px}.stencil-preview canvas{width:100%;height:100%;display:block}.studio-tool-tabs{grid-template-columns:repeat(4,auto)}html[data-theme=light] #stencilTool textarea{color:#15181d;background:#fff}html[data-theme=light] .stencil-profile-info{background:#f5fbf8}html[data-theme=light] .stencil-bridge-info{background:#f4fbff}@media (width<=1000px){#stencilTool .stage-panel{min-height:620px}}.navigation-cube{z-index:7;touch-action:none;-webkit-user-select:none;user-select:none;pointer-events:auto;width:148px;height:148px;position:absolute;top:4px;right:4px;box-shadow:none!important;clip-path:none!important;background:0 0!important;border:0!important;outline:0!important;overflow:visible!important}.navigation-cube canvas{cursor:grab;width:148px!important;height:148px!important;box-shadow:none!important;clip-path:none!important;background:0 0!important;border:0!important;outline:0!important;display:block!important;overflow:visible!important}.navigation-cube.dragging canvas{cursor:grabbing}@media (width<=1000px){.navigation-cube{width:120px;height:120px;top:3px;right:3px}.navigation-cube canvas{width:120px!important;height:120px!important}}#stampTool textarea{resize:vertical;border:1px solid var(--line);width:100%;min-height:74px;color:var(--text);background:#181e26;border-radius:8px;outline:none;padding:9px 10px;line-height:1.4}.stamp-profile-info,.stamp-thread-info{border:1px solid var(--line);color:var(--muted);border-radius:9px;margin-top:10px;padding:10px 11px;font-size:10px;line-height:1.55}.stamp-profile-info{background:#72c7aa12}.stamp-thread-info{background:#ff902f0f}.stamp-profile-info strong,.stamp-thread-info strong{color:var(--text);margin-bottom:3px;font-size:11px;display:block}.stamp-profile-info div{color:#8bd6bc;margin-top:4px}html[data-theme=light] #stampTool textarea{color:#15181d;background:#fff}html[data-theme=light] .stamp-profile-info{background:#f5fbf8}html[data-theme=light] .stamp-thread-info{background:#fff8f1}@media (width<=1000px){#stampTool .stage-panel{min-height:620px}}button,.dropzone,.field input,.field select,#cutterTool textarea,#stencilTool textarea,#stampTool textarea{transition:border-color .14s,background-color .14s,color .14s,box-shadow .14s,opacity .14s,transform 80ms,filter .14s}button:not(:disabled){cursor:pointer}button:not(:disabled):active{transform:translateY(1px)scale(.985)}button:disabled,.icon-button:disabled,.segmented button:disabled,.view-tabs button:disabled{filter:saturate(.45);opacity:.36!important;cursor:not-allowed!important;transform:none!important}.segmented button:not(.active):not(:disabled):hover,.view-tabs button:not(.active):not(:disabled):hover{background:color-mix(in srgb,var(--panel-2) 75%,var(--text) 5%);color:var(--text)}.stage-actions .icon-button:hover:not(:disabled){border-color:color-mix(in srgb,var(--accent) 60%,var(--line));color:var(--text);background:color-mix(in srgb,var(--panel-2) 80%,var(--accent) 10%);transform:translateY(-1px)}.stage-actions .icon-button:active:not(:disabled){transform:translateY(0)scale(.94)}.stage-actions .icon-button.active,.stage-actions .icon-button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#17100b;box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 22%,transparent),0 4px 16px color-mix(in srgb,var(--accent) 24%,transparent)}.stage-actions .icon-button.active:hover,.stage-actions .icon-button[aria-pressed=true]:hover{background:var(--accent-2);color:#17100b}.stage-actions .icon-button:disabled:after{display:none}.stage.is-loading canvas{filter:saturate(.72)brightness(.72);opacity:.58;transition:filter .16s,opacity .16s}.stage:not(.is-loading) canvas{transition:filter .18s,opacity .18s}.stage.is-loading:before{content:"";z-index:2;pointer-events:none;background:linear-gradient(105deg,#0000 34%,#ffffff0b 47%,#ffffff17 50%,#ffffff0b 53%,#0000 66%) 0 0/220% 100%;animation:1.15s linear infinite viewer-shimmer;position:absolute;inset:0}.stage-message.loading{z-index:7;color:var(--text);border-color:color-mix(in srgb,var(--accent) 34%,var(--line));align-items:center;gap:9px;display:flex;box-shadow:0 8px 28px #00000038}.stage-message.loading:before{content:"";border:2px solid color-mix(in srgb,var(--accent) 28%,var(--line));border-top-color:var(--accent);border-radius:50%;flex:none;width:15px;height:15px;animation:.72s linear infinite viewer-spin}@keyframes viewer-spin{to{transform:rotate(360deg)}}@keyframes viewer-shimmer{to{background-position:-220% 0}}html[data-theme=light] .stage.is-loading:before{background:linear-gradient(105deg,#0000 34%,#ffffff2e 47%,#ffffff6b 50%,#ffffff2e 53%,#0000 66%) 0 0/220% 100%}#rollerTool textarea{resize:vertical;border:1px solid var(--line);width:100%;min-height:78px;color:var(--text);background:#181e26;border-radius:8px;outline:none;padding:9px 10px;line-height:1.4}#rollerTool textarea:focus{border-color:#657487;box-shadow:0 0 0 2px #ffffff0b}.roller-preview{border:1px solid var(--line);background:#151a21;border-radius:10px;height:150px;margin-top:12px;overflow:hidden}.roller-preview canvas{width:100%;height:100%;display:block}.roller-profile-info,.roller-pattern-info{border:1px solid var(--line);color:var(--muted);border-radius:9px;margin-top:10px;padding:10px 11px;font-size:10px;line-height:1.55}.roller-profile-info{background:#b89cff11}.roller-pattern-info{background:#38bdf80d}.roller-profile-info strong,.roller-pattern-info strong{color:var(--text);margin-bottom:3px;font-size:11px;display:block}.roller-profile-info div{color:#beaaff;margin-top:4px}html[data-theme=light] #rollerTool textarea{color:#15181d;background:#fff}html[data-theme=light] .roller-preview{background:#f8fafc}html[data-theme=light] .roller-profile-info{background:#faf7ff}html[data-theme=light] .roller-pattern-info{background:#f4fbff}@media (width<=1000px){#rollerTool .stage-panel{min-height:620px}.studio-tool-tabs{flex-wrap:wrap;justify-content:center;max-width:520px}}:root{--inspector-w:380px;--export-w:284px;--surface-0:#151a21;--surface-1:#1b222b;--surface-2:#222b36;--shadow:0 14px 36px #0000002e;--accent-embosser:#ff7a1a;--accent-embosser-soft:#ffb26b;--accent-cutter:#339af0;--accent-cutter-soft:#74c0fc;--accent-stencil:#14b8a6;--accent-stencil-soft:#5eead4;--accent-stamp:#f43f5e;--accent-stamp-soft:#fb7185;--accent-roller:#8b5cf6;--accent-roller-soft:#c4b5fd;--accent-mold:#84cc16;--accent-mold-soft:#bef264;--accent-relief:#eab308;--accent-relief-soft:#fde047;--accent-extrude:#06b6d4;--accent-extrude-soft:#67e8f9}html[data-active-tool=embosser]{--tool-accent:var(--accent-embosser);--tool-accent-soft:var(--accent-embosser-soft)}html[data-active-tool=cutter]{--tool-accent:var(--accent-cutter);--tool-accent-soft:var(--accent-cutter-soft)}html[data-active-tool=stencil]{--tool-accent:var(--accent-stencil);--tool-accent-soft:var(--accent-stencil-soft)}html[data-active-tool=stamp]{--tool-accent:var(--accent-stamp);--tool-accent-soft:var(--accent-stamp-soft)}html[data-active-tool=roller]{--tool-accent:var(--accent-roller);--tool-accent-soft:var(--accent-roller-soft)}html[data-active-tool=mold]{--tool-accent:var(--accent-mold);--tool-accent-soft:var(--accent-mold-soft)}html[data-active-tool=relief]{--tool-accent:var(--accent-relief);--tool-accent-soft:var(--accent-relief-soft)}html[data-active-tool=extrude]{--tool-accent:var(--accent-extrude);--tool-accent-soft:var(--accent-extrude-soft)}html{--accent:var(--tool-accent,#ff7a1a);--accent-2:var(--tool-accent-soft,#ffb26b)}body{background:var(--bg);overflow:hidden}.topbar{background:color-mix(in srgb,var(--panel) 90%,transparent);border-color:color-mix(in srgb,var(--line) 76%,transparent);z-index:20;height:70px;padding:0 20px;box-shadow:0 1px #ffffff06}.topbar h1{font-size:17px}.topbar p{font-size:11px}.history-actions{background:var(--panel-2);border:1px solid var(--line);border-radius:10px;gap:4px;padding:3px;display:flex}.header-icon-btn,.modern-icon-btn,.param-reset,.section-collapse,.section-reset,.preview-expand,.export-collapse-btn{color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}.header-icon-btn{border-radius:7px;width:28px;height:26px}.header-icon-btn:hover:not(:disabled){background:color-mix(in srgb,var(--tool-accent) 13%,transparent);color:var(--text)}.header-icon-btn:disabled{opacity:.3}.ui-icon{stroke-width:1.8px;width:15px;height:15px}.studio-tool-tabs{background:color-mix(in srgb,var(--panel-2) 94%,transparent);border-radius:12px;gap:4px;padding:4px;box-shadow:0 8px 24px #00000014}.studio-tool-tabs button{border-radius:8px;align-items:center;gap:7px;padding:7px 12px;transition:all .14s;display:flex}.tool-tab-icon{stroke-width:1.8px;width:15px;height:15px}.workspace{--inspector-w:380px;--export-w:284px;grid-template-columns:var(--inspector-w) minmax(480px,1fr) var(--export-w);background:var(--bg);height:calc(100vh - 70px);min-height:0;transition:grid-template-columns .18s;overflow:hidden}.controls,.export-panel{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--line) 90%,transparent) transparent;background:color-mix(in srgb,var(--panel) 97%,transparent);height:calc(100vh - 70px);max-height:none;padding:14px 16px;position:relative;top:auto;overflow:auto}.export-panel{border-left:1px solid color-mix(in srgb,var(--line) 78%,transparent);gap:18px;padding-top:54px}.export-collapse-btn{border:1px solid var(--line);background:var(--panel-2);z-index:2;border-radius:8px;width:30px;height:30px;position:absolute;top:12px;left:12px}.export-collapse-btn:hover{color:var(--text);border-color:color-mix(in srgb,var(--tool-accent) 55%,var(--line))}.export-collapsed .export-panel>:not(.export-collapse-btn){display:none}.export-collapsed .export-collapse-btn{left:7px}.panel-resizer{z-index:18;cursor:col-resize;width:8px;height:100%;position:absolute;top:0;right:-4px}.panel-resizer:after{content:"";background:0 0;border-radius:2px;width:2px;height:34px;transition:all .14s;position:absolute;top:46%;left:3px}.panel-resizer:hover:after,.is-resizing .panel-resizer:after{background:var(--tool-accent)}.is-resizing{cursor:col-resize!important;-webkit-user-select:none!important;user-select:none!important}.control-section{border:1px solid color-mix(in srgb,var(--line) 68%,transparent);background:color-mix(in srgb,var(--panel-2) 58%,transparent);border-radius:12px;margin:0 0 10px;padding:0;overflow:hidden}.modern-section-heading{cursor:default;border-bottom:1px solid color-mix(in srgb,var(--line) 56%,transparent);gap:5px;min-height:44px;padding:0 10px 0 12px}.modern-section-heading h2{letter-spacing:.005em;align-items:center;gap:7px;margin:0;font-size:12px;display:flex}.section-count{background:color-mix(in srgb,var(--tool-accent) 13%,transparent);min-width:20px;height:18px;color:var(--tool-accent);border-radius:99px;place-items:center;padding:0 6px;font-size:9px;font-weight:700;display:inline-grid}.section-collapse{order:99}.section-reset{margin-left:auto}.section-collapse:hover,.section-reset:hover{background:color-mix(in srgb,var(--tool-accent) 10%,transparent);color:var(--text)}.section-collapse svg{transition:transform .16s}.modern-section.is-collapsed .section-collapse svg{transform:rotate(-90deg)}.modern-section.is-collapsed .section-body{display:none}.modern-section.is-collapsed .modern-section-heading{border-bottom:0}.advanced{border:1px solid var(--line);background:color-mix(in srgb,var(--panel-2) 52%,transparent);border-radius:12px;margin-bottom:10px;padding:12px}.advanced summary{font-size:12px}.field>span,.check-field span{font-size:10px;line-height:1.3}.field input[type=text],.field input[type=number],.field select{background:color-mix(in srgb,var(--surface-0) 96%,transparent);border-color:color-mix(in srgb,var(--line) 82%,transparent);border-radius:8px;height:34px;padding:0 9px;font-size:12px}.numeric-shell{align-items:center;min-width:0;display:flex;position:relative}.numeric-shell.has-unit>input[type=number]{padding-right:65px!important}.input-unit{color:var(--muted);pointer-events:none;font-variant-numeric:tabular-nums;font-size:9px;position:absolute;top:50%;right:30px;transform:translateY(-50%)}.param-reset{opacity:0;border-radius:6px;width:24px;height:24px;position:absolute;top:50%;right:4px;transform:translateY(-50%)}.numeric-shell:hover .param-reset,.numeric-shell:focus-within .param-reset{opacity:1}.param-reset:hover{background:var(--panel-2);color:var(--text)}.param-reset .ui-icon{width:12px;height:12px}.param-range{appearance:none;cursor:pointer;background:0 0;width:100%;height:18px;margin:4px 0 1px}.param-range::-webkit-slider-runnable-track{background:linear-gradient(90deg,var(--tool-accent) 0 var(--range-pct),color-mix(in srgb,var(--line) 78%,transparent) var(--range-pct) 100%);border-radius:99px;height:4px}.param-range::-webkit-slider-thumb{appearance:none;background:var(--text);border:3px solid var(--tool-accent);border-radius:50%;width:14px;height:14px;margin-top:-5px;box-shadow:0 1px 5px #0000003d}.param-range::-moz-range-track{background:color-mix(in srgb,var(--line) 78%,transparent);border-radius:99px;height:4px}.param-range::-moz-range-progress{background:var(--tool-accent);border-radius:99px;height:4px}.param-range::-moz-range-thumb{background:var(--text);border:3px solid var(--tool-accent);border-radius:50%;width:11px;height:11px}.param-range.safe-range{background:linear-gradient(90deg,#f8717114 0 var(--safe-a),#4ade801f var(--safe-a) var(--safe-b),#fbbf2414 var(--safe-b) 100%);border-radius:99px}.field small{line-height:1.35}.check-field{height:auto;min-height:30px}.segmented{border-radius:9px;margin-bottom:10px}.segmented button,.view-tabs button{padding:7px 9px;font-size:11px}.segmented button.active,.view-tabs button.active{background:color-mix(in srgb,var(--tool-accent) 15%,var(--panel-2));color:var(--text);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tool-accent) 35%,transparent)}.mini-step-segments{border:1px solid var(--line);background:var(--surface-0);border-radius:9px;grid-template-columns:repeat(auto-fit,minmax(34px,1fr));gap:4px;padding:3px;display:grid}.mini-step-segments button{height:30px;color:var(--muted);background:0 0;border:0;border-radius:6px;font-size:11px}.mini-step-segments button.active{background:color-mix(in srgb,var(--tool-accent) 17%,var(--panel-2));color:var(--text);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tool-accent) 38%,transparent)}.visually-hidden-control{opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important;position:absolute!important}.numeric-stepper{border:1px solid var(--line);background:var(--surface-0);border-radius:8px;grid-template-columns:34px 1fr 34px;align-items:center;height:34px;display:grid;overflow:hidden}.numeric-stepper button{height:100%;color:var(--muted);background:0 0;border:0}.numeric-stepper button:hover{background:var(--panel-2);color:var(--text)}.numeric-stepper span{text-align:center;font-variant-numeric:tabular-nums;font-size:12px;font-weight:700}.dropzone{background:color-mix(in srgb,var(--surface-0) 94%,transparent);border-radius:9px;height:76px}.compact-preview{transition:height .18s;position:relative!important}.preview-strip.compact-preview,.roller-preview.compact-preview{height:98px}.cutter-trace-grid.compact-preview{max-height:130px;overflow:hidden}.compact-preview.is-expanded{max-height:none;height:210px!important}.preview-expand{border:1px solid var(--line);background:color-mix(in srgb,var(--panel) 88%,transparent);z-index:4;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);border-radius:7px;width:27px;height:27px;position:absolute!important;top:7px!important;right:7px!important}.preview-expand:hover{color:var(--text);border-color:var(--tool-accent)}.stage-panel{background:linear-gradient(180deg,color-mix(in srgb,var(--panel-2) 84%,#10161d) 0%,color-mix(in srgb,var(--bg) 86%,#17202a) 100%);height:calc(100vh - 70px);min-height:0;position:relative}.stage-toolbar{background:color-mix(in srgb,var(--panel) 55%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);flex:0 0 48px;height:48px}.stage{background:radial-gradient(circle at 50% 38%,color-mix(in srgb,var(--panel-2) 55%,transparent),transparent 55%);flex:1;min-height:0}.viewer-hud{z-index:5;background:color-mix(in srgb,var(--panel) 82%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);min-height:52px;box-shadow:var(--shadow);border-radius:12px;position:absolute;bottom:14px;left:14px;right:14px;overflow:hidden;border:1px solid color-mix(in srgb,var(--line) 74%,transparent)!important;height:auto!important}.viewer-hud>div{padding:10px 12px!important}.viewer-hud span{margin-bottom:4px!important;font-size:8px!important}.validation-hud{z-index:5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);max-width:320px;position:absolute;bottom:78px;left:14px;box-shadow:0 8px 22px #0000001f;border:1px solid color-mix(in srgb,#54d88b 25%,var(--line))!important;background:color-mix(in srgb,var(--panel) 82%,transparent)!important;border-radius:10px!important;padding:8px 10px!important}.validation-hud .validation-icon{width:18px;height:18px;font-size:10px}.validation-hud strong{font-size:10px}.validation-hud p{display:none}.cutter-dimensions{flex:none}.stage-actions .icon-button{background:color-mix(in srgb,var(--panel) 78%,transparent);border-color:color-mix(in srgb,var(--line) 80%,transparent);border-radius:9px;width:34px;min-width:34px;height:34px;box-shadow:0 5px 18px #0000001f}.stage-actions .icon-button.active,.stage-actions .icon-button[aria-pressed=true]{background:var(--tool-accent);border-color:var(--tool-accent)}.c-view-note{bottom:82px}.export-panel h2{font-size:14px}.export-panel p{font-size:10px}.export-button{background:color-mix(in srgb,var(--panel-2) 72%,transparent);border-radius:10px;padding:10px 11px}.export-button.primary{background:color-mix(in srgb,var(--tool-accent) 92%,white 8%);border-color:var(--tool-accent)}.export-button:hover{border-color:color-mix(in srgb,var(--tool-accent) 45%,var(--line))}.export-meta{gap:7px 9px;font-size:9px}.panel-label{font-size:9px}.roller-wall-viz{border:1px solid var(--line);background:color-mix(in srgb,var(--panel-2) 50%,transparent);border-radius:10px;grid-template-columns:70px 1fr;align-items:center;gap:10px;margin-top:10px;padding:10px;display:grid}.roller-wall-viz .ring{background:var(--tool-accent);border-radius:50%;width:58px;height:58px;position:relative;box-shadow:inset 0 0 0 1px #ffffff1f}.roller-wall-viz .ring i{width:var(--hole);height:var(--hole);background:var(--panel);box-shadow:inset 0 0 0 1px var(--line);border-radius:50%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.roller-wall-viz>div:last-child{color:var(--muted);flex-direction:column;gap:5px;font-size:9px;display:flex}.roller-wall-viz b{float:right;color:var(--text);font-variant-numeric:tabular-nums}.hinge-info,.magnet-info,.stencil-profile-info,.stencil-bridge-info,.stamp-profile-info,.stamp-thread-info,.roller-profile-info,.roller-pattern-info,.mold-info,.food-note{background:color-mix(in srgb,var(--panel-2) 60%,transparent);border-color:color-mix(in srgb,var(--line) 76%,transparent);border-radius:10px}html[data-theme=light]{--surface-0:#f8fafc;--surface-1:#f2f5f8;--surface-2:#eaf0f5;--shadow:0 14px 34px #2a374b1f}html[data-theme=light] .control-section{background:#fbfcfd}html[data-theme=light] .viewer-hud,html[data-theme=light] .validation-hud{background:#ffffffd6}@media (width<=1260px){.workspace{--inspector-w:340px;--export-w:250px}.controls,.export-panel{padding-left:12px;padding-right:12px}.studio-tool-tabs button{gap:5px;padding:7px 9px}.tool-tab-icon{width:14px;height:14px}}@media (width<=1000px){body{overflow:auto}.topbar{flex-wrap:wrap;height:auto;min-height:70px;padding:10px 14px}.workspace{height:auto;display:flex;overflow:visible}.controls,.export-panel,.stage-panel{height:auto;max-height:none}.controls,.export-panel{overflow:visible}.export-collapsed .export-panel>:not(.export-collapse-btn){display:initial}.export-collapse-btn,.panel-resizer{display:none}.stage-panel{min-height:650px}.viewer-hud{position:absolute}.studio-tool-tabs{order:3;justify-content:center;width:100%;margin:8px 0 0;position:static;transform:none}.history-actions{display:none}}.quick-presets{border:1px solid color-mix(in srgb,var(--line) 72%,transparent);background:color-mix(in srgb,var(--panel-2) 52%,transparent);border-radius:11px;flex-wrap:wrap;align-items:center;gap:5px;margin:0 0 10px;padding:8px 9px;display:flex}.quick-presets>span{text-transform:uppercase;letter-spacing:.07em;color:var(--muted);margin-right:2px;font-size:9px}.quick-presets button{border:1px solid var(--line);background:var(--surface-0);height:27px;color:var(--muted);border-radius:7px;padding:0 8px;font-size:9px}.quick-presets button:hover{color:var(--text);border-color:color-mix(in srgb,var(--tool-accent) 48%,var(--line));background:color-mix(in srgb,var(--tool-accent) 8%,var(--surface-0))}.scrub-label{cursor:ew-resize;-webkit-user-select:none;user-select:none}.scrub-label:after{content:"↔";opacity:0;color:var(--tool-accent);margin-left:auto;font-size:8px;transition:opacity .12s}.scrub-label:hover:after,.scrub-label.is-scrubbing:after{opacity:.8}.scrub-label.is-scrubbing{color:var(--text)!important}.offset-pad-wrap{border:1px solid var(--line);background:color-mix(in srgb,var(--panel-2) 45%,transparent);border-radius:10px;margin-top:9px;padding:9px}.offset-pad-label{color:var(--muted);justify-content:space-between;align-items:center;margin-bottom:7px;font-size:9px;display:flex}.offset-pad-label b{color:var(--tool-accent);font-weight:600}.offset-pad{border:1px solid color-mix(in srgb,var(--line) 84%,transparent);background:linear-gradient(90deg,transparent 49.5%,color-mix(in srgb,var(--line) 70%,transparent) 49.5% 50.5%,transparent 50.5%),linear-gradient(0deg,transparent 49.5%,color-mix(in srgb,var(--line) 70%,transparent) 49.5% 50.5%,transparent 50.5%),var(--surface-0);cursor:crosshair;border-radius:8px;height:72px;position:relative;overflow:hidden}.offset-pad i{background:var(--text);border:3px solid var(--tool-accent);pointer-events:none;border-radius:50%;width:14px;height:14px;position:absolute;transform:translate(-50%,-50%);box-shadow:0 2px 8px #00000040}.offset-pad:before,.offset-pad:after{color:var(--muted);pointer-events:none;font-size:8px;position:absolute}.offset-pad:before{content:"X";top:50%;right:5px;transform:translateY(-50%)}.offset-pad:after{content:"Y";top:3px;left:50%;transform:translate(-50%)}.kernel-state{display:none!important}.app-brand{grid-template-rows:auto auto;grid-template-columns:34px auto;align-items:center;column-gap:10px;display:grid}.app-brand-mark{background:color-mix(in srgb,var(--tool-accent) 14%,var(--panel-2));border:1px solid color-mix(in srgb,var(--tool-accent) 26%,var(--line));width:34px;height:34px;color:var(--tool-accent);border-radius:10px;grid-row:1/3;place-items:center;display:grid;box-shadow:inset 0 1px #ffffff0d}.app-brand-icon{stroke-width:1.8px;width:19px;height:19px}.app-brand h1,.app-brand p{grid-column:2;margin-left:0}.brand-title-row{align-items:center;gap:8px;min-width:0;display:flex}.brand-copy{min-width:0}.version-badge{border:1px solid color-mix(in srgb,var(--tool-accent) 42%,var(--line));background:color-mix(in srgb,var(--tool-accent) 11%,transparent);height:20px;color:var(--tool-accent);letter-spacing:.035em;font-variant-numeric:tabular-nums;white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;padding:0 7px;font-size:9px;font-weight:800;transition:color .16s,border-color .16s,background .16s;display:inline-flex}.topbar .brand-title-row h1{margin:0}.app-brand .brand-copy{grid-area:1/2/3}.app-brand .brand-copy h1,.app-brand .brand-copy p{grid-column:auto}.theme-toggle{border-radius:9px;place-items:center;width:34px;height:34px;display:grid;position:relative;padding:0!important}.theme-toggle .stage-icon{width:17px;height:17px}.theme-toggle:after{content:attr(data-label);border:1px solid var(--line);background:var(--panel);color:var(--text);white-space:nowrap;opacity:0;visibility:hidden;box-shadow:var(--shadow);pointer-events:none;border-radius:7px;padding:6px 8px;font-size:10px;transition:all .12s;position:absolute;top:calc(100% + 8px);right:0;transform:translateY(-3px)}.theme-toggle:hover:after,.theme-toggle:focus-visible:after{opacity:1;visibility:visible;transform:none}#studioToolTabs [data-tool=embosser]{--tab-accent:var(--accent-embosser);--tab-ink:#201006}#studioToolTabs [data-tool=cutter]{--tab-accent:var(--accent-cutter);--tab-ink:#071724}#studioToolTabs [data-tool=stencil]{--tab-accent:var(--accent-stencil);--tab-ink:#061c19}#studioToolTabs [data-tool=stamp]{--tab-accent:var(--accent-stamp);--tab-ink:#24080e}#studioToolTabs [data-tool=roller]{--tab-accent:var(--accent-roller);--tab-ink:#160d2b}#studioToolTabs [data-tool=mold]{--tab-accent:var(--accent-mold);--tab-ink:#132005}#studioToolTabs [data-tool=relief]{--tab-accent:var(--accent-relief);--tab-ink:#211903}#studioToolTabs [data-tool=extrude]{--tab-accent:var(--accent-extrude);--tab-ink:#06242b}.studio-tool-tabs button:not(.active) .tool-tab-icon{color:color-mix(in srgb,var(--tab-accent) 70%,var(--muted))}.studio-tool-tabs button.active .tool-tab-icon{color:currentColor}.stage-toolbar{display:none!important}.viewer-view-tabs{z-index:9;border:1px solid color-mix(in srgb,var(--line) 82%,transparent);background:color-mix(in srgb,var(--panel) 82%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:10px;gap:2px;padding:3px;display:flex;position:absolute;top:12px;left:50%;transform:translate(-50%);box-shadow:0 6px 18px #00000021;margin:0!important}.viewer-view-tabs button{color:var(--muted);background:0 0;border:0;border-radius:7px;padding:7px 10px;font-size:11px}.viewer-view-tabs button:hover:not(:disabled){color:var(--text);background:color-mix(in srgb,var(--tool-accent) 9%,transparent)}.viewer-view-tabs button.active{background:color-mix(in srgb,var(--tool-accent) 18%,var(--panel-2));color:var(--text);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tool-accent) 40%,transparent)}.stage-actions{top:12px!important;left:12px!important}.navigation-cube{top:-22px!important;right:-22px!important}.navigation-cube canvas{transform:none!important}.export-dimensions{background:color-mix(in srgb,var(--panel-2) 56%,transparent);border-radius:10px;margin-top:2px;overflow:hidden;border:1px solid color-mix(in srgb,var(--line) 78%,transparent)!important;grid-template-columns:1fr!important;display:grid!important}.export-dimensions>div{border:0!important;border-bottom:1px solid color-mix(in srgb,var(--line) 68%,transparent)!important;padding:9px 10px!important}.export-dimensions>div:last-child{border-bottom:0!important}.export-dimensions span{letter-spacing:.07em;color:var(--muted);font-size:8px!important}.export-dimensions strong{color:var(--text);line-height:1.35;white-space:normal!important;font-size:10px!important}.export-dimensions:before{content:"Exact dimensions";text-transform:uppercase;letter-spacing:.08em;color:var(--muted);border-bottom:1px solid color-mix(in srgb,var(--line) 68%,transparent);padding:9px 10px 7px;font-size:9px;font-weight:700;display:block}html[data-theme=light]{--accent-embosser:#c95700;--accent-embosser-soft:#f29a54;--accent-cutter:#1d4ed8;--accent-cutter-soft:#60a5fa;--accent-stencil:#0f766e;--accent-stencil-soft:#2dd4bf;--accent-stamp:#be123c;--accent-stamp-soft:#fb7185;--accent-roller:#6d28d9;--accent-roller-soft:#a78bfa;--accent-mold:#4d7c0f;--accent-mold-soft:#84cc16;--accent-relief:#a16207;--accent-relief-soft:#eab308;--accent-extrude:#0e7490;--accent-extrude-soft:#22d3ee}html[data-theme=light][data-active-tool=embosser]{--tool-accent:var(--accent-embosser);--tool-accent-soft:var(--accent-embosser-soft);--tool-accent-ink:#fff}html[data-theme=light][data-active-tool=cutter]{--tool-accent:var(--accent-cutter);--tool-accent-soft:var(--accent-cutter-soft);--tool-accent-ink:#fff}html[data-theme=light][data-active-tool=stencil]{--tool-accent:var(--accent-stencil);--tool-accent-soft:var(--accent-stencil-soft);--tool-accent-ink:#fff}html[data-theme=light][data-active-tool=stamp]{--tool-accent:var(--accent-stamp);--tool-accent-soft:var(--accent-stamp-soft);--tool-accent-ink:#fff}html[data-theme=light][data-active-tool=roller]{--tool-accent:var(--accent-roller);--tool-accent-soft:var(--accent-roller-soft);--tool-accent-ink:#fff}html[data-theme=light][data-active-tool=mold]{--tool-accent:var(--accent-mold);--tool-accent-soft:var(--accent-mold-soft);--tool-accent-ink:#fff}html[data-theme=light][data-active-tool=relief]{--tool-accent:var(--accent-relief);--tool-accent-soft:var(--accent-relief-soft);--tool-accent-ink:#fff}html[data-theme=light][data-active-tool=extrude]{--tool-accent:var(--accent-extrude);--tool-accent-soft:var(--accent-extrude-soft);--tool-accent-ink:#fff}html:not([data-theme=light]){--tool-accent-ink:#17100b}html[data-theme=light] #studioToolTabs [data-tool=embosser]{--tab-accent:var(--accent-embosser);--tab-ink:#fff}html[data-theme=light] #studioToolTabs [data-tool=cutter]{--tab-accent:var(--accent-cutter);--tab-ink:#fff}html[data-theme=light] #studioToolTabs [data-tool=stencil]{--tab-accent:var(--accent-stencil);--tab-ink:#fff}html[data-theme=light] #studioToolTabs [data-tool=stamp]{--tab-accent:var(--accent-stamp);--tab-ink:#fff}html[data-theme=light] #studioToolTabs [data-tool=roller]{--tab-accent:var(--accent-roller);--tab-ink:#fff}html[data-theme=light] #studioToolTabs [data-tool=mold]{--tab-accent:var(--accent-mold);--tab-ink:#fff}html[data-theme=light] #studioToolTabs [data-tool=relief]{--tab-accent:var(--accent-relief);--tab-ink:#fff}html[data-theme=light] #studioToolTabs [data-tool=extrude]{--tab-accent:var(--accent-extrude);--tab-ink:#fff}.export-button.primary,.stage-actions .icon-button.active,.stage-actions .icon-button[aria-pressed=true]{color:var(--tool-accent-ink,#17100b)!important}.validation-icon{background:color-mix(in srgb,var(--tool-accent) 15%,transparent);color:var(--tool-accent)}html[data-theme=light]{--bg:#edf2f7;--panel:#fff;--panel-2:#f4f7fa;--line:#c9d3df;--muted:#5f6d80;--text:#111827;color:#111827;background:#edf2f7}html[data-theme=light] body{color:#111827;background:#edf2f7}html[data-theme=light] .topbar{background:#fffffff5;border-color:#d6dee8;box-shadow:0 1px 8px #28374b0f}html[data-theme=light] .topbar p,html[data-theme=light] .hint,html[data-theme=light] .field>span,html[data-theme=light] .check-field span,html[data-theme=light] .field small,html[data-theme=light] .panel-label,html[data-theme=light] .export-panel p,html[data-theme=light] .export-meta span,html[data-theme=light] .quick-presets>span,html[data-theme=light] .offset-pad-label{color:#5b687a}html[data-theme=light] .modern-section-heading h2,html[data-theme=light] .food-note strong,html[data-theme=light] .hinge-info strong,html[data-theme=light] .magnet-info strong,html[data-theme=light] .stencil-profile-info strong,html[data-theme=light] .stamp-profile-info strong,html[data-theme=light] .stamp-thread-info strong,html[data-theme=light] .roller-profile-info strong,html[data-theme=light] .roller-pattern-info strong{color:#182230}html[data-theme=light] .field input[type=text],html[data-theme=light] .field input[type=number],html[data-theme=light] .field select,html[data-theme=light] textarea,html[data-theme=light] #cutterTool textarea,html[data-theme=light] #stencilTool textarea,html[data-theme=light] #stampTool textarea,html[data-theme=light] #rollerTool textarea{color:#111827!important;background:#fff!important;border-color:#cbd5e1!important}html[data-theme=light] input::placeholder,html[data-theme=light] textarea::placeholder{opacity:1;color:#8a98aa!important}html[data-theme=light] .input-unit{color:#66758a}html[data-theme=light] .numeric-shell,html[data-theme=light] .mini-step-segments,html[data-theme=light] .numeric-stepper,html[data-theme=light] .quick-presets button{background:#fff}html[data-theme=light] .numeric-stepper,html[data-theme=light] .mini-step-segments,html[data-theme=light] .quick-presets button{color:#334155;border-color:#ccd6e2}html[data-theme=light] .numeric-stepper button,html[data-theme=light] .mini-step-segments button{color:#526174}html[data-theme=light] .numeric-stepper button:hover,html[data-theme=light] .mini-step-segments button:hover{color:#111827;background:#eef3f7}html[data-theme=light] .segmented,html[data-theme=light] .view-tabs,html[data-theme=light] .viewer-view-tabs{background:#fffffff0;border-color:#cbd5e1}html[data-theme=light] .segmented button,html[data-theme=light] .view-tabs button,html[data-theme=light] .viewer-view-tabs button{color:#556376}html[data-theme=light] .segmented button.active,html[data-theme=light] .view-tabs button.active,html[data-theme=light] .viewer-view-tabs button.active,html[data-theme=light] .mini-step-segments button.active{color:#172033;background:color-mix(in srgb,var(--tool-accent) 12%,#fff);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tool-accent) 34%,#cbd5e1)}html[data-theme=light] .stage-actions .icon-button{color:#405067;background:#ffffffe6;border-color:#c7d2df;box-shadow:0 4px 16px #37465a17}html[data-theme=light] .stage-actions .icon-button:hover:not(:disabled){color:#111827;background:#fff}html[data-theme=light] .viewer-hud,html[data-theme=light] .validation-hud{color:#111827;background:#ffffffe8!important;border-color:#cbd5e1!important}html[data-theme=light] .viewer-hud span{color:#637186!important}html[data-theme=light] .viewer-hud strong,html[data-theme=light] .validation-hud strong{color:#172033!important}html[data-theme=light] .c-view-note{color:#526174;background:#ffffffe6;border-color:#cbd5e1}html[data-theme=light] .export-button{color:#172033;background:#fff;border-color:#ccd6e2}html[data-theme=light] .export-button small{color:#64748b}html[data-theme=light] .export-button.primary{background:var(--tool-accent)!important;border-color:var(--tool-accent)!important;color:#fff!important}html[data-theme=light] .export-button.primary small{color:#fffc!important}html[data-theme=light] .export-meta strong,html[data-theme=light] .export-dimensions strong{color:#172033}html[data-theme=light] .export-dimensions{background:#fff;border-color:#d2dbe5!important}html[data-theme=light] .food-note,html[data-theme=light] .hinge-info,html[data-theme=light] .magnet-info,html[data-theme=light] .stencil-profile-info,html[data-theme=light] .stencil-bridge-info,html[data-theme=light] .stamp-profile-info,html[data-theme=light] .stamp-thread-info,html[data-theme=light] .roller-profile-info,html[data-theme=light] .roller-pattern-info,html[data-theme=light] .mold-info{color:#5b687a;background:#f7f9fc;border-color:#d3dce6}html[data-theme=light] .dropzone,html[data-theme=light] .preview-strip,html[data-theme=light] .roller-preview,html[data-theme=light] .cutter-trace-grid>div{background:#fff;border-color:#cbd5e1}html[data-theme=light] .preview-expand,html[data-theme=light] .export-collapse-btn,html[data-theme=light] .theme-toggle,html[data-theme=light] .history-actions{color:#405067;background:#fff;border-color:#cbd5e1}html[data-theme=light] .theme-toggle:hover,html[data-theme=light] .export-collapse-btn:hover{color:#111827;background:#f8fafc}html[data-theme=light] .offset-pad,html[data-theme=light] .roller-wall-viz{background:#fff;border-color:#d3dce6}html[data-theme=light] .roller-wall-viz .ring i{background:#fff;border-color:#cbd5e1}html[data-theme=light] .section-count{background:color-mix(in srgb,var(--tool-accent) 11%,#fff);color:var(--tool-accent)}html[data-theme=light] button:disabled,html[data-theme=light] .icon-button:disabled{opacity:.48!important;color:#7b8797!important}@media (width<=1000px){.app-brand{grid-template-columns:30px auto;column-gap:8px}.app-brand-mark{border-radius:9px;width:30px;height:30px}.app-brand-icon{width:17px;height:17px}.viewer-view-tabs{top:10px}.stage-actions{top:10px!important;left:10px!important}.navigation-cube{top:-19px!important;right:-19px!important}.theme-toggle{width:32px;height:32px}.export-dimensions{margin-top:8px}}html[data-active-tool]{--accent:var(--tool-accent)!important;--accent-2:var(--tool-accent-soft)!important}.subsection-title{text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:14px 0 4px;font-size:10px}@media (width<=1450px){.studio-tool-tabs button{gap:5px;padding:7px 8px;font-size:10px}}:root{--accent-casting:#d946ef;--accent-casting-soft:#f0abfc}html[data-active-tool=casting]{--tool-accent:var(--accent-casting);--tool-accent-soft:var(--accent-casting-soft)}#studioToolTabs [data-tool=casting]{--tab-accent:var(--accent-casting);--tab-ink:#26072b}html[data-theme=light]{--accent-casting:#a21caf;--accent-casting-soft:#e879f9}html[data-theme=light][data-active-tool=casting]{--tool-accent:var(--accent-casting);--tool-accent-soft:var(--accent-casting-soft);--tool-accent-ink:#fff}html[data-theme=light] #studioToolTabs [data-tool=casting]{--tab-accent:var(--accent-casting);--tab-ink:#fff}:root{--accent-pottery:#c08457;--accent-pottery-soft:#e7b68f}html[data-active-tool=pottery]{--tool-accent:var(--accent-pottery);--tool-accent-soft:var(--accent-pottery-soft)}#studioToolTabs [data-tool=pottery]{--tab-accent:var(--accent-pottery);--tab-ink:#21140d}html[data-theme=light]{--accent-pottery:#9a5b32;--accent-pottery-soft:#d39a72}html[data-theme=light][data-active-tool=pottery]{--tool-accent:var(--accent-pottery);--tool-accent-soft:var(--accent-pottery-soft);--tool-accent-ink:#fff}html[data-theme=light] #studioToolTabs [data-tool=pottery]{--tab-accent:var(--accent-pottery);--tab-ink:#fff}.split-editor-wrap{border:1px solid var(--line);background:color-mix(in srgb,var(--panel-2) 52%,transparent);border-radius:10px;margin-top:10px;padding:9px}.split-editor-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:7px;display:flex}.split-editor-head strong{color:var(--text);font-size:10px}.split-editor-head span{color:var(--muted);font-size:9px}#kSplitEditor{border:1px solid color-mix(in srgb,var(--line) 80%,transparent);cursor:ew-resize;touch-action:none;border-radius:8px;width:100%;height:150px;display:block}.mold-info{border:1px solid color-mix(in srgb,var(--line) 76%,transparent);background:color-mix(in srgb,var(--panel-2) 60%,transparent);color:var(--muted);border-radius:10px;flex-direction:column;gap:4px;margin-top:10px;padding:9px 10px;font-size:9px;display:flex}.mold-info strong{color:var(--text);font-size:10px}html[data-theme=light] .split-editor-wrap,html[data-theme=light] .mold-info{background:#f7f9fc;border-color:#d3dce6}.studio-tool-tabs{white-space:nowrap;scrollbar-width:none;max-width:min(66vw,920px);overflow:auto hidden;flex-wrap:nowrap!important}.studio-tool-tabs::-webkit-scrollbar{display:none}.studio-tool-tabs button{white-space:nowrap;flex:none}.modern-section-heading>.section-reset{overflow:hidden;font-size:0!important;line-height:0!important}.modern-section-heading>.section-reset .ui-icon{width:14px;height:14px}.modern-section-heading>.section-reset:after{display:none!important}.export-pane,.layers-pane{flex-direction:column;gap:18px;display:flex}.export-layer-tabs{grid-template-columns:1fr 1fr;margin:0}.layers-head h2{margin:0 0 6px;font-size:14px}.part-layer-list{flex-direction:column;gap:6px;display:flex}.part-layer-row{border:1px solid color-mix(in srgb,var(--line) 76%,transparent);background:color-mix(in srgb,var(--panel-2) 55%,transparent);border-radius:9px;grid-template-columns:30px minmax(0,1fr) 30px;align-items:center;gap:5px;min-height:38px;padding:3px 4px;transition:border-color .12s,background .12s;display:grid}.part-layer-row.selected{border-color:color-mix(in srgb,var(--tool-accent) 65%,var(--line));background:color-mix(in srgb,var(--tool-accent) 9%,var(--panel-2));box-shadow:inset 3px 0 0 var(--tool-accent)}.layer-icon-btn{width:28px;height:28px;color:var(--muted);background:0 0;border:0;border-radius:7px;place-items:center;display:grid}.layer-icon-btn:hover{background:color-mix(in srgb,var(--tool-accent) 10%,transparent);color:var(--text)}.layer-icon-btn .stage-icon{width:14px;height:14px}.part-layer-name{min-width:0;color:var(--text);text-align:left;white-space:nowrap;text-overflow:ellipsis;background:0 0;border:0;border-radius:6px;padding:6px 4px;font-size:10px;font-weight:650;overflow:hidden}.part-layer-name:hover{background:color-mix(in srgb,var(--tool-accent) 7%,transparent)}.layers-meta{color:var(--muted);padding-top:2px;font-size:9px}.layer-dxf-export{margin-top:2px}.xray-button.active{background:var(--tool-accent)!important;border-color:var(--tool-accent)!important;color:var(--tool-accent-ink,#17100b)!important}.stage canvas{touch-action:none}html[data-theme=light] .part-layer-row{background:#fff;border-color:#d3dce6}.part-layer-row.selected{background:color-mix(in srgb,var(--tool-accent) 8%,#fff)}@media (width<=1450px){.studio-tool-tabs{max-width:62vw}.studio-tool-tabs button{padding:7px!important;font-size:9.5px!important}}@media (width<=1000px){.studio-tool-tabs{max-width:100%;margin-top:7px;overflow-x:auto;justify-content:flex-start!important}.studio-tool-tabs button{flex:none}.export-pane,.layers-pane{gap:14px}}:root{--chrome-h:58px;--inspector-w:336px;--export-w:304px;--radius-window:18px;--radius-card:12px;--radius-control:8px;--swift-glass:#20242bad;--swift-glass-strong:#252a32db;--swift-sidebar:#1b1f26bd;--swift-separator:#ffffff13;--swift-elevated:#ffffff0b;--swift-hover:#ffffff12;--swift-control:#0c0f1385;--swift-shadow:0 16px 46px #0000003d;--swift-float-shadow:0 10px 30px #0003;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,SF Pro Display,Inter,system-ui,sans-serif}html:not([data-theme=light]){--bg:#111318;--panel:#1a1e24;--panel-2:#222730;--line:#ffffff18;--muted:#9aa3af;--text:#f5f7fa;--swift-glass:#23272fa8;--swift-glass-strong:#262b34e0;--swift-sidebar:#1c2027c2;--swift-control:#0b0e128a}html[data-theme=light]{--bg:#e9edf2;--panel:#f7f8fa;--panel-2:#eef1f5;--line:#141e2d1f;--muted:#667181;--text:#16191f;--swift-glass:#f9fafcb8;--swift-glass-strong:#fafbfde6;--swift-sidebar:#f5f7fac7;--swift-separator:#1b27381a;--swift-elevated:#ffffff94;--swift-hover:#ffffffb8;--swift-control:#ffffffb3;--swift-shadow:0 16px 44px #2b374821;--swift-float-shadow:0 10px 28px #313d4e24}body{background:linear-gradient(180deg,color-mix(in srgb,var(--bg) 88%,#75869c 12%),var(--bg));letter-spacing:-.003em;min-width:1080px;overflow:hidden}.app-shell{isolation:isolate;background:0 0;min-height:100vh}.topbar{grid-template-columns:auto minmax(180px,1fr) auto minmax(180px,1fr) auto;align-items:center;gap:12px;position:relative;top:auto;height:var(--chrome-h)!important;min-height:var(--chrome-h)!important;background:var(--swift-glass)!important;border-bottom:1px solid var(--swift-separator)!important;-webkit-backdrop-filter:saturate(165%)blur(30px)!important;padding:0 14px!important;display:grid!important;box-shadow:inset 0 1px #ffffff0f,0 1px 10px #0000000d!important}.window-controls{align-items:center;gap:8px;padding:0 4px 0 1px;display:flex}.traffic-light{border-radius:50%;width:12px;height:12px;box-shadow:inset 0 0 0 .5px #0000002e}.traffic-light.close{background:#ff5f57}.traffic-light.minimize{background:#febc2e}.traffic-light.zoom{background:#28c840}.app-brand,.brand-copy{min-width:0}.app-brand{grid-template-columns:28px minmax(0,auto)!important;column-gap:8px!important}.app-brand-mark{background:color-mix(in srgb,var(--tool-accent) 11%,var(--swift-elevated))!important;border-color:color-mix(in srgb,var(--tool-accent) 20%,var(--line))!important;width:28px!important;height:28px!important;box-shadow:none!important;border-radius:8px!important}.app-brand-icon{width:16px!important;height:16px!important}.brand-title-row{gap:6px!important}.topbar h1{white-space:nowrap;letter-spacing:-.012em!important;margin:0!important;font-size:13px!important;font-weight:650!important}.topbar p{white-space:nowrap;text-overflow:ellipsis;max-width:220px;line-height:1.15;overflow:hidden;margin:2px 0 0!important;font-size:9px!important}.version-badge{border-color:var(--line)!important;background:var(--swift-elevated)!important;height:17px!important;color:var(--muted)!important;letter-spacing:0!important;border-radius:5px!important;padding:0 5px!important;font-size:8px!important;font-weight:650!important}.studio-tool-tabs{-webkit-backdrop-filter:blur(18px)saturate(150%);backdrop-filter:blur(18px)saturate(150%);grid-column:3;justify-self:center;border:1px solid var(--swift-separator)!important;background:color-mix(in srgb,var(--swift-glass-strong) 76%,transparent)!important;border-radius:10px!important;gap:2px!important;max-width:min(58vw,850px)!important;margin:0!important;padding:3px!important;display:flex!important;position:static!important;left:auto!important;transform:none!important;box-shadow:inset 0 1px #ffffff0b!important}.studio-tool-tabs button{min-width:0;height:31px!important;color:var(--muted)!important;border-radius:7px!important;gap:5px!important;padding:0 9px!important;font-size:10px!important;font-weight:520!important;transition:background .14s,color .14s,box-shadow .14s!important}.studio-tool-tabs button .tool-tab-icon{color:currentColor!important;width:13px!important;height:13px!important}.studio-tool-tabs button:not(.active):hover{background:var(--swift-hover)!important;color:var(--text)!important}.topbar-actions{grid-column:5;justify-self:end;gap:6px!important}.theme-toggle{box-shadow:inset 0 1px #ffffff0a;border:1px solid var(--swift-separator)!important;background:var(--swift-elevated)!important;width:30px!important;height:30px!important;color:var(--text)!important;border-radius:8px!important}.history-actions{height:32px;border-color:var(--swift-separator)!important;background:var(--swift-elevated)!important;border-radius:8px!important;padding:2px!important}.header-icon-btn{width:28px!important;height:26px!important}.workspace{grid-template-columns:var(--inspector-w) minmax(480px,1fr) var(--export-w)!important;height:calc(100vh - var(--chrome-h))!important;background:0 0!important;min-height:0!important}.controls,.export-panel{-webkit-backdrop-filter:saturate(150%)blur(26px);scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--muted) 25%,transparent) transparent;height:calc(100vh - var(--chrome-h))!important;background:var(--swift-sidebar)!important;border-color:var(--swift-separator)!important;max-height:none!important;padding:12px!important}.controls{border-right:1px solid var(--swift-separator)!important}.export-panel{border-left:1px solid var(--swift-separator)!important;gap:14px!important;padding:50px 12px 14px!important}.controls:before{content:attr(aria-label);z-index:7;background:color-mix(in srgb,var(--swift-sidebar) 94%,transparent);-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);border-bottom:1px solid var(--swift-separator);color:var(--text);text-transform:none;letter-spacing:0;margin:-12px -12px 10px;padding:13px 13px 10px;font-size:11px;font-weight:650;display:block;position:sticky;top:-12px}.panel-resizer:after{width:1px;height:28px;left:2px}.export-collapse-btn{border-color:var(--swift-separator)!important;background:var(--swift-elevated)!important;width:28px!important;height:28px!important;box-shadow:none!important;border-radius:7px!important;top:11px!important;left:11px!important}.export-collapse-btn:hover{background:var(--swift-hover)!important;color:var(--text)!important}.control-section{overflow:hidden;border:1px solid var(--swift-separator)!important;background:color-mix(in srgb,var(--swift-elevated) 72%,transparent)!important;border-radius:11px!important;margin:0 0 9px!important;box-shadow:inset 0 1px #ffffff08!important}.modern-section-heading{border-bottom:1px solid var(--swift-separator)!important;background:color-mix(in srgb,var(--swift-elevated) 60%,transparent)!important;min-height:38px!important;padding:0 7px 0 10px!important}.modern-section-heading h2{gap:6px!important;font-size:11px!important;font-weight:620!important}.section-count{background:color-mix(in srgb,var(--tool-accent) 10%,transparent)!important;min-width:18px!important;height:16px!important;padding:0 5px!important;font-size:8px!important}.advanced{border-color:var(--swift-separator)!important;background:color-mix(in srgb,var(--swift-elevated) 58%,transparent)!important;border-radius:10px!important;padding:10px!important}.advanced summary{font-size:11px!important;font-weight:590!important}.field{gap:4px!important;margin-top:8px!important}.field>span,.check-field span{color:var(--muted)!important;font-size:9.5px!important;line-height:1.25!important}.field input[type=text],.field input[type=number],.field select,#cutterTool textarea,#stencilTool textarea,#stampTool textarea,#rollerTool textarea,textarea{height:31px;border:1px solid var(--swift-separator)!important;background:var(--swift-control)!important;min-height:31px!important;color:var(--text)!important;border-radius:7px!important;padding:0 8px!important;font-size:11px!important;box-shadow:inset 0 1px #ffffff06!important}.field select{padding-right:24px!important}.field input:focus,.field select:focus,textarea:focus{border-color:color-mix(in srgb,var(--tool-accent) 54%,var(--line))!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--tool-accent) 12%,transparent)!important;outline:0!important}.numeric-stepper{border-color:var(--swift-separator)!important;background:var(--swift-control)!important;border-radius:7px!important;height:31px!important}.numeric-stepper span{font-size:11px!important}.numeric-stepper button{width:auto!important}.param-reset{width:21px!important;height:21px!important;right:4px!important}.input-unit{font-size:8px!important;right:28px!important}.param-range{height:15px!important}.param-range::-webkit-slider-runnable-track{height:3px!important}.param-range::-webkit-slider-thumb{background:#fff!important;border-width:2px!important;width:12px!important;height:12px!important;margin-top:-4.5px!important}.two-col,.three-col{gap:7px!important}.check-field{min-height:28px!important;margin-top:20px!important}.compact-check{margin-top:7px!important}.segmented,.mini-step-segments{border:1px solid var(--swift-separator)!important;background:var(--swift-control)!important;border-radius:8px!important;padding:2px!important;box-shadow:inset 0 1px #ffffff06!important}.segmented button,.view-tabs button,.mini-step-segments button{min-height:27px!important;color:var(--muted)!important;border-radius:6px!important;padding:5px 8px!important;font-size:10px!important}.dropzone{border:1px dashed color-mix(in srgb,var(--muted) 30%,var(--line))!important;background:var(--swift-control)!important;border-radius:9px!important;height:68px!important}.dropzone:hover{background:var(--swift-hover)!important;border-color:color-mix(in srgb,var(--tool-accent) 46%,var(--line))!important}.dropzone strong{font-size:10px!important}.dropzone span{font-size:8.5px!important}.hint{font-size:9px!important;line-height:1.45!important}.quick-presets{border-color:var(--swift-separator)!important;background:color-mix(in srgb,var(--swift-elevated) 56%,transparent)!important;border-radius:9px!important;padding:6px 7px!important}.quick-presets button{border-color:var(--swift-separator)!important;background:var(--swift-control)!important;border-radius:6px!important;height:24px!important;font-size:8.5px!important}.preview-strip.compact-preview,.roller-preview.compact-preview{border-color:var(--swift-separator)!important;background:var(--swift-control)!important;border-radius:9px!important;height:88px!important}.preview-expand{background:var(--swift-glass-strong)!important;border-color:var(--swift-separator)!important;border-radius:7px!important;width:25px!important;height:25px!important}.stage-panel{height:calc(100vh - var(--chrome-h))!important;background:color-mix(in srgb,var(--bg) 94%,#9aa8b9 6%)!important;min-height:0!important;padding:10px!important;position:relative!important}.stage{border:1px solid var(--swift-separator)!important;background:radial-gradient(circle at 50% 35%,color-mix(in srgb,var(--panel-2) 66%,transparent),color-mix(in srgb,var(--bg) 92%,#0d131a 8%) 62%)!important;border-radius:16px!important;flex:1!important;min-height:0!important;overflow:hidden!important;box-shadow:inset 0 1px #ffffff0a,0 5px 18px #00000017!important}.viewer-view-tabs{border-color:var(--swift-separator)!important;background:var(--swift-glass)!important;-webkit-backdrop-filter:blur(28px)saturate(160%)!important;backdrop-filter:blur(28px)saturate(160%)!important;box-shadow:var(--swift-float-shadow)!important;border-radius:10px!important;padding:3px!important;top:14px!important}.viewer-view-tabs button{border-radius:7px!important;height:29px!important;font-size:10px!important}.stage-actions{border:1px solid var(--swift-separator)!important;background:var(--swift-glass)!important;-webkit-backdrop-filter:blur(28px)saturate(160%)!important;backdrop-filter:blur(28px)saturate(160%)!important;box-shadow:var(--swift-float-shadow)!important;border-radius:11px!important;flex-direction:row!important;gap:2px!important;padding:3px!important;display:flex!important;top:14px!important;left:14px!important;right:auto!important}.stage-actions .icon-button{width:30px!important;min-width:30px!important;height:30px!important;box-shadow:none!important;color:var(--muted)!important;background:0 0!important;border:0!important;border-radius:7px!important}.stage-actions .icon-button:hover:not(:disabled){background:var(--swift-hover)!important;color:var(--text)!important;transform:none!important}.stage-actions .icon-button:after{background:var(--swift-glass-strong)!important;border-color:var(--swift-separator)!important;-webkit-backdrop-filter:blur(18px)!important;backdrop-filter:blur(18px)!important;box-shadow:var(--swift-float-shadow)!important;border-radius:7px!important;top:calc(100% + 8px)!important;left:50%!important;transform:translate(-50%,-3px)!important}.stage-actions .icon-button:hover:after,.stage-actions .icon-button:focus-visible:after{transform:translate(-50%)!important}.navigation-cube{transform-origin:100% 0;transform:scale(.86);top:-14px!important;right:-14px!important}.viewer-hud{border-color:var(--swift-separator)!important;background:var(--swift-glass)!important;-webkit-backdrop-filter:blur(30px)saturate(160%)!important;backdrop-filter:blur(30px)saturate(160%)!important;min-height:48px!important;box-shadow:var(--swift-float-shadow)!important;border-radius:12px!important;bottom:16px!important;left:16px!important;right:16px!important}.viewer-hud>div{border-color:var(--swift-separator)!important;padding:9px 11px!important}.viewer-hud span{letter-spacing:.065em!important;font-size:7.5px!important}.viewer-hud strong{font-size:9.5px!important}.validation-hud{border-color:var(--swift-separator)!important;background:var(--swift-glass)!important;-webkit-backdrop-filter:blur(25px)!important;backdrop-filter:blur(25px)!important;box-shadow:var(--swift-float-shadow)!important;border-radius:10px!important;bottom:74px!important;left:16px!important}.c-view-note{border-color:var(--swift-separator)!important;background:var(--swift-glass)!important;-webkit-backdrop-filter:blur(24px)!important;backdrop-filter:blur(24px)!important;box-shadow:var(--swift-float-shadow)!important;border-radius:9px!important;bottom:74px!important}.stage-message{border-color:var(--swift-separator)!important;background:var(--swift-glass-strong)!important;-webkit-backdrop-filter:blur(20px)!important;backdrop-filter:blur(20px)!important;box-shadow:var(--swift-float-shadow)!important;border-radius:9px!important;padding:8px 11px!important;font-size:10px!important}.export-panel h2{letter-spacing:-.01em!important;font-size:13px!important;font-weight:650!important}.export-panel p{font-size:9.5px!important;line-height:1.5!important}.export-layer-tabs{height:29px;position:absolute;top:11px;left:49px;right:12px;margin:0!important}.export-pane,.layers-pane{gap:13px!important}.export-button{min-height:48px;border:1px solid var(--swift-separator)!important;background:color-mix(in srgb,var(--swift-elevated) 68%,transparent)!important;color:var(--text)!important;border-radius:9px!important;padding:9px 10px!important;box-shadow:inset 0 1px #ffffff06!important}.export-button strong{font-size:10.5px!important;font-weight:600!important}.export-button small{font-size:8.5px!important}.export-button b{font-size:8px!important}.export-meta{border-color:var(--swift-separator)!important;padding-top:12px!important;font-size:8.5px!important}.part-layer-row{background:0 0!important;border-color:#0000!important;border-radius:7px!important;min-height:34px!important;padding:2px 3px!important}.part-layer-row:hover{background:var(--swift-hover)!important}.part-layer-row.selected{background:color-mix(in srgb,var(--tool-accent) 11%,var(--swift-elevated))!important;box-shadow:inset 2px 0 0 var(--tool-accent)!important;border-color:#0000!important}.layer-icon-btn{border-radius:6px!important;width:26px!important;height:26px!important}.layers-head h2{font-size:13px!important}.layers-head p{font-size:9.5px!important}.hinge-info,.magnet-info,.stencil-profile-info,.stencil-bridge-info,.stamp-profile-info,.stamp-thread-info,.roller-profile-info,.roller-pattern-info,.mold-info,.food-note,.split-editor-wrap,.offset-pad-wrap,.roller-wall-viz{border-color:var(--swift-separator)!important;background:color-mix(in srgb,var(--swift-elevated) 62%,transparent)!important;border-radius:9px!important}.split-editor-wrap{padding:8px!important}.split-editor-head strong{font-size:9.5px!important}.split-editor-head span{font-size:8.5px!important}#kSplitEditor{border-color:var(--swift-separator)!important;border-radius:8px!important;height:136px!important}html[data-theme=light] .controls,html[data-theme=light] .export-panel{background:#f6f8fbc7!important}html[data-theme=light] .control-section{background:#ffffff70!important;border-color:#2834451a!important;box-shadow:inset 0 1px #fff9!important}html[data-theme=light] .modern-section-heading{background:#ffffff47!important;border-color:#28344514!important}html[data-theme=light] .field input[type=text],html[data-theme=light] .field input[type=number],html[data-theme=light] .field select,html[data-theme=light] textarea,html[data-theme=light] #cutterTool textarea,html[data-theme=light] #stencilTool textarea,html[data-theme=light] #stampTool textarea,html[data-theme=light] #rollerTool textarea{background:#ffffffb3!important;border-color:#2c384821!important}html[data-theme=light] .stage-panel{background:#e9edf2!important}html[data-theme=light] .stage{background:radial-gradient(circle at 50% 34%,#f7f9fb,#e7ecf1 66%)!important;border-color:#2a36461a!important}html[data-theme=light] .stage-actions,html[data-theme=light] .viewer-view-tabs,html[data-theme=light] .viewer-hud,html[data-theme=light] .validation-hud,html[data-theme=light] .c-view-note{background:#fafbfdb8!important;border-color:#2a36461c!important}html[data-theme=light] .export-button{background:#ffffff85!important;border-color:#2a36461c!important}html[data-theme=light] .export-button:hover{background:#ffffffd1!important}html[data-theme=light] .export-button.primary{color:#fff!important}@media (width<=1450px){:root{--inspector-w:312px;--export-w:280px}.studio-tool-tabs button{padding:0 7px!important;font-size:9.5px!important}.topbar p{display:none}.app-brand{grid-template-columns:28px auto!important}.control-section{margin-bottom:7px!important}.stage-panel{padding:8px!important}}@media (width<=1180px){body{min-width:980px}:root{--inspector-w:292px;--export-w:256px}.window-controls{gap:6px}.traffic-light{width:10px;height:10px}.studio-tool-tabs button{padding:0 6px!important}.studio-tool-tabs button .tool-tab-icon{display:none}.topbar{gap:8px!important}.export-panel,.controls{padding-left:10px!important;padding-right:10px!important}}@media (width<=1000px){body{min-width:0;overflow:auto}.topbar{flex-wrap:wrap!important;gap:8px!important;height:auto!important;min-height:58px!important;padding:9px 10px!important;display:flex!important}.window-controls{order:0}.app-brand{order:1}.topbar-actions{order:2;margin-left:auto}.studio-tool-tabs{width:100%;order:3!important;justify-content:flex-start!important;max-width:100%!important;overflow-x:auto!important}.workspace{height:auto!important;display:flex!important}.controls,.export-panel,.stage-panel{height:auto!important}.stage-panel{min-height:650px!important;padding:8px!important}.controls:before{top:0}.stage-actions{flex-wrap:wrap;max-width:220px}.navigation-cube{transform:scale(.78);top:-18px!important;right:-18px!important}}.window-controls.app-brand{grid-template-rows:none!important;grid-template-columns:none!important;column-gap:0!important;display:flex!important}.window-controls .app-brand-mark{display:none!important}.window-controls .traffic-light{display:block!important}:root{--system-blue:#0a84ff;--system-blue-soft:#0a84ff29;--system-green:#30d158;--native-row-h:30px;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,SF Pro Display,system-ui,sans-serif!important}html[data-theme=light]{--system-blue:#007aff;--system-blue-soft:#007aff1f}.topbar{grid-template-columns:auto minmax(150px,1fr) auto minmax(150px,1fr) auto!important}.brand-copy{align-self:center}.version-badge{opacity:.72}.studio-tool-tabs{box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:0 0!important;border:0!important;gap:1px!important;padding:0!important}.studio-tool-tabs button{position:relative;height:30px!important;box-shadow:none!important;color:var(--muted)!important;background:0 0!important;border-radius:7px!important}.studio-tool-tabs button:hover:not(.active){background:var(--swift-hover)!important;color:var(--text)!important}.studio-tool-tabs button.active:after{content:"";background:var(--tab-accent,var(--system-blue));border-radius:99px;height:2px;position:absolute;bottom:-3px;left:9px;right:9px}.tool-tab-icon,.ui-icon,.stage-icon,.lucide{stroke-width:1.55px!important}.history-actions,.topbar-actions>.header-icon-btn,.theme-toggle{box-shadow:none!important;background:0 0!important;border-color:#0000!important}.topbar-actions>.header-icon-btn:hover,.theme-toggle:hover{background:var(--swift-hover)!important}.native-panel-toggle.active{background:var(--swift-elevated)!important;color:var(--text)!important}.native-panel-toggle.active:after{content:"";background:var(--system-blue);border-radius:50%;width:4px;height:4px;position:absolute;bottom:3px}.controls,.export-panel{background:color-mix(in srgb,var(--swift-sidebar) 96%,transparent)!important}.controls:before{background:color-mix(in srgb,var(--swift-sidebar) 97%,transparent)!important;margin-bottom:4px!important;padding:12px 12px 8px!important;font-size:11px!important;font-weight:600!important}.control-section{box-shadow:none!important;border:0!important;border-bottom:1px solid var(--swift-separator)!important;background:0 0!important;border-radius:0!important;margin:0!important;padding:0!important}.control-section:last-of-type{border-bottom:0!important}.modern-section-heading h2{font-size:11px!important;font-weight:600!important}.section-reset,.section-collapse{opacity:.56}.modern-section-heading:hover .section-reset,.modern-section-heading:hover .section-collapse,.section-reset:focus-visible,.section-collapse:focus-visible{opacity:1}.advanced{background:0 0!important;border:0!important;border-radius:0!important;margin:0!important;padding:8px 3px!important}.quick-presets button{background:var(--swift-control)!important;border-radius:6px!important;height:23px!important}.field{margin-top:8px!important}.field>span,.check-field span{font-size:10px!important;font-weight:450!important}.field input[type=text],.field input[type=number],.field select,textarea,#cutterTool textarea,#stencilTool textarea,#stampTool textarea,#rollerTool textarea{border-color:var(--swift-separator)!important;background:var(--swift-control)!important;height:30px!important;min-height:30px!important;box-shadow:none!important;border-radius:6px!important}.input-unit{opacity:.76}.param-range::-webkit-slider-runnable-track{background:linear-gradient(90deg,var(--system-blue) 0 var(--range-pct),color-mix(in srgb,var(--line) 80%,transparent) var(--range-pct) 100%)!important}.param-range::-webkit-slider-thumb{border-color:var(--system-blue)!important}.param-range.safe-range{background:0 0!important}.scrub-label:after{color:var(--system-blue)!important}.check-field input{accent-color:var(--system-blue)!important}.segmented,.mini-step-segments{background:color-mix(in srgb,var(--swift-control) 90%,transparent)!important;border-color:var(--swift-separator)!important;border-radius:7px!important}.segmented button:focus-visible,.view-tabs button:focus-visible{outline:2px solid var(--system-blue)!important;outline-offset:1px!important}.dropzone{border-color:color-mix(in srgb,var(--muted) 30%,transparent)!important;background:0 0!important}.dropzone:hover{border-color:var(--system-blue)!important;background:var(--swift-hover)!important}.export-collapse-btn{display:none!important}.export-layer-tabs{left:12px!important;right:12px!important}.export-button{border-color:var(--swift-separator)!important;min-height:44px!important;box-shadow:none!important;background:0 0!important;border-radius:7px!important}.export-button:hover{background:var(--swift-hover)!important;border-color:var(--swift-separator)!important}.export-button.primary{background:var(--system-blue)!important;border-color:var(--system-blue)!important;color:#fff!important;box-shadow:none!important}.export-button.primary:hover{background:color-mix(in srgb,var(--system-blue) 88%,white 12%)!important}.export-meta{border-color:var(--swift-separator)!important}.part-layer-list{gap:1px!important}.part-layer-row{min-height:var(--native-row-h)!important;border-radius:6px!important;padding:0 3px!important}.part-layer-name{font-size:10px!important;font-weight:500!important}.layer-icon-btn{opacity:.58}.part-layer-row:hover .layer-icon-btn,.part-layer-row.selected .layer-icon-btn{opacity:1}.layer-icon-btn:hover{background:var(--swift-hover)!important}.layers-head h2{font-weight:600!important}.layer-dxf-export{color:var(--text)!important;background:0 0!important}.layer-dxf-export:hover{background:var(--swift-hover)!important}.stage-panel{padding:8px!important}.stage{border-radius:13px!important}.stage-actions{background:var(--swift-glass)!important;border-radius:9px!important;padding:2px!important}.stage-actions .icon-button{border-radius:6px!important;width:29px!important;min-width:29px!important;height:29px!important}.stage-actions .icon-button.active:before,.stage-actions .icon-button[aria-pressed=true]:before{content:"";background:var(--tool-accent);border-radius:50%;width:4px;height:4px;position:absolute;bottom:3px}.viewer-view-tabs{background:var(--swift-glass)!important;border-radius:9px!important}.viewer-view-tabs button.active{background:var(--swift-elevated)!important;box-shadow:inset 0 0 0 1px var(--swift-separator)!important}.viewer-hud{background:var(--swift-glass)!important;border-radius:10px!important}.validation-hud{background:var(--swift-glass)!important}.validation-icon{color:var(--system-green)!important;background:#30d15824!important}.controls-collapsed{--inspector-w:0px!important}.controls-collapsed>.controls{display:none!important}.controls-collapsed>.stage-panel{border-left:0!important}.workspace.export-collapsed>.export-panel{display:none!important}.native-command-menu,.native-context-menu{z-index:1000;border:1px solid var(--swift-separator);background:var(--swift-glass-strong);-webkit-backdrop-filter:blur(28px)saturate(170%);border-radius:9px;width:224px;padding:5px;position:fixed;box-shadow:0 14px 36px #0000003d}.native-menu-item{width:100%;min-height:28px;color:var(--text);text-align:left;background:0 0;border:0;border-radius:6px;justify-content:space-between;align-items:center;gap:14px;padding:5px 8px;font-size:11px;display:flex}.native-menu-item:hover,.native-menu-item:focus-visible{background:var(--system-blue);color:#fff;outline:0}.native-menu-item kbd{font:inherit;color:var(--muted);background:0 0;font-size:10px}.native-menu-item:hover kbd,.native-menu-item:focus-visible kbd{color:#ffffffd1}.native-menu-separator{background:var(--swift-separator);height:1px;margin:4px 5px}html[data-theme=light] .control-section{background:0 0!important;border-color:#28344517!important}html[data-theme=light] .modern-section-heading,html[data-theme=light] .export-button{background:0 0!important}html[data-theme=light] .export-button.primary{background:var(--system-blue)!important;color:#fff!important}html[data-theme=light] .part-layer-row.selected{background:var(--system-blue-soft)!important}.native-context-menu.hidden,.native-command-menu.hidden{display:none!important}@media (width<=1180px){.native-panel-toggle{display:none!important}.studio-tool-tabs{max-width:63vw!important}.controls-collapsed{--inspector-w:0px!important}.workspace.export-collapsed{--export-w:0px!important}}:root{--native-accent:#0a84ff;--native-accent-soft:#0a84ff29;--chrome-h:52px;--inspector-w:340px;--export-w:292px;--form-label-w:118px;--native-glass:#1f232aad;--native-glass-strong:#232830e0;--native-sidebar:#191d23cc;--native-control:#0c0f1375;--native-hover:#fff1;--native-selected:#ffffff18;--native-separator:#ffffff13;--native-shadow:0 12px 34px #00000038}html[data-theme=light]{--native-accent:#007aff;--native-accent-soft:#007aff21;--native-glass:#f9fafcb8;--native-glass-strong:#fcfdfee8;--native-sidebar:#f6f8fbd1;--native-control:#ffffffa8;--native-hover:#ffffffd1;--native-selected:#fffffff5;--native-separator:#1925341a;--native-shadow:0 12px 34px #2d3a4c26}body{background:var(--bg)!important;font-family:-apple-system,"system-ui",SF Pro Text,SF Pro Display,system-ui,sans-serif!important}.topbar{height:var(--chrome-h)!important;min-height:var(--chrome-h)!important;background:var(--native-glass)!important;border-bottom:1px solid var(--native-separator)!important;-webkit-backdrop-filter:blur(34px)saturate(175%)!important;grid-template-columns:auto auto minmax(0,1fr) auto!important;gap:10px!important;padding:0 12px!important;box-shadow:inset 0 1px #ffffff0e!important}.window-controls{grid-column:1!important}.brand-copy{grid-column:2!important}.studio-tool-tabs{grid-column:3!important}.topbar-actions{grid-column:4!important}.topbar p{display:none!important}.topbar h1{letter-spacing:-.014em!important;font-size:13px!important;font-weight:650!important}.studio-tool-tabs{box-shadow:none!important;background:0 0!important;border:0!important;justify-self:center!important;gap:1px!important;padding:0!important}.studio-tool-tabs button{height:30px!important;color:var(--muted)!important;box-shadow:none!important;background:0 0!important;border-radius:7px!important;padding:0 9px!important;font-size:10px!important;font-weight:500!important;position:relative!important}.studio-tool-tabs button:hover{background:var(--native-hover)!important;color:var(--text)!important}.studio-tool-tabs button.active{background:var(--native-selected)!important;color:var(--text)!important;box-shadow:inset 0 0 0 1px var(--native-separator)!important}.studio-tool-tabs button.active:after{content:"";background:var(--native-accent);border-radius:99px;width:14px;height:2px;position:absolute;bottom:-7px;left:50%;transform:translate(-50%)}.studio-tool-tabs button .tool-tab-icon{color:currentColor!important;stroke-width:1.5px!important}.topbar-actions{gap:2px!important}.topbar-actions>button,.history-actions,.native-panel-toggle{box-shadow:none!important;background:0 0!important;border:0!important}.history-actions{padding:0!important}.header-icon-btn,.theme-toggle{border-radius:7px!important;width:29px!important;height:29px!important}.header-icon-btn:hover,.theme-toggle:hover{background:var(--native-hover)!important}.native-panel-toggle.active:after{content:"";background:var(--native-accent);border-radius:50%;width:3px;height:3px;position:absolute;bottom:-7px;left:50%;transform:translate(-50%)}.workspace{grid-template-columns:var(--inspector-w) minmax(460px,1fr) var(--export-w)!important;height:calc(100vh - var(--chrome-h))!important;background:color-mix(in srgb,var(--bg) 94%,#8391a2 6%)!important}.workspace.controls-collapsed{--inspector-w:0px}.workspace.export-collapsed{--export-w:0px}.controls,.export-panel{height:calc(100vh - var(--chrome-h))!important;background:var(--native-sidebar)!important;-webkit-backdrop-filter:blur(34px)saturate(165%)!important;border-color:var(--native-separator)!important;box-shadow:none!important}.controls{padding:0 12px 22px!important}.export-panel{padding:48px 11px 18px!important}.controls:before{background:color-mix(in srgb,var(--native-sidebar) 92%,transparent)!important;border-bottom:1px solid var(--native-separator)!important;-webkit-backdrop-filter:blur(30px)saturate(170%)!important;backdrop-filter:blur(30px)saturate(170%)!important;margin:0 -12px 8px!important;padding:11px 13px 9px!important;font-size:11px!important;font-weight:650!important;top:0!important}.panel-resizer{width:6px!important;right:-3px!important}.workspace.controls-collapsed .controls,.workspace.export-collapsed .export-panel{visibility:hidden;pointer-events:none;overflow:hidden;border:0!important;padding:0!important}.section-count{display:none!important}.control-section{box-shadow:none!important;border:0!important;border-bottom:1px solid var(--native-separator)!important;background:0 0!important;border-radius:0!important;margin:0!important;padding:0!important;overflow:visible!important}.modern-section-heading{background:0 0!important;border:0!important;min-height:36px!important;padding:0!important}.modern-section-heading h2{letter-spacing:0!important;font-size:10.5px!important;font-weight:650!important}.section-collapse,.section-reset{border-radius:6px!important;width:24px!important;height:24px!important}.section-collapse:hover,.section-reset:hover{background:var(--native-hover)!important}.section-body{padding:2px 0 13px!important}.modern-section.is-collapsed .modern-section-heading{border:0!important}.two-col,.three-col{display:block!important}.section-body .field{grid-template-columns:minmax(88px,var(--form-label-w)) minmax(0,1fr)!important;align-items:center!important;gap:3px 10px!important;min-height:32px!important;margin:0!important;padding:2px 0!important;display:grid!important}.section-body .field>span{color:var(--muted)!important;grid-area:1/1!important;justify-content:flex-start!important;font-size:9.5px!important}.section-body .field>.numeric-shell,.section-body .field>input,.section-body .field>select,.section-body .field>textarea,.section-body .field>.inline-input-action{grid-area:1/2!important;min-width:0!important}.section-body .field>.param-range{grid-area:2/2!important;width:100%!important;margin:-1px 0 1px!important}.section-body .field>small{grid-column:2!important}.section-body .check-field{grid-template-columns:1fr auto!important;align-items:center!important;min-height:28px!important;margin:3px 0!important;display:grid!important}.section-body .check-field input{grid-area:1/2!important}.section-body .check-field span{grid-area:1/1!important;font-size:9.5px!important}.field input[type=text],.field input[type=number],.field select,textarea,#cutterTool textarea,#stencilTool textarea,#stampTool textarea,#rollerTool textarea{background:var(--native-control)!important;border:1px solid var(--native-separator)!important;border-radius:6px!important;height:27px!important;min-height:27px!important;font-size:10.5px!important;box-shadow:inset 0 1px #ffffff08!important}.field input:focus,.field select:focus,textarea:focus{border-color:var(--native-accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--native-accent) 18%,transparent)!important}.input-unit{font-size:7.5px!important}.numeric-shell>input[type=number]{padding-right:43px!important}.param-range{accent-color:var(--native-accent)!important}.param-range::-webkit-slider-runnable-track{background:linear-gradient(90deg,var(--native-accent) 0 var(--range-pct),color-mix(in srgb,var(--muted) 22%,transparent) var(--range-pct) 100%)!important;height:3px!important}.param-range::-webkit-slider-thumb{border:2px solid var(--native-accent)!important;background:#fff!important;width:11px!important;height:11px!important;margin-top:-4px!important;box-shadow:0 1px 3px #00000040!important}.segmented,.mini-step-segments{border:1px solid var(--native-separator)!important;background:var(--native-control)!important;border-radius:7px!important;padding:2px!important}.segmented button,.view-tabs button,.mini-step-segments button{border-radius:5px!important;min-height:25px!important;font-size:9.5px!important}.segmented button.active,.view-tabs button.active,.mini-step-segments button.active{background:var(--native-selected)!important;color:var(--text)!important;box-shadow:0 1px 3px #0000001a,inset 0 0 0 1px var(--native-separator)!important}.quick-presets{border:0!important;border-bottom:1px solid var(--native-separator)!important;background:0 0!important;border-radius:0!important;margin:0!important;padding:7px 0!important}.quick-presets>span{font-size:8px!important}.quick-presets button{background:var(--native-control)!important;border:1px solid var(--native-separator)!important;border-radius:6px!important;height:23px!important}.dropzone{background:var(--native-control)!important;border-color:color-mix(in srgb,var(--muted) 30%,transparent)!important;height:60px!important}.hint{font-size:8.5px!important}.hinge-info,.magnet-info,.stencil-profile-info,.stencil-bridge-info,.stamp-profile-info,.stamp-thread-info,.roller-profile-info,.roller-pattern-info,.mold-info,.food-note,.split-editor-wrap,.offset-pad-wrap,.roller-wall-viz{background:color-mix(in srgb,var(--native-control) 78%,transparent)!important;box-shadow:inset 0 0 0 1px var(--native-separator)!important;border:0!important;border-radius:7px!important}.stage-panel{height:calc(100vh - var(--chrome-h))!important;background:color-mix(in srgb,var(--bg) 94%,#8998aa 6%)!important;padding:0!important}.stage{box-shadow:none!important;background:radial-gradient(circle at 50% 36%,color-mix(in srgb,var(--panel-2) 58%,transparent),color-mix(in srgb,var(--bg) 94%,#111822 6%) 64%)!important;border:0!important;border-radius:0!important}.stage canvas{border-radius:0!important}.stage-actions,.viewer-view-tabs,.viewer-hud,.validation-hud,.c-view-note{background:var(--native-glass)!important;border:1px solid color-mix(in srgb,var(--native-separator) 92%,transparent)!important;-webkit-backdrop-filter:blur(38px)saturate(180%)!important;box-shadow:inset 0 1px 0 #ffffff1a,var(--native-shadow)!important}.stage-actions{border-radius:10px!important;padding:3px!important;top:12px!important;left:12px!important}.stage-actions .icon-button{width:29px!important;min-width:29px!important;height:29px!important;color:var(--muted)!important;border-radius:6px!important}.stage-actions .icon-button:hover{background:var(--native-hover)!important;color:var(--text)!important}.stage-actions .icon-button.active,.stage-actions .icon-button[aria-pressed=true]{background:var(--native-selected)!important;color:var(--native-accent)!important;box-shadow:inset 0 0 0 1px var(--native-separator)!important}.stage-actions .icon-button:active,.viewer-view-tabs button:active,.topbar-actions button:active{filter:brightness(1.08);transition:transform 70ms,filter 70ms!important;transform:scale(.94)!important}.viewer-view-tabs{border-radius:9px!important;top:12px!important}.viewer-view-tabs button.active{color:var(--native-accent)!important}.navigation-cube{top:-12px!important;right:-12px!important;transform:scale(.82)!important}.viewer-hud{border-radius:10px!important;bottom:14px!important;left:14px!important;right:14px!important}.validation-hud{bottom:70px!important;left:14px!important}.stage-message{background:var(--native-glass-strong)!important;border-color:var(--native-separator)!important;-webkit-backdrop-filter:blur(34px)saturate(175%)!important;backdrop-filter:blur(34px)saturate(175%)!important}.export-layer-tabs{height:27px!important;top:10px!important;left:45px!important;right:10px!important}.export-panel h2,.layers-head h2{font-size:12px!important;font-weight:650!important}.export-panel p,.layers-head p{font-size:9px!important}.export-button{min-height:41px!important;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:7px!important}.export-button:hover{background:var(--native-hover)!important}.export-button.primary{background:var(--native-accent)!important;color:#fff!important;box-shadow:0 4px 12px color-mix(in srgb,var(--native-accent) 18%,transparent)!important;border:0!important}.export-button.primary small{color:#ffffffc7!important}.part-layer-row{border-radius:6px!important;min-height:32px!important}.part-layer-row.selected{background:var(--native-accent-soft)!important;box-shadow:none!important}.part-layer-row.selected .part-layer-name{color:var(--text)!important}.layer-icon-btn:hover,.part-layer-name:hover{background:var(--native-hover)!important}.layers-meta,.export-meta{font-size:8px!important}.native-command-menu,.native-context-menu{background:var(--native-glass-strong)!important;border:1px solid var(--native-separator)!important;-webkit-backdrop-filter:blur(38px)saturate(180%)!important;box-shadow:var(--native-shadow)!important;border-radius:10px!important}.native-menu-item{border-radius:6px!important}.native-menu-item:hover{background:var(--native-accent)!important;color:#fff!important}button:focus-visible,.dropzone:focus-within,.field input:focus-visible,.field select:focus-visible,textarea:focus-visible{outline:2px solid color-mix(in srgb,var(--native-accent) 80%,white)!important;outline-offset:2px!important}@media (prefers-reduced-transparency:reduce){.topbar,.controls,.export-panel,.stage-actions,.viewer-view-tabs,.viewer-hud,.validation-hud,.c-view-note,.native-command-menu,.native-context-menu{-webkit-backdrop-filter:none!important;background:var(--panel)!important}}@media (prefers-contrast:more){:root{--native-separator:#fff3}html[data-theme=light]{--native-separator:#0f192638}.field input,.field select,textarea,.segmented,.stage-actions,.viewer-hud{border-color:var(--native-separator)!important}}@media (width<=1450px){:root{--inspector-w:318px;--export-w:272px;--form-label-w:108px}.studio-tool-tabs button{padding:0 7px!important;font-size:9.5px!important}}@media (width<=1180px){:root{--inspector-w:296px;--export-w:252px;--form-label-w:100px}.studio-tool-tabs button .tool-tab-icon{display:none!important}.studio-tool-tabs button{padding:0 6px!important}.topbar h1{font-size:12px!important}}.explode-control{z-index:8;border:1px solid var(--native-separator);background:var(--native-glass);-webkit-backdrop-filter:blur(38px)saturate(180%);height:32px;box-shadow:inset 0 1px 0 #ffffff1a,var(--native-shadow);color:var(--muted);border-radius:9px;grid-template-columns:auto 116px 34px;align-items:center;gap:8px;padding:0 9px;font-size:8.5px;display:grid;position:absolute;top:55px;left:12px}.explode-control input{width:116px;accent-color:var(--native-accent);margin:0}.explode-control b{text-align:right;color:var(--text);font-variant-numeric:tabular-nums;font-size:8px}@media (width<=1000px){.explode-control{grid-template-columns:auto 90px 30px;top:54px;left:10px}.explode-control input{width:90px}}.section-body .field.hidden{display:none!important}.window-controls{pointer-events:none!important;-webkit-user-select:none!important;user-select:none!important}.param-reset{border-radius:6px!important;width:28px!important;min-width:28px!important;height:28px!important}.param-range{min-height:24px!important;margin-block:1px!important}.controls input[type=checkbox]{width:18px!important;min-width:18px!important;height:18px!important}.quick-presets button{min-height:28px!important}.viewer-hud span,.panel-label,.export-meta,.layers-meta{font-size:max(9px,.56rem)!important}@media (width<=1180px) and (width>=1001px){.workspace{--inspector-w:292px!important;--export-w:250px!important;grid-template-columns:var(--inspector-w) minmax(420px,1fr) var(--export-w)!important}.workspace.controls-collapsed{--inspector-w:292px!important}.workspace.export-collapsed{--export-w:250px!important}.workspace.controls-collapsed .controls{visibility:visible!important;pointer-events:auto!important;border-right:1px solid var(--native-separator)!important;padding:0 10px 22px!important;overflow:auto!important}.workspace.export-collapsed .export-panel{visibility:visible!important;pointer-events:auto!important;border-left:1px solid var(--native-separator)!important;padding:48px 10px 18px!important;overflow:auto!important}}@media (width<=1000px){.workspace.hidden{display:none!important}.workspace:not(.hidden){display:flex!important}.workspace.controls-collapsed .controls,.workspace.export-collapsed .export-panel{visibility:visible!important;pointer-events:auto!important;border:0!important;border-bottom:1px solid var(--native-separator)!important;overflow:visible!important}.workspace.controls-collapsed .controls{padding:0 12px 22px!important}.workspace.export-collapsed .export-panel{padding:48px 12px 18px!important}.navigation-cube{transform-origin:100% 0!important;top:0!important;right:0!important;transform:scale(.72)!important}}@media (width<=1450px) and (width>=1181px){.workspace{--inspector-w:318px!important;--export-w:272px!important;grid-template-columns:var(--inspector-w) minmax(430px,1fr) var(--export-w)!important}}@media (width<=1180px){.workspace.controls-collapsed>.controls{display:block!important}.workspace.export-collapsed>.export-panel{display:flex!important}}.tool-load-error{z-index:80;text-align:center;color:var(--text-primary,#f5f7fa);background:color-mix(in srgb,var(--panel-bg,#1b2028) 92%,transparent);border:1px solid var(--border,#343b46);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:24px;display:flex;position:absolute;inset:18px}.tool-load-error span{max-width:320px;color:var(--text-secondary,#aab3c0);font-size:13px;line-height:1.5}.tool-load-error button{border:1px solid var(--border,#48515f);background:var(--control-bg,#252c36);min-height:34px;color:inherit;cursor:pointer;border-radius:9px;padding:0 14px}.tool-load-error button:focus-visible{outline:2px solid var(--accent,#68a8ff);outline-offset:2px}#kCoreModeTabs{grid-template-columns:repeat(3,minmax(0,1fr))}#kCoreModeTabs button{white-space:normal;text-wrap:balance;min-width:0;padding:5px 3px;line-height:1.2}#extrudeTool textarea{resize:vertical;border:1px solid var(--line);background:color-mix(in srgb,var(--surface-0) 96%,transparent);width:100%;min-height:62px;color:var(--text);line-height:1.4;font:inherit;border-radius:8px;outline:none;padding:9px 10px;font-size:12px}#extrudeTool textarea:focus{border-color:var(--tool-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--tool-accent) 16%,transparent)}#extrudeTool .dropzone.dragging{border-color:var(--tool-accent);background:color-mix(in srgb,var(--tool-accent) 9%,var(--surface-0))}html[data-theme=light] #extrudeTool textarea{color:#111827;background:#fff;border-color:#cbd5e1}@media (width<=1000px){#extrudeTool .stage-panel{min-height:620px}}
