/* Existing answer rows plus a compact, touch-safe sorting grip. */
.reorder-handle{display:grid;place-items:center;width:32px;min-height:44px;padding:0;border:0;border-radius:7px;background:transparent;color:#6585b0;font-size:23px;line-height:1;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;flex:none}
.reorder-handle:hover{background:#eaf2ff;color:#145dae}
.reorder-handle:focus-visible{outline:2px solid #246fbe;outline-offset:2px}
.reorder-handle:active{cursor:grabbing}
.reorder-help,.reorder-status{color:#657c99;font-size:12px;line-height:1.6;margin:7px 0}
.reorder-status:empty{display:none}
.source-ordering[data-reorder-list] li{grid-template-columns:32px 34px minmax(0,1fr) 82px;gap:9px;cursor:grab}
.source-ordering[data-reorder-list] li>strong{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.source-ordering[data-reorder-list]:before{display:none}
.is-sorting,.is-sorting *{user-select:none!important;-webkit-user-select:none!important;cursor:grabbing!important}
[data-reorder-item].is-reordering{opacity:.35;outline:2px dashed #4c8dce;outline-offset:1px}
.reorder-ghost{position:fixed!important;z-index:10000!important;box-sizing:border-box;pointer-events:none!important;margin:0!important;opacity:.97!important;list-style:none;display:grid;grid-template-columns:32px 34px minmax(0,1fr) 82px;gap:9px;align-items:center;min-height:64px;padding:11px 12px;border:1px solid #4c8dce!important;border-radius:10px;background:#f4f9ff!important;color:#173d74;box-shadow:0 12px 32px #0b407e33!important;transform:scale(1.015);transition:none!important}
.reorder-ghost strong{font-size:14px;line-height:1.5}
.ranking-row{display:flex;align-items:center;gap:4px;border:1px solid #bfd8f2;background:#f1f7fe;border-radius:10px;padding:0 6px}
.ranking-row .ranking-slot{flex:1;min-width:0;border:0;background:transparent;padding-left:4px;padding-right:4px;gap:8px}
.ranking-row .ranking-slot:hover{transform:none}
.ranking-row .ranking-slot-icon{width:24px;height:24px;flex-basis:24px}
.ranking-row .reorder-actions{display:grid;gap:1px;flex:none}
.reorder-actions button{width:30px;height:32px;border:0;border-radius:6px;background:transparent;color:#1d62ad;font-size:19px;cursor:pointer}
.reorder-actions button:hover:not(:disabled){background:#dceafe}
.reorder-actions button:disabled{opacity:.25;cursor:default}
.ranking-row.reorder-ghost{display:flex}
@media(max-width:620px){.source-ordering[data-reorder-list] li,.reorder-ghost:not(.ranking-row){grid-template-columns:26px 27px minmax(0,1fr) 69px;gap:5px;padding:9px 7px}.reorder-handle{width:26px}.source-ordering[data-reorder-list] .source-order-number{width:27px;height:27px}.source-ordering[data-reorder-list] .source-order-actions button{width:32px;height:40px}.ranking-row .ranking-number{width:28px;height:28px;flex-basis:28px;font-size:13px}.ranking-row .ranking-slot-copy strong{font-size:14px}.ranking-row .ranking-slot{padding-top:10px;padding-bottom:10px}.ranking-row .ranking-slot-copy small{font-size:10px}}
@media(prefers-reduced-motion:reduce){.reorder-ghost{transform:none}.reorder-handle{transition:none}}
@media print{.reorder-ghost{display:none!important}}
