.path-editor{width:min(1080px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 40px);padding:0;border:1px solid #47523b;border-radius:12px;background:#20231f;color:#eceee7;box-shadow:0 24px 100px #0008;overflow:hidden;font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:12px}
.path-editor[open]{display:flex;flex-direction:column}
.path-editor::backdrop{background:#070b09c9;backdrop-filter:blur(5px)}
.path-editor *{box-sizing:border-box}
.path-editor [hidden]{display:none!important}
.path-editor button,.path-editor input,.path-editor select{font:inherit}
.path-editor button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 11px;border:1px solid #46523b;border-radius:5px;background:#272e22;color:#d3dfc7;cursor:pointer;white-space:nowrap}
.path-editor button:hover:not(:disabled){background:#35402c;border-color:#809761}
.path-editor button:disabled{opacity:.35;cursor:default}
.path-editor button:focus-visible,.path-editor canvas:focus-visible,.path-editor input:focus-visible,.path-editor select:focus-visible{outline:2px solid #d4ef9d;outline-offset:2px}
.path-editor input,.path-editor select{min-height:32px;min-width:0;border:1px solid #46523b;border-radius:4px;background:#191e16;color:#eceee7;padding:6px 8px}
.path-editor input[type=checkbox]{width:15px;height:15px;min-height:0;margin:0;accent-color:#d4ef9d}
.path-editor input[type=number]{font:11px ui-monospace,SFMono-Regular,Consolas,monospace}
.path-editor-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:21px 23px 18px;flex-shrink:0}
.path-editor-eyebrow{font:9px ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:1.6px;color:#a4b293;margin:0 0 7px}
.path-editor-header h2{font-size:23px;font-weight:550;letter-spacing:-.6px;margin:0}
.path-editor button.path-editor-close{width:34px;height:34px;min-height:34px;padding:0;font-size:23px;background:transparent;border-color:transparent;color:#b0bba5}
.path-editor-toolbar{display:flex;align-items:center;gap:18px;padding:0 23px 13px;flex-wrap:wrap;flex-shrink:0}
.path-editor-tools{display:flex;gap:3px;padding:3px;border:1px solid #3d4634;border-radius:7px;background:#171d14}
.path-editor-tools button{border-color:transparent;background:transparent;padding:6px 12px;color:#a5b399}
.path-editor-tools button[aria-pressed=true]{background:#d4ef9d;color:#29351e;border-color:#d4ef9d}
.path-editor-tools button[aria-pressed=true]:hover{background:#e2ffae;border-color:#e2ffae}
.path-editor-inline{display:flex;align-items:center;gap:7px;color:#a6b299;font-size:10px}
.path-editor-inline select{font-size:11px;max-width:135px}
.path-editor-zoom{display:flex;gap:4px;margin-left:auto}
.path-editor-zoom button{min-width:34px;padding:6px 9px}
.path-editor-instructions{margin:0;padding:0 23px 15px;color:#b7c2ac;font-size:11px;line-height:1.6;min-height:32px;flex-shrink:0}
.path-editor-body{display:grid;grid-template-columns:minmax(0,1fr) 263px;min-height:250px;overflow:hidden;border-top:1px solid #384231;border-bottom:1px solid #384231}
.path-editor-canvas-wrap{position:relative;min-width:0;min-height:440px;background:#141814;overflow:hidden}
.path-editor canvas{position:absolute;inset:0;display:block;width:100%;height:100%;min-height:440px;touch-action:none;outline-offset:-3px!important}
.path-editor canvas[data-mode=draw],.path-editor canvas[data-mode=freehand]{cursor:crosshair}
.path-editor canvas[data-mode=edit]{cursor:default}
.path-editor canvas[data-mode=select]{cursor:crosshair}
.path-editor canvas[data-mode=pan]{cursor:grab}
.path-editor canvas[data-mode=pan]:active{cursor:grabbing}
.path-editor-axes,.path-editor-readout{position:absolute;pointer-events:none;color:#94a783;font:9px ui-monospace,SFMono-Regular,Consolas,monospace;background:#141814cc;border-radius:3px;padding:5px 7px}
.path-editor-axes{top:11px;left:11px;letter-spacing:1px}
.path-editor-readout{bottom:11px;left:11px}
.path-editor-properties{padding:20px 17px;border-left:1px solid #384231;display:flex;flex-direction:column;gap:17px;background:#20271c;min-height:0;overflow:auto}
.path-editor h3{font-size:11px;font-weight:600;margin:0}
.path-editor-property-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.path-editor-property-heading output{font:9px ui-monospace,SFMono-Regular,Consolas,monospace;color:#a8ba97}
.path-editor-checks{display:flex;flex-direction:column;gap:12px}
.path-editor-checks label,.path-editor-snap>label:first-child{display:flex;align-items:center;gap:8px;font-size:11px;color:#c6d3bc}
.path-editor-snap{display:flex;align-items:center;justify-content:space-between;gap:7px;padding-top:16px;border-top:1px solid #3a4531}
.path-editor-snap input[type=number]{width:48px;padding:5px}
.path-editor-depth{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#a6b299;font-size:11px;margin-top:-8px}
.path-editor-depth b{font-weight:400;color:#d4e2c5}
.path-editor-depth input{width:81px}
.path-editor-vertex-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;padding-top:16px;border-top:1px solid #3a4531}
.path-editor-vertex-nav{display:flex;align-items:center;gap:3px}
.path-editor-vertex-nav button{padding:3px 6px;min-height:28px;font-size:17px;border-color:transparent;background:transparent}
.path-editor-vertex-nav input{width:48px;min-height:28px;padding:5px;text-align:center}
.path-editor-coordinates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:-5px}
.path-editor-coordinates label{display:flex;flex-direction:column;gap:7px;font:9px ui-monospace,SFMono-Regular,Consolas,monospace;color:#a3b392}
.path-editor-coordinates input{width:100%;padding:7px 5px}
.path-editor-node-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:-4px}
.path-editor-node-actions button{font-size:10px;padding:7px 6px}
.path-editor-selection{display:grid;gap:10px;padding-top:16px;border-top:1px solid #3a4531}
.path-editor-selection-actions{display:flex;gap:6px}
.path-editor-selection-actions button{flex:1;font-size:10px;min-height:31px}
.path-editor-transforms{border-top:1px solid #3a4531;padding-top:15px}
.path-editor-transforms summary{cursor:pointer;font-size:11px;font-weight:600;min-height:26px;color:#d3dfc7}
.path-editor-transforms summary:focus-visible{outline:2px solid #d4ef9d;outline-offset:2px}
.path-editor-transforms[open] summary{margin-bottom:8px}
.path-editor-transforms>button{width:100%;font-size:10px;margin-top:11px}
.path-editor-center{display:block;color:#b0c49b;font:9px ui-monospace,SFMono-Regular,Consolas,monospace;line-height:1.8;margin:9px 0}
.path-editor-transform-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:0;border:0;margin:11px 0 0;min-width:0}
.path-editor-transform-row legend{font-size:10px;color:#c6d3bc;margin-bottom:8px;padding:0}
.path-editor-transform-row label,.path-editor-flatten label{display:flex;flex-direction:column;gap:6px;font-size:9px;color:#a3b392;min-width:0}
.path-editor-transform-row input{width:100%;padding:7px 5px}
.path-editor-flatten{display:grid;grid-template-columns:60px minmax(0,1fr);gap:9px;margin-top:19px;padding-top:15px;border-top:1px solid #3a4531}
.path-editor-flatten input,.path-editor-flatten select{width:100%}
.path-editor-note{color:#91a082;font-size:10px;line-height:1.65;margin:0}
.path-editor-note+.path-editor-note{color:#77896a;margin-top:-5px}
.path-editor-footer{display:flex;align-items:center;gap:14px;padding:15px 20px;flex-wrap:wrap;flex-shrink:0}
.path-editor-history{display:flex;gap:5px;flex-wrap:wrap}
.path-editor-history button{font-size:10px;background:transparent;border-color:#424d38;padding:6px 9px;min-height:31px}
.path-editor-status{font-size:10px;color:#9aaa8b;margin:0;flex:1;min-width:180px;line-height:1.5}
.path-editor-final-actions{display:flex;gap:7px;margin-left:auto}
.path-editor button.path-editor-apply{background:#d4ef9d;border-color:#d4ef9d;color:#26321b;font-weight:600;padding:9px 15px}
.path-editor button.path-editor-apply:hover:not(:disabled){background:#e2ffae;border-color:#e2ffae}
@media(max-width:800px){.path-editor{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.path-editor-toolbar{gap:10px}.path-editor-tools button{padding:6px 9px}.path-editor-body{grid-template-columns:minmax(0,1fr) 230px}.path-editor-properties{padding:17px 12px;gap:15px}.path-editor-canvas-wrap,.path-editor canvas{min-height:410px}.path-editor-status{order:3;flex-basis:100%}.path-editor-footer{gap:10px;padding:12px 16px}.path-editor-history button{padding:6px 7px}}
@media(max-width:600px){.path-editor{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:9px}.path-editor-header{padding:16px 15px 13px}.path-editor-header h2{font-size:21px}.path-editor-toolbar{padding:0 14px 10px;gap:8px}.path-editor-tools{flex:1 0 100%;justify-content:space-between}.path-editor-tools button{min-height:38px;flex:1;font-size:12px}.path-editor-toolbar>.path-editor-inline{margin-right:auto}.path-editor-zoom{margin-left:0}.path-editor-instructions{padding:0 15px 12px;font-size:11px;min-height:44px}.path-editor-body{display:flex;flex-direction:column;min-height:160px;overscroll-behavior:contain}.path-editor-canvas-wrap{flex:0 0 auto;height:clamp(225px,37dvh,390px);min-height:225px}.path-editor canvas{height:100%;min-height:225px}.path-editor-properties{display:grid;grid-template-columns:1fr 1fr;gap:15px 14px;border-left:0;border-top:1px solid #384231;padding:17px 15px}.path-editor-property-heading,.path-editor-vertex-heading,.path-editor-coordinates,.path-editor-node-actions,.path-editor-note{grid-column:1/-1}.path-editor-checks{gap:13px}.path-editor-snap{padding-top:0;border-top:0;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:10px}.path-editor-snap input[type=number]{width:64px}.path-editor-depth{grid-column:1/-1;margin-top:0}.path-editor-depth input{width:100px}.path-editor-vertex-heading{padding-top:13px}.path-editor-vertex-nav input{width:65px}.path-editor-vertex-nav button{min-width:34px;min-height:34px}.path-editor-coordinates{gap:12px}.path-editor-coordinates input{min-height:38px;padding:7px 9px}.path-editor input[type=number]{font-size:14px}.path-editor-node-actions button{font-size:11px;min-height:36px}.path-editor-note{font-size:11px}.path-editor-note+.path-editor-note{font-size:10px}.path-editor-footer{padding:11px 13px;gap:10px}.path-editor-history{width:100%;gap:5px}.path-editor-history button{flex:1;font-size:10px;min-height:32px;padding:6px 7px}.path-editor-status{order:0;min-width:100px;flex:1;font-size:9px}.path-editor-final-actions{gap:5px}.path-editor-final-actions button{font-size:11px;min-height:36px;padding:8px 11px}.path-editor button.path-editor-apply{padding:8px 11px}}
@media(max-width:600px){.path-editor-tools button{font-size:11px;padding:6px 7px;min-width:0}.path-editor-body{overflow:auto}.path-editor-properties{overflow:visible;flex-shrink:0}.path-editor-selection,.path-editor-transforms{grid-column:1/-1}.path-editor-selection-actions button,.path-editor-transforms>button{min-height:38px;font-size:11px}.path-editor-transform-row{gap:12px}.path-editor-transform-row input{min-height:38px;padding:7px 9px}.path-editor-transforms summary{min-height:32px;font-size:12px}}
