/* Artman Vrt Pro v1.6.3.4 — stable bed move and zoom editor patch */
body.av-planner-focus .layout-svg.brush-active .bed-rect{fill:#f5fbf2;stroke:#407a49;stroke-width:2.6}
body.av-planner-focus .layout-svg.brush-active{touch-action:none;user-select:none}
.plant-grid{pointer-events:all!important}
.plant-grid-cell{pointer-events:all!important;cursor:crosshair}
.plant-grid-cell rect{fill:#ffffff;fill-opacity:.42;stroke-width:1.15;stroke-dasharray:4 3}
.plant-grid-cell:hover rect{fill:#e8f7e5;fill-opacity:.82;stroke-width:2.1}
.plant-grid-cell.occupied rect{fill-opacity:.18;stroke-dasharray:none}
.plant-grid-cell.paint-preview rect{fill:#d9f1d5;fill-opacity:.78;stroke-width:2.2;stroke-dasharray:none}
.plant-grid-cell.erase-preview rect{fill:#f8d8d8;fill-opacity:.86;stroke:#b03030;stroke-width:2.1}
.plant-grid-caption{font-size:10px;font-weight:800;fill:#2d6736;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round;pointer-events:none}
.av33-editor-wrap{margin:4px 0 12px;padding:12px;background:linear-gradient(135deg,#eef8eb,#fff);border:1px solid #bcdab8;border-radius:14px;box-shadow:0 6px 20px rgba(30,80,33,.08)}
.av33-editor-head{display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap;margin:0 0 10px}.av33-editor-head b{color:#2d6736;font-size:1rem}.av33-editor-head span{color:#536653;font-size:.84rem;line-height:1.4;flex:1 1 380px}.av33-editor-head .btn-ghost{margin-left:auto;background:#fff;border:1px solid #c2dbc0}
.av33-editor-canvas{overflow:auto;max-height:72vh;background:#f8f5e9;border:1px solid #dacfb4;border-radius:10px}
.av33-editor-svg{display:block;min-width:700px;touch-action:none;user-select:none}.av33-plot{fill:#eee7d4;stroke:#92764f;stroke-width:2.5}.av33-grid{stroke:#0000001c;stroke-width:1}.av33-bed-main{stroke-width:3;fill-opacity:.95}.av33-bed.ground .av33-bed-main{fill:#e6f0dc;stroke:#5e9046}.av33-bed.raised .av33-bed-main{fill:#eedbb8;stroke:#ae8243}.av33-bed.selected .av33-bed-main{stroke:#1f672e;stroke-width:4;filter:drop-shadow(0 2px 4px rgba(20,80,30,.22))}.av33-bed .av33-title{font-size:17px;font-weight:800;fill:#274d2e;pointer-events:none}.av33-bed .av33-dim{font-size:11px;fill:#405441;pointer-events:none}.av33-plant{opacity:.8;pointer-events:none}.av33-handle{fill:#fff;stroke:#2f6b3a;stroke-width:2.6;cursor:nwse-resize}.av33-handle[data-av33-action="resize-ne"],.av33-handle[data-av33-action="resize-sw"]{cursor:nesw-resize}.av33-handle[data-av33-action="resize-n"],.av33-handle[data-av33-action="resize-s"]{cursor:ns-resize}.av33-handle[data-av33-action="resize-e"],.av33-handle[data-av33-action="resize-w"]{cursor:ew-resize}.av33-rotate-line{stroke:#2f6b3a;stroke-width:2;pointer-events:none}.av33-rotate{fill:#fff;stroke:#2f6b3a;stroke-width:3;cursor:grab}.av33-bed[data-av33-kind]{cursor:move}.av33-north{font-size:18px;font-weight:800;fill:#315a34;pointer-events:none}.av33-object-label{font-size:10px;font-weight:700;fill:#334d34;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round;pointer-events:none}.av33-object-field{display:flex!important;align-items:center;gap:6px;flex-wrap:wrap}.av33-object-field input{min-width:170px}
@media(max-width:760px){.av33-editor-wrap{padding:10px}.av33-editor-head .btn-ghost{margin-left:0;width:100%}.av33-editor-svg{min-width:640px}.av33-editor-canvas{max-height:62vh}}

/* v1.6.3.4 editor usability: direct drag and zoom */
.av33-editor-canvas{border:1px solid #d7e4d3;background:#fbfcfa;border-radius:12px;overflow:auto;max-height:min(74vh,780px);overscroll-behavior:contain;scrollbar-gutter:stable both-edges}
.av33-editor-viewport{position:relative;min-width:100%;min-height:100%}
.av33-editor-svg{display:block;min-width:0!important;transform-origin:top left;touch-action:none;user-select:none;will-change:transform}
.av33-editor-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 14px;border:1px solid #d7e4d3;border-bottom:0;background:#f5faf3;border-radius:12px 12px 0 0;color:#355f3c}
.av33-move-state{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#e1f0df;color:#246232;font-weight:800}
.av33-zoom-label{font-weight:700;margin-left:4px}.av33-zoom-btn{min-width:34px;padding:5px 10px;font-size:1.14rem;line-height:1}.av33-zoom-value{display:inline-block;min-width:52px;text-align:center;font-weight:800;color:#254d2b}.av33-fit-btn{padding:5px 10px}.av33-editor-hint{font-size:.88rem;color:#59695b}
.av33-bed:not(.selected) .av33-handle,.av33-bed:not(.selected) .av33-rotate-line{display:none}.av33-bed .av33-bed-main{cursor:grab}.av33-bed.dragging .av33-bed-main{cursor:grabbing}.av33-bed.selected .av33-bed-main{cursor:grab}
@media(max-width:760px){.av33-editor-canvas{max-height:62vh}.av33-editor-hint{width:100%;font-size:.82rem}.av33-editor-tools{gap:6px}}
