.pdw-editor{margin:24px 0;padding:18px;border:1px solid #e1e4e8;border-radius:12px;background:#fff;color:#1d2327}
.pdw-editor-head h3{margin:0 0 4px;font-size:1.35rem}
.pdw-editor-head p{margin:0 0 14px;color:#646970}
.pdw-toolbar{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 12px}
.pdw-toolbar .button{margin:0;min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:5px}
.pdw-toolbar .is-active{background:#1d2327;color:#fff;border-color:#1d2327}
.pdw-upload-label{cursor:pointer}
.pdw-properties{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin:0 0 12px;padding:10px 12px;background:#f6f7f7;border-radius:8px}
.pdw-properties label{display:flex;align-items:center;gap:7px;font-weight:600;margin:0}
.pdw-properties input[type=number]{width:86px}
.pdw-properties input[type=color]{width:44px;height:34px;padding:2px}
.pdw-properties input[type=range]{width:130px}
.pdw-canvas-shell{position:relative;width:100%;max-width:100%;aspect-ratio:var(--pdw-aspect);background-color:#fff;background-image:linear-gradient(45deg,#f5f5f5 25%,transparent 25%),linear-gradient(-45deg,#f5f5f5 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#f5f5f5 75%),linear-gradient(-45deg,transparent 75%,#f5f5f5 75%);background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0;border:1px solid #ccd0d4;border-radius:8px;overflow:hidden}
.pdw-canvas-shell .canvas-container{position:absolute!important;inset:0;margin:auto}
.pdw-safe-guide{position:absolute;pointer-events:none;z-index:3;left:var(--pdw-mx);right:var(--pdw-mx);top:var(--pdw-my);bottom:var(--pdw-my);border:2px dashed rgba(214,54,56,.55);border-radius:3px}
.pdw-help{font-size:.88em;color:#646970;margin:7px 0 0}
.pdw-status{min-height:1.4em;margin:7px 0 0;font-weight:600}
.pdw-status.is-success{color:#008a20}
.pdw-status.is-error{color:#b32d2e}
.pdw-status.is-working{color:#996800}
.pdw-editor.is-drawing .pdw-canvas-shell{cursor:crosshair}
@media(max-width:700px){.pdw-editor{padding:12px}.pdw-toolbar .button{flex:1 1 calc(33.333% - 7px);font-size:.9rem}.pdw-properties{align-items:flex-start}.pdw-properties label{flex:1 1 100%;justify-content:space-between}.pdw-properties input[type=range]{flex:1}.pdw-canvas-shell{border-radius:5px}}
