.eja-photo-prep{width:min(94vw,520px);max-height:90dvh;max-width:520px;border:0;border-radius:18px;padding:0;box-shadow:0 20px 70px #0008;background:#fff;color:#153858}
.eja-photo-prep::backdrop{background:#041529b8}
.eja-photo-prep-card{padding:15px;display:grid;gap:12px}
.eja-photo-prep-card>header,.eja-photo-prep-card>footer{display:flex;align-items:center;justify-content:space-between;gap:12px}
.eja-photo-prep-card>header button{border:0;border-radius:50%;font-size:24px;background:#e9f1fa;color:#174c7e;min-width:36px;min-height:36px}
.eja-photo-prep-card canvas{display:block;width:auto;max-width:100%;max-height:31dvh;object-fit:contain;margin:auto;border-radius:8px;background:#102a43}
.eja-photo-prep-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.eja-photo-prep-controls label{font-size:12px;display:grid;gap:4px;color:#294b6e}
.eja-photo-prep-controls input,.eja-photo-prep-controls select{max-width:100%;min-width:0;font:inherit}
.eja-photo-prep-card>footer button{padding:10px 12px;border-radius:9px;border:1px solid #b1c9df;color:#135281;background:#eaf5ff;font:inherit;cursor:pointer}
.eja-photo-prep-card>footer button[data-save]{background:#1265a8;color:#fff;border-color:#1265a8}
.eja-photo-prep-card [data-error]{color:#a12424;font-size:12px}
@media(max-width:370px){.eja-photo-prep-controls{grid-template-columns:1fr}.eja-photo-prep-card canvas{max-height:24dvh}}
