.chat-cropper { position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; min-width: 0; min-height: 0; overflow: hidden;
  padding: 24px; box-sizing: border-box; }
.chat-cropper__board { position: relative; flex: 0 0 auto; }
.chat-cropper__image { display: block; width: 100%; height: 100%; pointer-events: none; }
.chat-cropper__selection { position: absolute; box-sizing: border-box; border: 2px solid #b7e0d4;
  box-shadow: 0 0 0 9999px rgba(5, 10, 12, .67); cursor: move; touch-action: none; }
.chat-cropper__selection:focus-visible { outline: 2px solid white; outline-offset: 4px; }
.chat-cropper__selection > button.chat-cropper__handle { position: absolute; display: block;
  width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; margin: 0;
  border: 0; border-radius: 0; background: transparent; box-shadow: none;
  transform: translate(-50%, -50%); touch-action: none; z-index: 1; }
.chat-cropper__handle::after { content: ''; position: absolute; left: 15px; top: 15px;
  width: 14px; height: 14px; border: 2px solid #172d27; border-radius: 50%;
  background: #e6fff6; box-sizing: border-box; box-shadow: 0 1px 5px #0008; }
.chat-cropper__handle:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.chat-cropper__handle--nw { left: 0; top: 0; cursor: nwse-resize; }
.chat-cropper__handle--ne { left: 100%; top: 0; cursor: nesw-resize; }
.chat-cropper__handle--sw { left: 0; top: 100%; cursor: nesw-resize; }
.chat-cropper__handle--se { left: 100%; top: 100%; cursor: nwse-resize; }
.chat-cropper__sr { position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.chat-crop-host { flex: 1 1 auto; width: 100%; height: 100%; min-width: 0; min-height: 0; }
.chat-crop-host[hidden] { display: none !important; }
.chat-image-viewer .chat-image-viewer__crop-actions { display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; padding: 8px 16px max(16px, env(safe-area-inset-bottom)); }
.chat-image-viewer [hidden] { display: none !important; }
.chat-image-viewer__crop-status { margin: 0; padding: 4px 16px; text-align: center;
  font-size: 14px; line-height: 1.4; }
.chat-image-viewer .chat-image-viewer__apply { background: #508575; border-color: #7db6a5; }