.photo-crop{box-sizing:border-box;font-family:inherit;width:min(760px,calc(100vw - 24px));max-height:92dvh;overflow:auto;border:0;border-radius:24px;padding:18px;background:#fff;color:#19382b;box-shadow:0 20px 80px #132d2440}.photo-crop::backdrop{background:#10291ed9}.photo-crop-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.photo-crop h2{font-size:18px;font-weight:700;margin:0}.photo-crop button{border:1px solid #dce7e0;border-radius:12px;padding:9px 14px;background:white;color:#147546;font:inherit;cursor:pointer}.photo-crop button:focus-visible{outline:3px solid #72c29c;outline-offset:2px}.photo-crop button:disabled{opacity:.5;cursor:wait}.photo-crop canvas{display:block;max-width:100%;margin:18px auto 10px;touch-action:none;background:repeating-conic-gradient(#edf1ee 0% 25%,white 0% 50%) 0/16px 16px}.photo-crop p{font-size:12px;text-align:center;color:#60776a;margin:8px 0}.photo-crop-ratios,.photo-crop-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:12px}.photo-crop-actions [data-use]{background:#0c9855;color:#fff;flex:1}.photo-crop-preview{display:block;max-width:100%;max-height:45vh;object-fit:contain;margin:14px auto;background:repeating-conic-gradient(#edf1ee 0% 25%,white 0% 50%) 0/16px 16px}.photo-crop-preview[hidden]{display:none}.photo-crop-thumbnails{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.photo-crop-thumbnails img{width:96px;height:96px;object-fit:contain;border:1px solid #dce7e0;border-radius:12px;background:repeating-conic-gradient(#edf1ee 0% 25%,white 0% 50%) 0/16px 16px}

.photo-crop [hidden]{display:none!important}
