/* Fenêtre de rognage de la capture d'écran (public/app/capture.js, 18/11/2026). Sombre dans les deux thèmes, cibles de 44 px. */
.udc-crop { position: fixed; inset: 0; z-index: 5000; display: flex; flex-direction: column; gap: 12px; padding: 16px; background: rgba(10, 10, 12, .92); color: #fff; font: 15px/1.4 Inter, system-ui, sans-serif; }
.udc-crop__bar { text-align: center; }
.udc-crop__title { margin: 0; font-size: 17px; font-weight: 700; }
.udc-crop__hint { margin: 2px 0 0; font-size: 13px; color: #D4D4D8; }
.udc-crop__stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.udc-crop__img { max-width: 100%; max-height: 100%; cursor: crosshair; touch-action: none; border-radius: 6px; box-shadow: 0 8px 32px rgba(0, 0, 0, .5); }
.udc-crop__sel { position: absolute; border: 2px solid #fff; outline: 1px dashed #D92662; box-shadow: 0 0 0 9999px rgba(0, 0, 0, .5); pointer-events: none; }
.udc-crop__sel[hidden] { display: none; }
.udc-crop__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.udc-crop__btn { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .5); background: transparent; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.udc-crop__btn--primary { background: #B4004B; border-color: #B4004B; }
.udc-crop__btn:disabled { opacity: .45; cursor: not-allowed; }
.udc-crop__btn:focus-visible { outline: 2px solid #8AB4FF; outline-offset: 2px; }
