.pfr-dialog{width:min(1200px,94vw);max-width:none;border:1px solid #d9ded5;border-radius:18px;background:#fffdf7;color:#26382f;padding:20px;max-height:94vh}.pfr-dialog::backdrop{background:#26382f80}.pfr-dialog header,.pfr-tools,.pfr-dialog footer{display:flex;align-items:center;gap:10px}.pfr-dialog header{justify-content:space-between;font-size:22px}.pfr-dialog button{font:inherit;cursor:pointer;background:#f4f6f0;border:1px solid #d9ded5;border-radius:9px;padding:8px 12px;color:inherit}.pfr-dialog main{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:16px;margin:14px 0}.pfr-viewport{position:relative;height:min(62vh,660px);overflow:hidden;background:#e9ece6;touch-action:none;border-radius:12px}.pfr-image{position:absolute;left:0;top:0;transform-origin:0 0}.pfr-image img,.pfr-image svg{position:absolute;inset:0;width:100%;height:100%}.pfr-image svg{overflow:visible;cursor:crosshair;touch-action:none}.pfr-image svg rect{fill:#63857324;stroke:#42785b;stroke-width:3;vector-effect:non-scaling-stroke}.pfr-image svg rect.is-selected{stroke:#c66425;fill:#c6642520}.pfr-image svg .pfr-handle{fill:#fff;stroke:#c66425;cursor:nwse-resize}.pfr-dialog aside{display:flex;flex-direction:column;gap:12px}.pfr-dialog input{box-sizing:border-box;width:100%;font:inherit;padding:8px;border:1px solid #ccd4c7;border-radius:8px}.pfr-list{display:flex;flex-direction:column;gap:6px;max-height:32vh;overflow:auto}.pfr-list .is-active{background:#e5eee3;border-color:#638573}.pfr-hint{font-size:13px;color:#687367}.pfr-dialog footer{justify-content:flex-end}.pfr-dialog [data-action=save]{background:#638573;color:#fff}.pfr-region-open{margin:6px 0}@media(max-width:700px){.pfr-dialog main{grid-template-columns:1fr}.pfr-dialog aside{display:grid;grid-template-columns:1fr 1fr}.pfr-viewport{height:48vh}.pfr-tools{flex-wrap:wrap}}

.pfr-dialog svg polygon,.pfr-dialog svg ellipse{fill:#647f6b33;stroke:#4a6e57;stroke-width:3;vector-effect:non-scaling-stroke;cursor:move}.pfr-dialog svg .pfr-protected{fill:#ce684133;stroke:#c45834}.pfr-dialog svg .pfr-handle{fill:#fff;stroke:#4a6e57;stroke-width:2}.pfr-tools{flex-wrap:wrap}.pfr-dialog aside select{width:100%;padding:8px}.pfr-dialog .pfr-status{color:#536a59;font-size:13px}.pfr-dialog svg{touch-action:none}
