#photos .nm-sort-photo{position:relative;overflow:hidden;border:1px dashed #dce2eb;border-radius:14px;background:#f7f8fb}
#photos .nm-sort-photo img{width:100%;height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none}
#photos .nm-photo-grip{position:absolute;bottom:7px;right:7px;width:44px;height:44px;padding:0;border:1px solid #e2e7f0;border-radius:12px;background:#fffffff2;color:#3255c9;font-size:27px;line-height:1;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
#photos .nm-photo-grip:active{cursor:grabbing}
#photos .nm-photo-number{position:absolute;bottom:9px;left:7px;padding:3px 6px;border-radius:6px;background:#fffffff0;color:#46556a;font-size:11px;font-weight:600;pointer-events:none}
#photos .remove-photo{top:5px;right:5px;width:36px;height:36px}
#photos .nm-photo-add{position:relative;display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center;gap:1px;cursor:pointer;color:#49618a;font-size:13px;overflow:hidden}
#photos .nm-photo-add>span:first-child{font-size:30px;color:#3154d6;line-height:1.1}
#photos .nm-photo-add small{font-size:11px;color:#718099}
#photos .nm-photo-add input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
#photos .nm-photo-add:focus-within,#photos .nm-photo-grip:focus-visible{outline:2px solid #3154d6;outline-offset:-3px}
#photos .nm-photo-dragging{opacity:.6}
#photos .nm-photo-drop{border:2px solid #4c68df;background:#eef2ff}
#photos button:disabled,#photos .nm-photo-add:has(input:disabled){opacity:.45;cursor:wait}
.nm-photo-order-status:empty{display:none}
