.crop-preview{position:relative;touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}
.photo-card:last-child .crop-preview,.map-photo-card .crop-preview{height:230px}
.crop-preview.dragging{cursor:grabbing;outline:3px solid #b98a3666}
.crop-preview img{pointer-events:none;will-change:transform}
.crop-help{text-align:center;margin:-4px 0 10px;color:#667085;font-size:13px}
.photo-view-modes{display:grid;grid-template-columns:1fr 1.45fr;gap:8px;margin:8px 0 16px}
.photo-view-modes button{min-height:46px;border:1px solid #c9c2b5;border-radius:11px;background:#fff;color:#182238;font-weight:700}
.photo-view-modes button.active{border-color:#b98a36;background:#f7efdf;color:#7c581b;box-shadow:0 0 0 2px #b98a3622}
.crop-pad{display:grid;grid-template-columns:repeat(3,56px);grid-template-areas:". up ." "left center right" ". down .";justify-content:center;gap:6px;margin:8px 0 18px}
.crop-pad button{width:56px;height:46px;border:1px solid #c9c2b5;border-radius:11px;background:#fff;color:#182238;font-size:21px;font-weight:700}
.crop-pad button:active{background:#f1e6cf;transform:scale(.96)}
.crop-pad [data-move=up]{grid-area:up}
.crop-pad [data-move=left]{grid-area:left}
.crop-pad [data-move=center]{grid-area:center;font-size:13px}
.crop-pad [data-move=right]{grid-area:right}
.crop-pad [data-move=down]{grid-area:down}
.fine-controls{margin-top:12px;border-top:1px solid #ece7df;padding-top:10px}
.fine-controls summary{cursor:pointer;color:#536079;font-weight:700;font-size:14px;margin-bottom:10px}
.fine-controls label+label{margin-top:10px}
.coord-source{margin-top:22px;padding:18px;border:2px solid #d7c08e;border-radius:14px;background:#fffaf0}
.coord-source .muted{margin:6px 0 14px;font-size:13px}
@media(max-width:640px){.crop-preview,.photo-card:last-child .crop-preview{height:280px}
.crop-pad button{height:50px}
}
