.crop-dialog{box-sizing:border-box;width:min(700px,96vw);max-height:94dvh;overflow:auto;border:1px solid #b9dbe9;border-radius:18px;padding:18px;background:#f6fbff;color:#163e56}.crop-dialog::backdrop{background:#102c4080}.crop-dialog header,.crop-tools{display:flex;justify-content:space-between;gap:8px;align-items:center;flex-wrap:wrap}.crop-dialog h2{font-size:22px;margin:0}.crop-dialog p{font-size:15px;line-height:1.6}.crop-dialog canvas{display:block;max-width:100%;max-height:54dvh;width:auto;height:auto;margin:12px auto;touch-action:none}.crop-dialog button{font-size:16px;min-height:44px;padding:8px 12px;border-radius:10px;border:1px solid #b9dbe9;background:white;color:#163e56;touch-action:manipulation}.crop-dialog [data-c=save]{background:#007da3;color:white;width:100%;margin-top:8px}.crop-dialog button:disabled{opacity:.5}
