/* Crop only the small photo swatch. Retain the existing color-swatch dimensions and focus ring. */
.note-option-choice > .note-swatch--photo {
    overflow: hidden;
}
.note-option-choice > .note-swatch--photo > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right top;
    transform: scale(2);
    transform-origin: right top;
    pointer-events: none;
}
.note-gallery > [data-note-gallery-main][data-showing-swatch-image] img {
    object-fit: contain;
}

/* Match the frame to a square upload instead of cropping or stretching it. */
.note-gallery > [data-note-gallery-main][data-square-swatch-image] {
    aspect-ratio: 1 / 1;
}
