.photo-edit-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0 0}.photo-edit-actions button{min-height:44px}.photo-edit-summary{font-size:.82rem;color:#235b43;margin:6px 0}.image-edit-dialog{width:min(780px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:20px;box-sizing:border-box;border:1px solid #dce4d6;border-radius:18px;overflow:auto;background:#fff;color:#183428}.image-edit-dialog::backdrop{background:rgba(13,30,22,.6)}.edit-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.edit-heading h2{font-size:1.2rem;margin:0}.edit-heading button{min-height:44px;flex-shrink:0}.edit-stage{display:flex;justify-content:center;align-items:center;min-height:80px;background:repeating-conic-gradient(#e2e7df 0 25%,#f7f9f5 0 50%) 50%/20px 20px;border-radius:10px;overflow:hidden}.edit-stage canvas{display:block;max-width:100%;max-height:44dvh;width:auto;height:auto;touch-action:none;cursor:crosshair}.edit-stage canvas:focus-visible{outline:3px solid #a4ca59;outline-offset:-3px}.edit-summary{font-size:.9rem;color:#235b43;margin:10px 0}.edit-controls{display:grid;grid-template-columns:minmax(125px,1fr) minmax(0,2fr);gap:12px;align-items:end}.edit-controls .input-label{margin-top:0}.edit-controls select,.edit-fields input{width:100%;min-width:0;min-height:44px;box-sizing:border-box;padding:10px;border:1px solid #cdd9c5;border-radius:8px;font:inherit;background:#fff;color:inherit}.edit-turns{display:flex;gap:8px;flex-wrap:wrap}.edit-turns button{min-height:44px;padding:8px 12px;border:1px solid #cdd9c5;border-radius:8px;background:#f6f8f3;color:#235b43;font:inherit;cursor:pointer}.edit-exact{margin:10px 0}.edit-exact summary{min-height:44px;padding:12px 0;box-sizing:border-box;cursor:pointer}.edit-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.edit-fields label{display:block;font-size:.84rem;margin-bottom:6px}.edit-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}.edit-footer button{min-height:44px}.image-edit-dialog [hidden]{display:none!important}.image-edit-dialog button:disabled,.image-edit-dialog select:disabled{opacity:.5;cursor:default}.preview-tabs{flex-wrap:wrap}@media(max-width:600px){.image-edit-dialog{padding:14px}.edit-controls{grid-template-columns:1fr}.edit-turns button{flex:1}.edit-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.edit-stage canvas{max-height:36dvh}.edit-footer button{flex:1}}
