.cms-crop-dialog{border:1px solid var(--line);width:min(860px,100% - 28px);max-width:none;max-height:94dvh;color:var(--ink);background:#fff;border-radius:8px;margin:auto;padding:0;position:fixed;inset:0;overflow:auto}.cms-crop-dialog::backdrop{background:#071923b8}.cms-crop-header,.cms-crop-controls,.cms-crop-actions{align-items:center;gap:12px 24px;padding:12px clamp(12px,3vw,26px);display:flex}.cms-crop-header{border-bottom:1px solid var(--line);justify-content:space-between}.cms-crop-header h2{font:600 1.4rem/1.2 var(--headline)}.cms-crop-header button{place-items:center;width:44px;height:44px;display:grid}.cms-crop-controls{flex-wrap:wrap}.cms-crop-controls label{font:650 .87rem/1.4 var(--body);flex-wrap:wrap;align-items:center;gap:5px 10px;display:flex}.cms-crop-controls select{background:#fff;border:1px solid #9cb1bb;min-height:40px;padding:4px 8px}.cms-crop-zoom{flex:1}.cms-crop-zoom input{accent-color:var(--ocean);flex:1;min-width:85px}.cms-crop-zoom output{min-width:3em;color:var(--ocean);font-variant-numeric:tabular-nums}.cms-crop-hint,.cms-crop-error{color:var(--muted);padding:0 clamp(12px,3vw,26px) 10px;font-size:.85rem}.cms-crop-error{color:#a82136;padding-top:9px}.cms-crop-workspace{background:#132936;place-items:center;padding:18px;display:grid}.cms-crop-surface{width:fit-content;max-width:100%;display:grid;position:relative}.cms-crop-surface img{-webkit-user-select:none;user-select:none;width:auto;max-width:100%;height:auto;max-height:55dvh;display:block}.cms-crop-frame{cursor:move;touch-action:none;background-image:linear-gradient(90deg,#0000 33%,#ffffff85 33% calc(33% + 1px),#0000 calc(33% + 1px) 66%,#ffffff85 66% calc(66% + 1px),#0000 calc(66% + 1px)),linear-gradient(#0000 33%,#ffffff85 33% calc(33% + 1px),#0000 calc(33% + 1px) 66%,#ffffff85 66% calc(66% + 1px),#0000 calc(66% + 1px));border:2px solid #fff;position:absolute;box-shadow:0 0 0 200vmax #071822a8}.cms-crop-surface{isolation:isolate}.cms-crop-workspace{overflow:hidden}.cms-crop-handle{touch-action:none;place-items:center;width:25px;height:25px;display:grid;position:absolute;translate:-50% -50%}.cms-crop-handle:after{content:"";background:#fff;border:1px solid #8ca4b0;border-radius:50%;width:10px;height:10px}.cms-crop-handle[data-crop-handle*=n]{top:0}.cms-crop-handle[data-crop-handle*=s]{top:100%}.cms-crop-handle[data-crop-handle*=w]{left:0}.cms-crop-handle[data-crop-handle*=e]{left:100%}.cms-crop-handle:is([data-crop-handle=n],[data-crop-handle=s]){cursor:ns-resize;left:50%}.cms-crop-handle:is([data-crop-handle=w],[data-crop-handle=e]){cursor:ew-resize;top:50%}.cms-crop-handle:is([data-crop-handle=nw],[data-crop-handle=se]){cursor:nwse-resize}.cms-crop-handle:is([data-crop-handle=ne],[data-crop-handle=sw]){cursor:nesw-resize}.cms-crop-actions{flex-wrap:wrap;justify-content:space-between}.cms-crop-actions>div{flex-wrap:wrap;gap:7px;margin-inline-start:auto;display:flex}.cms-crop-actions .text-link{min-height:40px}@media (max-width:540px){.cms-crop-dialog{max-height:95dvh}.cms-crop-header,.cms-crop-controls,.cms-crop-actions{gap:6px 10px}.cms-crop-surface img{max-height:45dvh}.cms-crop-actions .button{padding-inline:10px}}
