/* Isolated original-region export; the workspace and Wan theme stay unchanged. */
.rng-crop-dialog{box-sizing:border-box;width:min(1100px,96vw);max-width:96vw;max-height:94dvh;border:1px solid #cee0ed;border-radius:16px;padding:16px;color:#173449;background:#fff;overflow:auto;}
.rng-crop-dialog::backdrop{background:#0d2030bf;}
.rng-crop-dialog header{display:flex;gap:12px;justify-content:space-between;align-items:center;}
.rng-crop-dialog button{padding:9px 14px;border:1px solid #cee0ed;border-radius:8px;background:#f2f7fb;color:#173449;}
.rng-crop-dialog button:disabled{opacity:.55;}
.rng-crop-dialog>p{margin:10px 0;font-size:14px;}
.rng-crop-frame{height:clamp(240px,55dvh,550px);background:#182a38;}
.rng-crop-frame>img{display:block;max-width:100%;max-height:100%;}
.rng-crop-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:10px 0;}
.rng-crop-fields label{display:flex;flex-direction:column;font-size:13px;gap:4px;}
.rng-crop-fields input{min-width:0;width:100%;padding:8px;border:1px solid #aec6d7;border-radius:6px;font-size:16px;background:#fff;color:#173449;}
.rng-crop-controls{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px;}
.rng-crop-dialog details{margin-top:12px;}
.rng-crop-dialog summary{cursor:pointer;}
.rng-crop-dialog :is(button,input,summary):focus-visible{outline:2px solid #006dab;outline-offset:2px;}
.rng-crop-dialog .cropper-point{width:10px;height:10px;opacity:1;}
@media(max-width:600px){.rng-crop-dialog{padding:10px;}.rng-crop-fields{grid-template-columns:repeat(2,minmax(0,1fr));}}
