.photo-crop-dialog{width:min(720px,94vw);max-height:94vh;overflow:auto;box-sizing:border-box;border:1px solid #9eb7aa;border-radius:10px;padding:20px;color:#263a31;background:#fffdf8;box-shadow:0 16px 70px #0005}.photo-crop-dialog::backdrop{background:#162d27b5}.photo-crop-dialog header{display:block;height:auto;padding:0;margin:0;border:0}.photo-crop-dialog h2{font:600 22px 'Segoe UI',sans-serif;margin:0 0 5px}.photo-crop-dialog .crop-name{font-size:12px;overflow-wrap:anywhere;margin:0 0 8px}.photo-crop-dialog label{font-size:12px;display:block}.photo-crop-stage{display:flex;justify-content:center;align-items:center;max-width:100%;overflow:hidden;margin:12px 0;background:#e1e7e2;border-radius:5px}.photo-crop-stage canvas{display:block;max-width:100%;touch-action:none;cursor:crosshair}.photo-crop-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.photo-crop-fields input{width:100%;box-sizing:border-box;padding:7px}.photo-crop-dialog .crop-size{font-size:12px;margin:10px 0}.photo-crop-dialog footer{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;position:sticky;bottom:-20px;background:#fffdf8;padding:12px 0;margin:0;border-top:1px solid #dde5df}.photo-crop-dialog footer button{margin:0}.photo .photo-crop-button{border:1px solid #9eb7aa;border-radius:4px;background:#f3f8f4;font-size:11px;padding:7px;white-space:nowrap}.photo .photo-crop-button:focus-visible{outline:2px solid #316f58;outline-offset:2px}@media(max-width:500px){.photo-crop-dialog{padding:14px}.photo-crop-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-crop-dialog footer{bottom:-14px}.photo{gap:5px}.photo .photo-crop-button{font-size:10px;padding:5px}.photo img{width:38px;height:38px}}
