.photo-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px;flex-wrap:wrap}
.photo-toolbar>label{width:min(100%,360px)}
.photo-toolbar .row-actions{gap:12px}
.photo-group{margin-bottom:32px}
.photo-group h2{font-size:19px;font-weight:600;margin:0 0 18px;overflow-wrap:anywhere}
.photo-group h2 small{color:var(--muted);font-weight:400;margin-left:10px;white-space:nowrap}
.photo-card{min-width:0}
.photo-card{position:relative}
.photo[draggable=true]{cursor:grab;user-select:none}
.photo[draggable=true]:active{cursor:grabbing}
.photo-card .photo .photo-drag-hint{display:block;font-size:13px;color:var(--muted);padding:4px 0 8px}
.photo-dragging{opacity:.45}
.photo-drop-before::before,.photo-drop-after::after{content:'';position:absolute;top:0;bottom:0;width:4px;background:var(--accent);border-radius:4px;pointer-events:none}
.photo-drop-before::before{left:-10px}
.photo-drop-after::after{right:-10px}
@media(max-width:640px){.photo-drop-before::before,.photo-drop-after::after{left:0;right:0;width:auto;height:4px}.photo-drop-before::before{top:-10px;bottom:auto}.photo-drop-after::after{top:auto;bottom:-10px}}
.photo-card .photo{width:100%;display:block}
.photo-card .photo span{overflow-wrap:anywhere}
.photo-actions{display:flex;flex-wrap:wrap;gap:8px 20px;padding:0 0 8px}
.photo-actions .text-button{min-height:44px;white-space:normal;text-align:left}
.photo-order-status{font-size:14px;color:var(--muted);margin:0 0 18px;overflow-wrap:anywhere}
.photo-order-status[role=alert]{color:var(--text)}
.photo-order-controls{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:4px 0 16px}
.photo-order-controls button{min-height:44px;padding:8px 12px}
.photo-order-controls span{font-size:13px;color:var(--muted);white-space:nowrap}
.photo-order-controls button:disabled{opacity:.45;cursor:default}
.photo-selection{display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:16px;background:var(--soft);border:1px solid var(--line);border-radius:var(--radius);margin-bottom:24px}
.photo-selection>span{color:var(--muted);font-size:14px}
.photo-selection>button{margin-left:auto}
.photo-selection label,.photo-choice{display:flex;flex-direction:row;align-items:center;gap:9px}
.photo-selection input,.photo-choice input{width:20px;height:20px;accent-color:var(--accent);flex-shrink:0}
.photo-choice{padding:5px 0 12px;min-height:44px}
.photo-choice .sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.photo-card:has(input:checked){outline:2px solid var(--accent);outline-offset:6px;border-radius:6px}
@media(max-width:640px){.photo-toolbar .row-actions{width:100%}.photo-toolbar .row-actions>button{flex:1;white-space:normal}.photo-toolbar>label{width:100%}.photo-selection>button{width:100%;margin-left:0}}
