*{box-sizing:border-box}html,body{margin:0;min-height:100%;height:100%;background:#151d28;color:#e6edf5;font:14px 'Segoe UI',Arial,sans-serif}body{display:flex;flex-direction:column}h1,h2,p{margin:0}button,input,select,textarea,a.button{font:inherit}button,a.button{border:1px solid #3d4a59;background:#253140;color:#d9e6f2;border-radius:7px;padding:9px 12px;cursor:pointer;text-decoration:none;white-space:nowrap}button:hover,a.button:hover{background:#344355;color:white}button:disabled{opacity:.35;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,svg:focus-visible{outline:2px solid #8af2d1;outline-offset:2px}button.primary{background:#8aebcf;color:#123c32;border-color:#8aebcf;font-weight:600}button.primary:hover{background:#b4fbe6}input,select,textarea{border:1px solid #3f4f60;border-radius:6px;background:#1b2734;color:#e1edf7;padding:9px;width:100%;min-width:0}input[type=checkbox]{width:auto;accent-color:#8aebcf}label{display:block;font-size:12px;color:#a9bac9}label input{margin-top:6px;font-size:14px}.editor-header{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 24px}.title{display:flex;align-items:center;gap:12px}.logo{color:#8aebcf;font-size:35px}h1{font-size:21px;font-weight:600;letter-spacing:-.4px}.title p{font-size:12px;color:#91a8bc;margin-top:5px}.commands{display:flex;justify-content:space-between;gap:12px;padding:0 24px 16px}.command-group{display:flex;align-items:center;gap:7px}.check{display:flex;align-items:center;gap:6px;font-size:12px;white-space:nowrap}.check input{margin:0}.separator{height:20px;background:#394656;width:1px;margin:0 5px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 264px;gap:14px;flex:1;min-height:0;padding:0 24px 20px}.map-panel{border:1px solid #3b4a5b;border-radius:12px;overflow:hidden;background:#e8eef1;display:flex;flex-direction:column;min-height:380px}.map-heading{display:flex;justify-content:space-between;padding:14px 18px;color:#436075;background:#f4f8fa;border-bottom:1px solid #d1dde4;font-size:11px;letter-spacing:1.2px;font-weight:600}.map-heading span:first-child{display:flex;align-items:center;gap:7px}.map-heading i{width:6px;height:6px;background:#56af9a;border-radius:50%}.map-canvas{position:relative;flex:1;min-height:0}#plan{display:block;width:100%;height:100%;touch-action:none;user-select:none}.map-tools{position:absolute;right:14px;bottom:14px;display:flex;gap:4px}.map-tools button{padding:0;width:35px;height:35px;background:#fff;color:#2a485e;border:1px solid #b7c9d6;font-size:22px;box-shadow:0 3px 9px #22374b18}.map-footer{display:flex;justify-content:space-between;gap:12px;padding:11px 14px;background:#f4f8fa;color:#577186;font-size:11px;border-top:1px solid #d1dde4}.sidebar{background:#1b2734;border:1px solid #3c4b5b;border-radius:12px;padding:17px;display:flex;flex-direction:column;min-height:0;overflow:auto}.inspector-title{display:flex;justify-content:space-between;align-items:center;color:#8eacbe;font-size:10px;letter-spacing:1.2px;margin-bottom:15px}#selected-code{background:#344a55;color:#9bf1d7;border-radius:4px;padding:3px 6px;letter-spacing:0}.empty-selection{text-align:center;padding:7px 7px 25px}.empty-selection>div{font-size:32px;color:#7694aa;margin-bottom:6px}.empty-selection h2{font-size:16px;margin-bottom:8px}.empty-selection p{font-size:12px;color:#9cb1c2;line-height:1.6}#inspector>label{margin-bottom:12px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:12px}.object-actions{display:flex;gap:5px}.object-actions button{flex:1;padding:8px 7px}.object-actions button.delete{flex:0 0 31px;color:#f1a5a8;font-size:19px}.position-note{min-height:30px;color:#93aebf;font-size:11px;line-height:1.45;margin:10px 0 12px}.position-note.warning{color:#ffc48c}.list-heading{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #3b4a5a;padding-top:15px;margin-bottom:10px}.list-heading h2{font-size:15px;font-weight:600}.list-heading span{font-size:12px;color:#8ca5ba}#search{font-size:12px;margin-bottom:7px}#category{font-size:12px;margin-bottom:10px}#object-list{overflow:auto;min-height:90px;flex:1;max-height:370px;scrollbar-width:thin}.object-row{display:flex;width:100%;gap:8px;align-items:center;border:1px solid transparent;padding:9px 7px;background:transparent;text-align:left;border-radius:5px;font-size:12px;white-space:normal;margin-bottom:2px}.object-row[aria-pressed=true]{border-color:#72bdaa;background:#79dec019;color:#bcfbe9}.object-row .swatch{flex:0 0 9px;width:9px;height:9px;border-radius:2px}.object-row small{margin-left:auto;color:#92a8b9;font-size:10px;white-space:nowrap}.sidebar-foot{border-top:1px solid #3c4b5b;padding-top:12px;margin-top:12px;color:#8aa1b5;font-size:11px;line-height:1.6}.text-button{border:0;background:transparent;padding:11px 0 0;color:#a5bbcc;font-size:11px;text-decoration:underline}.object{cursor:grab;outline:none}.object:active{cursor:grabbing}.object rect,.object path,.object ellipse,.object circle{vector-effect:non-scaling-stroke}.object.selected>.outline{stroke:#08785f;stroke-width:2.5;stroke-dasharray:5 3;fill:#36c8960d}.object text{pointer-events:none;fill:#233f52;font-family:'Segoe UI',Arial,sans-serif;font-size:.49px;font-weight:700;text-anchor:middle;dominant-baseline:central;paint-order:stroke;stroke:#fff9;stroke-width:.09px}.object .outline{fill:none;stroke:transparent;stroke-width:2}.object:hover>.outline,.object:focus-visible>.outline{stroke:#2e9d88;stroke-width:2}.object.selected>.outline{stroke:#08785f}dialog{width:min(680px,calc(100% - 32px));padding:24px;border:1px solid #526679;background:#1b2734;color:#e6edf5;border-radius:14px;box-shadow:0 30px 100px #0006}dialog::backdrop{background:#07111ac9;backdrop-filter:blur(4px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.dialog-heading button{padding:0;width:30px;height:30px;font-size:22px;border:0;background:transparent}dialog h2{font-size:20px}dialog p{line-height:1.6;color:#b6c9d8;margin:12px 0}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}#transfer-text{height:300px;resize:vertical;font:12px Consolas,monospace;white-space:pre}#transfer-error{color:#ffc09c;font-size:13px}#reset-dialog form{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:30;padding:12px 20px;border:1px solid #74cdb5;background:#21463d;color:#b9ffe7;border-radius:10px;box-shadow:0 8px 40px #0004;font-size:13px;max-width:90%;text-align:center}[hidden]{display:none!important}
@media(max-width:1000px){.editor-header{padding:16px}.commands{padding:0 16px 12px;flex-wrap:wrap}.workspace{padding:0 16px 16px;grid-template-columns:minmax(0,1fr) 230px;gap:10px}.sidebar{padding:13px}.map-footer{flex-direction:column;gap:3px}h1{font-size:18px}.command-group button{font-size:12px}.map-heading{padding:12px}}
@media(max-width:650px){html,body{height:auto;min-height:100%}.editor-header{gap:7px;align-items:flex-start}.logo{font-size:27px}.title{gap:7px}h1{font-size:16px}.title p{font-size:10px}.editor-header a{font-size:11px;padding:8px}.commands{gap:9px}.command-group{flex-wrap:wrap}.workspace{display:flex;flex-direction:column;padding:0 10px 10px}.map-panel{height:68vh;min-height:460px;flex:none}.map-footer{font-size:10px}.sidebar{overflow:visible}.fields{grid-template-columns:1fr 1fr}#object-list{max-height:230px;min-height:130px}.empty-selection{padding:8px}.inspector-title{margin-bottom:8px}.dialog-actions{flex-wrap:wrap}.commands .primary{font-size:12px}}
.object line{vector-effect:non-scaling-stroke}
