.card-photo-editor{box-sizing:border-box;width:min(900px,calc(100vw - 24px));max-height:92dvh;overflow:auto;border:2px solid #496b3d;border-radius:14px;padding:24px;color:#28382c;background:#fffaf0;font:16px/1.5 Arial,sans-serif}.card-photo-editor::backdrop{background:#172b21b3}.card-photo-editor h2{font:normal 30px Georgia,serif;margin:0 0 12px}.card-photo-editor label{display:block;margin:12px 0}.card-photo-editor select{display:block;max-width:100%;padding:10px;font:inherit}.card-photo-editor input[type=range]{display:block;width:100%;min-height:36px;accent-color:#496b3d}.card-photo-previews{display:grid;grid-template-columns:1.5fr 1fr;gap:16px;align-items:start}.card-photo-previews figure{margin:0;min-width:0}.card-photo-previews canvas{display:block;width:100%;height:auto;border-radius:6px;background:#f5f0e5;touch-action:none;cursor:grab}.card-photo-previews figcaption{font-size:14px;margin:6px 0}.card-photo-editor button{min-height:44px;border:1px solid #496b3d;border-radius:7px;padding:8px 16px;background:#fffdf7;color:#29452c;font:inherit;cursor:pointer}.card-photo-editor [data-frame-save]{background:#496b3d;color:white}.card-photo-editor :focus-visible{outline:3px solid #b58b21;outline-offset:3px}.card-photo-editor button:disabled{opacity:.5;cursor:default}.card-photo-arrows,.card-photo-editor .actions{display:flex;flex-wrap:wrap;gap:8px}.card-photo-editor [data-frame-status]{min-height:1.5em;font-size:14px}.card-photo-editor .small-note{font-size:14px}@media(max-width:520px){.card-photo-editor{padding:16px}.card-photo-previews{grid-template-columns:1fr 1fr;gap:10px}.card-photo-editor h2{font-size:25px}}
