/* Grip handles preserve scrolling on the exercise card itself. */
.reorder-handle{display:grid!important;place-items:center;flex:0 0 44px!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;touch-action:none!important;cursor:grab;border:0!important;border-radius:12px!important;background:transparent!important;color:var(--muted)!important;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.reorder-handle svg{width:18px;height:24px;fill:currentColor;pointer-events:none}
.reorder-handle:hover,.reorder-handle:focus-visible{background:var(--panel2)!important;color:var(--accent)!important}
.workout-exercise-head .workout-drag-handle{margin-left:-8px;margin-right:-4px;align-self:start}
.program-order .reorder-handle{margin:0}
body.is-reordering,body.is-reordering *{cursor:grabbing!important;user-select:none!important;-webkit-user-select:none!important}
body.is-reordering .workout-input-assist{display:none!important}
.is-reorder-source{display:none!important}
.reorder-placeholder{box-sizing:border-box;margin:0 0 14px;border:1.5px dashed var(--accent);border-radius:20px;background:color-mix(in srgb,var(--accent) 7%,transparent);min-height:94px;pointer-events:none}
.reorder-ghost{position:fixed!important;z-index:10005!important;box-sizing:border-box!important;max-height:148px!important;margin:0!important;overflow:hidden!important;pointer-events:none!important;opacity:.97;box-shadow:0 18px 50px #0005!important;outline:1px solid var(--accent);transform:scale(1.015)!important;transform-origin:50% 24px}
.reorder-ghost .workout-collapsible,.reorder-ghost .program-edit-photo,.reorder-ghost .program-how,.reorder-ghost .superset-toggle,.reorder-ghost .set-count-control,.reorder-ghost .program-remove{display:none!important}
.reorder-ghost .workout-exercise-head{margin-bottom:0!important}
.reorder-ghost .program-edit-controls{align-self:start}
.reorder-saving [data-reorder-handle]{opacity:.5;cursor:progress}
@media(prefers-reduced-motion:no-preference){.reorder-placeholder{transition:height .12s ease}}
