*,:before,:after{box-sizing:border-box}html,body{color:#1e293b;background:#f8fafc;height:100%;margin:0;font-family:system-ui,sans-serif;font-size:14px}#app{grid-template-rows:auto 1fr auto;height:100%;display:grid}#toolbar,#status{background:#fff;border:0 solid #e2e8f0;align-items:center;gap:12px;padding:6px 12px;display:flex}#toolbar{border-bottom-width:1px;font-weight:600}#status{font-variant-numeric:tabular-nums;color:#475569;border-top-width:1px}#stage{min-height:0;position:relative;overflow:hidden}#plan{touch-action:none;-webkit-user-select:none;user-select:none;cursor:crosshair;background:#fff;width:100%;height:100%;display:block}#plan[data-tool=navigate],#plan.is-space{cursor:grab}#plan.is-panning{cursor:grabbing}#toolbar{flex-wrap:wrap}.toolbar-title{margin-right:auto}.toolbar-separator{background:#e2e8f0;align-self:stretch;width:1px}#toolbar button[aria-pressed=true]{color:#fff;background:#1e293b;border-color:#1e293b}#toolbar button:disabled{opacity:.4;cursor:default}#toolbar button[hidden]{display:none}#status{flex-wrap:wrap;justify-content:space-between}.status-info.is-error{color:#b91c1c;font-weight:600}#toolbar button{font:inherit;color:inherit;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:4px 10px;font-weight:500}#toolbar button:not(:disabled):not([aria-pressed=true]):hover{background:#f1f5f9}#layer-grid,#layer-overlay{pointer-events:none}.grid-minor,.grid-major{fill:none;stroke-width:1px;shape-rendering:crispedges}.grid-minor{stroke:#eef2f6}.grid-major{stroke:#d5dde7}.origin-x{stroke:#dc2626;stroke-width:2px}.origin-x-head{fill:#dc2626}.origin-y{stroke:#16a34a;stroke-width:2px}.origin-y-head{fill:#16a34a}.origin-dot{fill:#1e293b}.origin-label{fill:#475569;font-size:12px;font-weight:600}#layer-walls,#layer-preview{pointer-events:none}.wall{stroke:#334155;stroke-linecap:square}.wall-preview{stroke:#3b82f6;stroke-opacity:.45;stroke-linecap:square}.guide-ray{stroke:#3b82f6;stroke-width:1px;stroke-dasharray:6 4;opacity:.7}.vertex-dot{fill:#fff;stroke:#334155;stroke-width:1.5px}.anchor-marker{fill:#3b82f6;stroke:#fff;stroke-width:2px}.snap-marker{fill:none;stroke:#ea580c;stroke-width:2px}.length-label{font-variant-numeric:tabular-nums;text-anchor:middle;dominant-baseline:middle;fill:#1e3a8a;stroke:#fff;stroke-width:4px;stroke-linejoin:round;paint-order:stroke;font-size:13px;font-weight:600}
