.svg-editor{background:#f8faff;border:1px solid #dce3fa;border-radius:12px;margin:18px 0;padding:14px}.svg-editor h2{margin:0 0 10px;font-size:15px}.svg-editor input[type=file]{background:#fff;max-width:100%;padding:8px;font-size:11px}.svg-editor input[type=range]{accent-color:#4361ee;cursor:pointer;padding:0}.svg-editor output{float:right;color:#4361ee;font-variant-numeric:tabular-nums}.svg-editor .actions{gap:6px}.svg-editor button{padding:10px;font-size:12px}.svg-editor p{overflow-wrap:anywhere}.stl-result:not(:empty){background:#eef2ff;border:1px solid #dce3fa;border-radius:12px;margin:14px 0;padding:16px;font-size:13px;line-height:1.7}.stl-result button{margin-top:10px}.stl-result a{font-size:14px}@media (width>=801px){.stage{align-self:start;position:sticky;top:12px}#preview{height:min(560px,60vh)}}*{box-sizing:border-box}body{color:#182035;background:#f5f7fb;margin:0;font:14px/1.5 system-ui,sans-serif}header{background:#fff;border-bottom:1px solid #e0e5ef;justify-content:space-between;gap:12px;padding:20px 5%;display:flex}a{color:#4361ee;font-size:22px;font-weight:800;text-decoration:none}header a span{color:#768195;font-size:13px;font-weight:400}.badge{background:#fff3d9;border-radius:30px;padding:6px 12px;font-size:12px}main{max-width:1400px;margin:auto;padding:30px}.intro{margin-bottom:26px}.intro>p{letter-spacing:2px;color:#4361ee;font-size:11px;font-weight:700}h1{letter-spacing:-1px;margin:8px 0;font-size:34px}h2{margin:22px 0 12px;font-size:17px}.workspace{grid-template-columns:290px 1fr;gap:22px;display:grid}aside,.stage{background:#fff;border:1px solid #e0e5ef;border-radius:20px;padding:22px}aside h2:first-child{margin-top:0}label{margin:12px 0;font-size:12px;font-weight:600;display:block}input,select{color:#182035;width:100%;font:inherit;background:#f9faff;border:1px solid #dde2ea;border-radius:9px;margin-top:5px;padding:10px}input:focus,select:focus{outline:2px solid #4361ee}input[type=checkbox]{width:18px;margin:0 8px 0 0}.check{align-items:center;display:flex}.fieldrow{gap:10px;display:flex}.fieldrow label{flex:1;min-width:0}.muted{color:#6d7890;font-size:12px;line-height:1.6}.tabs{gap:8px;display:flex}button{cursor:pointer;color:#fff;background:#4361ee;border:0;border-radius:10px;min-height:44px;padding:13px 18px;font:600 13px system-ui}button:disabled{opacity:.45;cursor:not-allowed}.secondary,.tabs button{color:#4361ee;background:#eef2ff}.tabs button[aria-pressed=true]{color:#fff;background:#4361ee}#preview{background:#f5f7fb;border-radius:15px;height:560px;margin:16px 0;position:relative;overflow:hidden}#sheet,#scene,#sheet svg{width:100%;height:100%}#scene canvas{display:block}#status{background:#edf8f3;border-radius:12px;padding:14px;font-size:14px}#status.bad{color:#9b352d;background:#fff0ee}.legend{color:#4361ee;flex-wrap:wrap;gap:16px;margin:18px 0;font-size:12px;display:flex}.glue{color:#db8430}.actions{flex-wrap:wrap;gap:10px;display:flex}details{border-top:1px solid #e0e5ef;margin-top:20px;padding-top:18px}summary{cursor:pointer;font-weight:700}li{margin-bottom:10px}svg text{font-family:system-ui,sans-serif}button:focus-visible{outline-offset:2px;outline:3px solid #9db0ff}[hidden]{display:none!important}@media (width<=800px){main{padding:16px}h1{font-size:26px}.workspace{flex-direction:column;display:flex}.stage{order:-1;padding:14px}#preview{height:430px}header{padding:14px}.badge{font-size:10px}.tabs button{flex:1;padding:10px 7px}.intro{margin-bottom:18px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto}}#foldControls{background:#eef2ff;border-radius:12px;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:16px;padding:12px 16px;display:flex}#foldControls label{flex:1;min-width:160px;margin:0}#foldControls input{accent-color:#4361ee;padding:0}#foldControls p{color:#6d7890;width:100%;margin:0;font-size:11px}#foldControls output{color:#4361ee;font-size:11px}.project-bar{background:#fff;border:1px solid #e0e5ef;border-radius:16px;margin-bottom:20px;padding:16px 20px}.project-bar p{margin:10px 0 0}.stl-result{margin:16px 0;line-height:1.7}.stl-result .actions{margin-top:12px}.stl-dialog{color:#182035;border:1px solid #e0e5ef;border-radius:20px;width:min(1100px,96vw);max-width:none;max-height:94dvh;padding:20px}.stl-dialog::backdrop{background:#17213899}.stl-dialog-head{justify-content:space-between;align-items:center;gap:14px;display:flex}.stl-dialog h2{margin:0}.stl-dialog p{margin:8px 0}.stl-canvas{touch-action:none;border-radius:14px;height:min(65dvh,680px);min-height:240px;overflow:hidden}.stl-canvas canvas{display:block}@media (width<=600px){.stl-dialog{padding:12px}.project-bar{padding:14px}.project-bar button{flex:1}.stl-dialog-head h2{font-size:15px}}.face-editor{background:#f8faff;border:1px solid #dce3ff;border-radius:14px;margin:18px -8px;padding:14px}.face-editor h2{margin:0}.face-tabs{grid-template-columns:1fr 1fr;gap:6px;display:grid}.face-tabs button{padding:8px;font-size:11px}.face-tabs button[aria-pressed=true]{color:#fff;background:#4361ee}.face-editor output{float:right;color:#4361ee}.face-editor input[type=range]{accent-color:#4361ee;padding:0}.face-editor .actions{margin-top:14px}.face-editor .actions button{width:100%;padding:10px}.face-editor details{margin-top:12px;padding-top:10px}
